Class TestRecoverStandbyProcedure
java.lang.Object
org.apache.hadoop.hbase.replication.master.TestRecoverStandbyProcedure
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private static final byte[]
private static org.apache.hadoop.fs.FileSystem
private static final org.slf4j.Logger
private static final String
private static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>
private static final byte[]
private static final org.apache.hadoop.hbase.client.RegionInfo
private static final int
private static final int
private static org.apache.hadoop.hbase.master.replication.SyncReplicationReplayWALManager
private static final org.apache.hadoop.hbase.TableName
private static final long
private static final HBaseTestingUtil
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
private org.apache.hadoop.hbase.wal.WAL.Entry
createWALEntry
(byte[] row, byte[] value) void
static void
private void
private List<org.apache.hadoop.hbase.wal.WAL.Entry>
setupWALEntries
(int startRow, int endRow) void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
tableName
-
regionInfo
-
family
-
qualifier
-
timestamp
-
ROW_COUNT
- See Also:
-
WAL_NUMBER
- See Also:
-
RS_NUMBER
- See Also:
-
PEER_ID
- See Also:
-
UTIL
-
syncReplicationReplayWALManager
private static org.apache.hadoop.hbase.master.replication.SyncReplicationReplayWALManager syncReplicationReplayWALManager -
procExec
private static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> procExec -
fs
-
conf
-
-
Constructor Details
-
TestRecoverStandbyProcedure
public TestRecoverStandbyProcedure()
-
-
Method Details
-
setupCluster
- Throws:
Exception
-
cleanupTest
- Throws:
Exception
-
setupBeforeTest
- Throws:
IOException
-
tearDownAfterTest
- Throws:
IOException
-
testRecoverStandby
public void testRecoverStandby() throws IOException, org.apache.hadoop.hbase.util.CommonFSUtils.StreamLacksCapabilityException- Throws:
IOException
org.apache.hadoop.hbase.util.CommonFSUtils.StreamLacksCapabilityException
-
setupSyncReplicationWALs
private void setupSyncReplicationWALs() throws IOException, org.apache.hadoop.hbase.util.CommonFSUtils.StreamLacksCapabilityException- Throws:
IOException
org.apache.hadoop.hbase.util.CommonFSUtils.StreamLacksCapabilityException
-
setupWALEntries
-
createWALEntry
-