Package org.apache.hadoop.hbase.wal
Class TestWALFiltering
java.lang.Object
org.apache.hadoop.hbase.wal.TestWALFiltering
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]private static final byte[]static final HBaseClassTestRuleprivate static final byte[][]private static final intprivate static final org.apache.hadoop.hbase.TableNameprivate HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidflushAllRegions(int rsId) private List<byte[]>getRegionsByServer(int rsId) private org.apache.hadoop.hbase.regionserver.HRegionServergetRegionServer(int rsId) voidsetUp()voidtearDown()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:
IOExceptionInterruptedException
-
testFlushedSequenceIdsSentToHMaster
public void testFlushedSequenceIdsSentToHMaster() throws IOException, InterruptedException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException- Throws:
IOExceptionInterruptedExceptionorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionorg.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.ServiceExceptionorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionIOException
-