Package org.apache.hadoop.hbase.replication.ReplicationEndpoint

Examples of org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext


    //load some data to primary
    HTU.loadNumericRows(table, f, 0, 1000);

    Assert.assertEquals(1000, entries.size());
    // replay the edits to the secondary using replay callable
    replicator.replicate(new ReplicateContext().setEntries(Lists.newArrayList(entries)));

    HRegion region = rs0.getFromOnlineRegions(hriSecondary.getEncodedName());
    HTU.verifyNumericRows(region, f, 0, 1000);

    HTU.deleteNumericRows(table, f, 0, 1000);
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext

Copyright © 2018 www.massapicom. 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.