public class TestFromClientSideScanExcpetion extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestFromClientSideScanExcpetion.MyHRegion |
static class |
TestFromClientSideScanExcpetion.MyHStore |
static class |
TestFromClientSideScanExcpetion.MyStoreScanner |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
protected static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestFromClientSideScanExcpetion() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testClientScannerIsResetWhenScanThrowsIOException()
Tests the case where a Scan can throw an IOException in the middle of the seek / reseek leaving
the server side RegionScanner to be in dirty state.
|
void |
testScannerFailsAfterRetriesWhenCoprocessorThrowsIOE()
Tests the case where a coprocessor throws a regular IOException in the scan.
|
void |
testScannerThrowsExceptionWhenCoprocessorThrowsDNRIOE()
Tests the case where a coprocessor throws a DoNotRetryIOException in the scan.
|
public static final HBaseClassTestRule CLASS_RULE
protected static final HBaseTestingUtility TEST_UTIL
public org.junit.rules.TestName name
public TestFromClientSideScanExcpetion()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testClientScannerIsResetWhenScanThrowsIOException() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testScannerThrowsExceptionWhenCoprocessorThrowsDNRIOE() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testScannerFailsAfterRetriesWhenCoprocessorThrowsIOE() throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2007–2019 Cloudera. All rights reserved.