Package org.apache.hadoop.hbase.client
Class TestScannerTimeout
java.lang.Object
org.apache.hadoop.hbase.client.TestScannerTimeout
Test various scanner timeout issues.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerprivate static final intprivate static final intprivate static final intprivate static final byte[]private static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtilityprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()static voidstatic voidvoidtest2772()Test that scanner can continue even if the region server it was reading from failed.voidTest that scanner won't miss any rows if the region server it was reading from failed.voidMake sure that no rows are lost if the scanner timeout is longer on the client than the server, and the scan times out on the server but not the client.
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
LOG
-
SOME_BYTES
-
TABLE_NAME
-
NB_ROWS
- See Also:
-
THREAD_WAKE_FREQUENCY
- See Also:
-
SCANNER_TIMEOUT
- See Also:
-
SCANNER_CACHING
- See Also:
-
-
Constructor Details
-
TestScannerTimeout
public TestScannerTimeout()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
test2772
Test that scanner can continue even if the region server it was reading from failed. Before 2772, it reused the same scanner id.- Throws:
Exception
-
test3686a
Test that scanner won't miss any rows if the region server it was reading from failed. Before 3686, it would skip rows in the scan.- Throws:
Exception
-
test3686b
Make sure that no rows are lost if the scanner timeout is longer on the client than the server, and the scan times out on the server but not the client.- Throws:
Exception
-