org.apache.hadoop.hbase.thrift2
Class ThriftServer
java.lang.Object
org.apache.hadoop.hbase.thrift2.ThriftServer
@InterfaceAudience.Private
public class ThriftServer
- extends Object
ThriftServer - this class starts up a Thrift server which implements the HBase API specified in the
HbaseClient.thrift IDL file.
Method Summary |
static void |
main(String[] args)
Start up the Thrift2 server. |
protected static void |
registerFilters(org.apache.hadoop.conf.Configuration conf)
Adds the option to pre-load filters at startup. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_LISTEN_PORT
public static final String DEFAULT_LISTEN_PORT
- See Also:
- Constant Field Values
ThriftServer
public ThriftServer()
registerFilters
protected static void registerFilters(org.apache.hadoop.conf.Configuration conf)
- Adds the option to pre-load filters at startup.
- Parameters:
conf
- The current configuration instance.
main
public static void main(String[] args)
throws Exception
- Start up the Thrift2 server.
- Parameters:
args
-
- Throws:
Exception
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.