Package org.apache.hadoop.hbase.wal
Class TestWALFiltering
java.lang.Object
org.apache.hadoop.hbase.wal.TestWALFiltering
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final byte[]
private static final byte[]
static final HBaseClassTestRule
private static final byte[][]
private static final int
private static final org.apache.hadoop.hbase.TableName
private HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
flushAllRegions
(int rsId) private List<byte[]>
getRegionsByServer
(int rsId) private org.apache.hadoop.hbase.regionserver.HRegionServer
getRegionServer
(int rsId) void
setUp()
void
tearDown()
void
-
Field Details
-
CLASS_RULE
-
NUM_RS
- See Also:
-
TABLE_NAME
-
CF1
-
CF2
-
FAMILIES
-
TEST_UTIL
-
-
Constructor Details
-
TestWALFiltering
public TestWALFiltering()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
fillTable
- Throws:
IOException
InterruptedException
-
testFlushedSequenceIdsSentToHMaster
public void testFlushedSequenceIdsSentToHMaster() throws IOException, InterruptedException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException- Throws:
IOException
InterruptedException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
-
getRegionsByServer
- Throws:
IOException
-
getRegionServer
-
flushAllRegions
private void flushAllRegions(int rsId) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, IOException - Throws:
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
IOException
-