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 int DEFAULT_LISTEN_PORT
           
static int THRIFT_SERVER_SOCKET_READ_TIMEOUT_DEFAULT
           
static 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.
 
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 int DEFAULT_LISTEN_PORT
See Also:
Constant Field Values

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
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 © 2007–2016 The Apache Software Foundation. All rights reserved.