public class ThriftHttpCLIService extends ThriftCLIService
Service.STATE| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.jetty.server.Server |
server |
cliService, currentServerContext, hiveAuthFactory, hiveConf, hiveHost, isEmbedded, LOG, maxWorkerThreads, minWorkerThreads, portNum, serverIPAddress, workerKeepAliveTime| Constructor and Description |
|---|
ThriftHttpCLIService(CLIService cliService,
Runnable oomHook) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initServer()
Configure Jetty to serve http requests.
|
void |
run() |
protected void |
stopServer() |
CancelDelegationToken, CancelOperation, CloseOperation, CloseSession, ExecuteStatement, FetchResults, GetCatalogs, GetColumns, GetCrossReference, GetDelegationToken, GetFunctions, GetInfo, GetOperationStatus, getPortNumber, GetPrimaryKeys, GetQueryId, GetResultSetMetadata, GetSchemas, getServerIPAddress, GetTables, GetTableTypes, GetTypeInfo, init, OpenSession, RenewDelegationToken, SetClientInfo, start, stopgetHiveConf, getName, getServiceState, getStartTime, register, setHiveConf, unregisterpublic ThriftHttpCLIService(CLIService cliService, Runnable oomHook)
protected void initServer()
initServer in class ThriftCLIServicepublic void run()
run in interface Runnablerun in class ThriftCLIServiceprotected void stopServer()
stopServer in class ThriftCLIServiceCopyright © 2019 The Apache Software Foundation. All Rights Reserved.