public class TestReplicationStatus extends TestReplicationBase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private static String |
PEER_ID |
admin, CONF_WITH_LOCALFS, conf1, conf2, famName, hbaseAdmin, htable1, htable2, NB_RETRIES, NB_ROWS_IN_BATCH, NB_ROWS_IN_BIG_BATCH, noRepfamName, PEER_ID2, row, scopes, SLEEP_TIME, tableName, utility1, utility2, zkw1, zkw2
Constructor and Description |
---|
TestReplicationStatus() |
Modifier and Type | Method and Description |
---|---|
void |
testReplicationStatus()
Test for HBASE-9531
put a few rows into htable1, which should be replicated to htable2
create a ClusterStatus instance 'status' from HBaseAdmin
test : status.getLoad(server).getReplicationLoadSourceList()
test : status.getLoad(server).getReplicationLoadSink()
* @throws Exception
|
cleanUp, isSerialPeer, loadData, loadData, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, setUpBeforeClass, tearDownAfterClass, tearDownBase, waitForReplication
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final String PEER_ID
public TestReplicationStatus()
public void testReplicationStatus() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.