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