Search in sources :

Example 1 with ReplicationChecker

use of org.apache.hadoop.hbase.util.hbck.ReplicationChecker in project hbase by apache.

the class HBaseFsck method checkAndFixReplication.

private void checkAndFixReplication() throws ReplicationException {
    ReplicationChecker checker = new ReplicationChecker(getConf(), zkw, errors);
    checker.checkUnDeletedQueues();
    if (checker.hasUnDeletedQueues() && this.fixReplication) {
        checker.fixUnDeletedQueues();
        setShouldRerun();
    }
}
Also used : ReplicationChecker(org.apache.hadoop.hbase.util.hbck.ReplicationChecker)

Aggregations

ReplicationChecker (org.apache.hadoop.hbase.util.hbck.ReplicationChecker)1