public class TestClientNoCluster
extends Configured
| Modifier and Type | Field and Description |
|---|---|
static ServerName |
META_SERVERNAME |
| Constructor and Description |
|---|
TestClientNoCluster() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Run a client instance against a faked up server.
|
int |
run(java.lang.String[] arg0) |
void |
setUp() |
void |
testConnectionClosedOnRegionLocate() |
void |
testDoNotRetryMetaScanner() |
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 ServerName META_SERVERNAME
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testTimeoutAndRetries()
throws java.io.IOException
java.io.IOExceptionpublic void testRpcTimeout()
throws java.io.IOException
java.io.IOExceptionpublic void testDoNotRetryMetaScanner()
throws java.io.IOException
java.io.IOExceptionpublic void testDoNotRetryOnScanNext()
throws java.io.IOException
java.io.IOExceptionpublic void testRegionServerStoppedOnScannerOpen()
throws java.io.IOException
java.io.IOExceptionpublic void testConnectionClosedOnRegionLocate()
throws java.io.IOException
java.io.IOExceptionpublic int run(java.lang.String[] arg0)
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
args - TODOjava.lang.Exception