org.apache.hadoop.hbase.thrift
Class ThriftServerRunner
java.lang.Object
org.apache.hadoop.hbase.thrift.ThriftServerRunner
- All Implemented Interfaces:
- Runnable
@InterfaceAudience.Private
public class ThriftServerRunner
- extends Object
- implements Runnable
ThriftServerRunner - this class starts up a Thrift server which implements
the Hbase API specified in the Hbase.thrift IDL file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THRIFT_SERVER_SOCKET_READ_TIMEOUT_KEY
public static final String THRIFT_SERVER_SOCKET_READ_TIMEOUT_KEY
- Amount of time in milliseconds before a server thread will timeout
waiting for client to send data on a connected socket. Currently,
applies only to TBoundedThreadPoolServer
- See Also:
- Constant Field Values
THRIFT_SERVER_SOCKET_READ_TIMEOUT_DEFAULT
public static final int THRIFT_SERVER_SOCKET_READ_TIMEOUT_DEFAULT
- See Also:
- Constant Field Values
DEFAULT_LISTEN_PORT
public static final int DEFAULT_LISTEN_PORT
- See Also:
- Constant Field Values
ThriftServerRunner
public ThriftServerRunner(org.apache.hadoop.conf.Configuration conf)
throws IOException
- Throws:
IOException
run
public void run()
- Specified by:
run
in interface Runnable
shutdown
public void shutdown()
registerFilters
public static void registerFilters(org.apache.hadoop.conf.Configuration conf)
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.