Package org.apache.hadoop.hbase.thrift
Class TestThriftHttpServer
java.lang.Object
org.apache.hadoop.hbase.thrift.TestThriftHttpServer
- Direct Known Subclasses:
TestThrift2HttpServer
,TestThriftSpnegoHttpFallbackServer
,TestThriftSpnegoHttpServer
Start the HBase Thrift HTTP server on a random port through the command-line interface and talk
to it from client side.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
org.junit.rules.ExpectedException
private static final org.slf4j.Logger
protected static boolean
protected static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkHttpMethods
(String url) protected Supplier<org.apache.hadoop.hbase.thrift.ThriftServer>
(package private) void
runThriftServer
(int customHeaderSize) static void
protected void
talkToThriftServer
(String url, int customHeaderSize) static void
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
exception
-
tableCreated
-
-
Constructor Details
-
TestThriftHttpServer
public TestThriftHttpServer()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testExceptionThrownWhenMisConfigured
- Throws:
IOException
-
testRunThriftServerWithHeaderBufferLength
- Throws:
Exception
-
getThriftServerSupplier
-
testRunThriftServer
- Throws:
Exception
-
runThriftServer
- Throws:
Exception
-
checkHttpMethods
- Throws:
Exception
-
talkToThriftServer
- Throws:
Exception
-