Class TestRegionReplicationForSkipWAL
java.lang.Object
org.apache.hadoop.hbase.regionserver.regionreplication.TestRegionReplicationForSkipWAL
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static final byte[]
private static final byte[]
private static final byte[]
private static final byte[]
private static final byte[]
private static final HBaseTestingUtil
private static final int
private static final byte[]
private static final byte[]
private static final byte[]
private static final byte[]
private static final byte[]
private static final byte[]
private static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
checkReplica
(org.apache.hadoop.hbase.client.Table table, byte[] fam, byte[] qual, byte[] rowKey, byte[] expectValue) private org.apache.hadoop.hbase.regionserver.HRegion[]
createTable
(boolean skipWAL) private org.apache.hadoop.hbase.TableName
getTableName
(boolean skipWAL) static void
setUp()
static void
tearDown()
void
This test is for HBASE-26933,make the new region replication framework introduced by HBASE-26233 work for table which DURABILITY is Durability.SKIP_WAL.
-
Field Details
-
CLASS_RULE
-
FAM1
-
QUAL1
-
FAM2
-
QUAL2
-
FAM3
-
QUAL3
-
FAM4
-
QUAL4
-
FAM5
-
QUAL5
-
FAM6
-
QUAL6
-
HTU
-
NB_SERVERS
- See Also:
-
strTableName
- See Also:
-
-
Constructor Details
-
TestRegionReplicationForSkipWAL
public TestRegionReplicationForSkipWAL()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testReplicateToReplicaWhenSkipWAL
This test is for HBASE-26933,make the new region replication framework introduced by HBASE-26233 work for table which DURABILITY is Durability.SKIP_WAL.- Throws:
Exception
-
checkReplica
private static boolean checkReplica(org.apache.hadoop.hbase.client.Table table, byte[] fam, byte[] qual, byte[] rowKey, byte[] expectValue) throws IOException - Throws:
IOException
-
getTableName
-
createTable
private org.apache.hadoop.hbase.regionserver.HRegion[] createTable(boolean skipWAL) throws Exception - Throws:
Exception
-