Search in sources :

Example 1 with ConfigurationManager

use of org.apache.hadoop.hbase.conf.ConfigurationManager in project hbase by apache.

the class TestRegionNormalizerManagerConfigurationObserver method before.

@Before
public void before() {
    MockitoAnnotations.initMocks(this);
    conf = testUtil.getConfiguration();
    normalizer = new SimpleRegionNormalizer();
    worker = new RegionNormalizerWorker(conf, masterServices, normalizer, queue);
    final RegionNormalizerManager normalizerManager = new RegionNormalizerManager(tracker, chore, queue, worker);
    configurationManager = new ConfigurationManager();
    configurationManager.registerObserver(normalizerManager);
}
Also used : ConfigurationManager(org.apache.hadoop.hbase.conf.ConfigurationManager) Before(org.junit.Before)

Aggregations

ConfigurationManager (org.apache.hadoop.hbase.conf.ConfigurationManager)1 Before (org.junit.Before)1