org.apache.hadoop.hbase.thrift2
Class ThriftServer

java.lang.Object
  extended by 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.


Field Summary
static String DEFAULT_LISTEN_PORT
           
 
Constructor Summary
ThriftServer()
           
 
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
 

Field Detail

DEFAULT_LISTEN_PORT

public static final String DEFAULT_LISTEN_PORT
See Also:
Constant Field Values
Constructor Detail

ThriftServer

public ThriftServer()
Method Detail

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.