public ActiveMasterManager getActiveMasterManager() {
    return activeMasterManager;
  }
This method modifies the master's configuration in order to inject replication-related features
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java