protected void initSource() {
    source = CompatibilitySingletonFactory.getInstance(MetricsBalancerSource.class);
  }
A function to instantiate the metrics source. This function can be overridden in its subclasses
to provide extended sources
hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/MetricsBalancer.java