org.apache.hadoop.hbase.thrift
Class ThriftServerRunner

java.lang.Object
  extended by org.apache.hadoop.hbase.thrift.ThriftServerRunner
All Implemented Interfaces:
Runnable

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.


Nested Class Summary
static class ThriftServerRunner.HBaseHandler
          The HBaseHandler is a glue object that connects Thrift RPC calls to the HBase client API primarily defined in the HBaseAdmin and HTable objects.
 
Field Summary
static int DEFAULT_LISTEN_PORT
           
 
Constructor Summary
ThriftServerRunner(org.apache.hadoop.conf.Configuration conf)
           
ThriftServerRunner(org.apache.hadoop.conf.Configuration conf, ThriftServerRunner.HBaseHandler handler)
           
 
Method Summary
static void registerFilters(org.apache.hadoop.conf.Configuration conf)
           
 void run()
           
 void shutdown()
           
 
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
Constructor Detail

ThriftServerRunner

public ThriftServerRunner(org.apache.hadoop.conf.Configuration conf)
                   throws IOException
Throws:
IOException

ThriftServerRunner

public ThriftServerRunner(org.apache.hadoop.conf.Configuration conf,
                          ThriftServerRunner.HBaseHandler handler)
Method Detail

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 © 2013 The Apache Software Foundation. All Rights Reserved.