public class TestClientNoCluster extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
static ServerName |
META_SERVERNAME |
| Constructor and Description |
|---|
TestClientNoCluster() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Run a client instance against a faked up server.
|
int |
run(String[] arg0) |
void |
setUp() |
void |
testConnectionClosedOnRegionLocate() |
void |
testDoNotRetryMetaTableAccessor() |
void |
testDoNotRetryOnScanNext() |
void |
testRegionServerStoppedOnScannerOpen() |
void |
testRpcTimeout()
Test that operation timeout prevails over rpc default timeout and retries, etc.
|
void |
testTimeoutAndRetries()
Remove the @Ignore to try out timeout and retry asettings
|
public static final HBaseClassTestRule CLASS_RULE
public static final ServerName META_SERVERNAME
public TestClientNoCluster()
public void testTimeoutAndRetries() throws IOException
IOExceptionpublic void testRpcTimeout() throws IOException
IOExceptionpublic void testDoNotRetryMetaTableAccessor() throws IOException
IOExceptionpublic void testDoNotRetryOnScanNext() throws IOException
IOExceptionpublic void testRegionServerStoppedOnScannerOpen() throws IOException
IOExceptionpublic void testConnectionClosedOnRegionLocate() throws IOException
IOExceptionpublic int run(String[] arg0) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionCopyright © 2007–2019 Cloudera. All rights reserved.