public class TestThriftServerCmdLine extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private Exception |
clientSideException |
private Exception |
cmdLineException |
private Thread |
cmdLineThread |
private org.apache.hadoop.hbase.thrift.ThriftServerRunner.ImplType |
implType |
private static org.slf4j.Logger |
LOG |
private int |
port |
private boolean |
specifyBindIP |
private boolean |
specifyCompact |
private boolean |
specifyFramed |
private static boolean |
tableCreated |
private static HBaseTestingUtility |
TEST_UTIL |
private org.apache.hadoop.hbase.thrift.ThriftServer |
thriftServer |
Constructor and Description |
---|
TestThriftServerCmdLine(org.apache.hadoop.hbase.thrift.ThriftServerRunner.ImplType implType,
boolean specifyFramed,
boolean specifyBindIP,
boolean specifyCompact) |
Modifier and Type | Method and Description |
---|---|
static Collection<Object[]> |
getParameters() |
private String |
getParametersString() |
static void |
setUpBeforeClass() |
private void |
startCmdLineThread(String[] args) |
private void |
stopCmdLineThread() |
private void |
talkToThriftServer() |
static void |
tearDownAfterClass() |
void |
testRunThriftServer() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private final org.apache.hadoop.hbase.thrift.ThriftServerRunner.ImplType implType
private boolean specifyFramed
private boolean specifyBindIP
private boolean specifyCompact
private static final HBaseTestingUtility TEST_UTIL
private Thread cmdLineThread
private volatile Exception cmdLineException
private Exception clientSideException
private org.apache.hadoop.hbase.thrift.ThriftServer thriftServer
private int port
private static volatile boolean tableCreated
public TestThriftServerCmdLine(org.apache.hadoop.hbase.thrift.ThriftServerRunner.ImplType implType, boolean specifyFramed, boolean specifyBindIP, boolean specifyCompact)
public static Collection<Object[]> getParameters()
private String getParametersString()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
private void startCmdLineThread(String[] args)
public void testRunThriftServer() throws Exception
Exception
private void talkToThriftServer() throws Exception
Exception
private void stopCmdLineThread() throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.