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, stop
getHiveConf, getName, getServiceState, getStartTime, register, setHiveConf, unregister
public ThriftHttpCLIService(CLIService cliService, Runnable oomHook)
protected void initServer()
initServer
in class ThriftCLIService
public void run()
run
in interface Runnable
run
in class ThriftCLIService
protected void stopServer()
stopServer
in class ThriftCLIService
Copyright © 2019 The Apache Software Foundation. All rights reserved.