@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, stop
private 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 ThriftServer
org.apache.hadoop.util.Shell.ExitCodeException
protected HBaseServiceHandler createHandler(org.apache.hadoop.conf.Configuration conf, UserProvider userProvider) throws IOException
createHandler
in class ThriftServer
IOException
protected ThriftMetrics createThriftMetrics(org.apache.hadoop.conf.Configuration conf)
createThriftMetrics
in class ThriftServer
protected org.apache.thrift.TProcessor createProcessor()
createProcessor
in class ThriftServer
protected void addOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.Options options)
ThriftServer
addOptions
in class ThriftServer
options
- 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 ThriftServer
org.apache.hadoop.util.Shell.ExitCodeException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.