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) |
Modifier and Type | Method and Description |
---|---|
void |
constrainHttpMethods(org.eclipse.jetty.servlet.ServletContextHandler ctxHandler,
boolean allowOptionsMethod) |
protected HiveServer2TransportMode |
getTransportMode()
Transport mode of hiveserver2 thrift.
|
protected void |
initServer()
Configure Jetty to serve http requests.
|
boolean |
isHttpFilteringEnabled(HiveConf hiveConf) |
void |
run() |
protected void |
stopServer() |
CancelDelegationToken, CancelOperation, CloseOperation, CloseSession, DownloadData, ExecuteStatement, FetchResults, GetCatalogs, GetColumns, GetCrossReference, GetDelegationToken, GetFunctions, GetInfo, GetOperationStatus, getPortNumber, GetPrimaryKeys, GetQueryId, GetResultSetMetadata, GetSchemas, getServerIPAddress, GetTables, GetTableTypes, GetTypeInfo, init, OpenSession, RenewDelegationToken, SetClientInfo, start, stop, UploadData
decommission, getHiveConf, getName, getServiceState, getStartTime, register, setHiveConf, unregister
public ThriftHttpCLIService(CLIService cliService)
protected HiveServer2TransportMode getTransportMode()
ThriftCLIService
getTransportMode
in class ThriftCLIService
protected void initServer()
initServer
in class ThriftCLIService
public void run()
run
in interface Runnable
run
in class ThriftCLIService
public boolean isHttpFilteringEnabled(HiveConf hiveConf)
public void constrainHttpMethods(org.eclipse.jetty.servlet.ServletContextHandler ctxHandler, boolean allowOptionsMethod)
protected void stopServer()
stopServer
in class ThriftCLIService
Copyright © 2023 The Apache Software Foundation. All rights reserved.