Examples of fixCoLocationInconsistency()


Examples of org.apache.hadoop.hbase.index.util.SecondaryIndexColocator.fixCoLocationInconsistency()

    ZKAssign.blockUntilNoRIT(zkw);
    SecondaryIndexColocator colocator = new SecondaryIndexColocator(config);
    colocator.setUp();
    boolean inconsistent = colocator.checkForCoLocationInconsistency();
    Assert.assertTrue("Inconsistency should be there before running the tool.", inconsistent);
    colocator.fixCoLocationInconsistency();

    ZKAssign.blockUntilNoRIT(zkw);

    colocator = new SecondaryIndexColocator(config);
    colocator.setUp();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.