Search in sources :

Example 1 with MetricsMaster

use of alluxio.master.metrics.MetricsMaster in project alluxio by Alluxio.

the class BlockMasterFactory method create.

@Override
public BlockMaster create(MasterRegistry registry, CoreMasterContext context) {
    LOG.info("Creating {} ", BlockMaster.class.getName());
    MetricsMaster metricsMaster = registry.get(MetricsMaster.class);
    BlockMaster master = new DefaultBlockMaster(metricsMaster, context);
    registry.add(BlockMaster.class, master);
    return master;
}
Also used : MetricsMaster(alluxio.master.metrics.MetricsMaster)

Aggregations

MetricsMaster (alluxio.master.metrics.MetricsMaster)1