public class TestScannerTimeout extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private static int |
NB_ROWS |
private static int |
SCANNER_CACHING |
private static int |
SCANNER_TIMEOUT |
private static byte[] |
SOME_BYTES |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
private static int |
THREAD_WAKE_FREQUENCY |
Constructor and Description |
---|
TestScannerTimeout() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
test2772()
Test that scanner can continue even if the region server it was reading from failed.
|
void |
test3686a()
Test that scanner won't miss any rows if the region server it was reading from failed.
|
void |
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.
|
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final org.slf4j.Logger LOG
private static final byte[] SOME_BYTES
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final int NB_ROWS
private static final int THREAD_WAKE_FREQUENCY
private static final int SCANNER_TIMEOUT
private static final int SCANNER_CACHING
public TestScannerTimeout()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void test2772() throws Exception
Exception
public void test3686a() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.