Package org.apache.hadoop.hbase.client
Class TestScannerTimeout
java.lang.Object
org.apache.hadoop.hbase.client.TestScannerTimeout
Test various scanner timeout issues.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
private static final int
private static final int
private static final int
private static final byte[]
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtility
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUp()
static void
static void
void
test2772()
Test that scanner can continue even if the region server it was reading from failed.void
Test that scanner won't miss any rows if the region server it was reading from failed.void
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.
-
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
-