@InterfaceAudience.LimitedPrivate(value="Tools") public class ThriftServer extends ThriftServer
| Modifier and Type | Field and Description | 
|---|---|
| private static org.slf4j.Logger | log | 
conf, doAsEnabled, hbaseServiceHandler, host, httpEnabled, httpServer, httpUGI, infoServer, listenPort, metrics, pauseMonitor, processor, qop, securityEnabled, serviceUGI, tserver| Constructor and Description | 
|---|
| ThriftServer(org.apache.hadoop.conf.Configuration conf) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.Options options)Add options to command lines | 
| protected HBaseServiceHandler | createHandler(org.apache.hadoop.conf.Configuration conf,
             UserProvider userProvider) | 
| protected org.apache.thrift.TProcessor | createProcessor() | 
| protected ThriftMetrics | createThriftMetrics(org.apache.hadoop.conf.Configuration conf) | 
| static void | main(String[] args)Start up the Thrift2 server. | 
| protected void | parseCommandLine(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd,
                org.apache.hbase.thirdparty.org.apache.commons.cli.Options options) | 
| protected void | printUsageAndExit(org.apache.hbase.thirdparty.org.apache.commons.cli.Options options,
                 int exitCode) | 
checkHttpSecurity, createExecutor, createTServlet, getBindAddress, getHttpServer, getProtocolFactory, getTHsHaServer, getTNonBlockingServer, getTserver, getTThreadedSelectorServer, getTThreadPoolServer, optionToConf, processOptions, registerFilters, run, run, setupHTTPServer, setupParamters, setupServer, startInfoServer, stopprivate static final org.slf4j.Logger log
public ThriftServer(org.apache.hadoop.conf.Configuration conf)
protected void printUsageAndExit(org.apache.hbase.thirdparty.org.apache.commons.cli.Options options, int exitCode) throws org.apache.hadoop.util.Shell.ExitCodeException
printUsageAndExit in class ThriftServerorg.apache.hadoop.util.Shell.ExitCodeExceptionprotected HBaseServiceHandler createHandler(org.apache.hadoop.conf.Configuration conf, UserProvider userProvider) throws IOException
createHandler in class ThriftServerIOExceptionprotected ThriftMetrics createThriftMetrics(org.apache.hadoop.conf.Configuration conf)
createThriftMetrics in class ThriftServerprotected org.apache.thrift.TProcessor createProcessor()
createProcessor in class ThriftServerprotected void addOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.Options options)
ThriftServeraddOptions in class ThriftServeroptions - optionsprotected void parseCommandLine(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd, org.apache.hbase.thirdparty.org.apache.commons.cli.Options options) throws org.apache.hadoop.util.Shell.ExitCodeException
parseCommandLine in class ThriftServerorg.apache.hadoop.util.Shell.ExitCodeExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.