abstract class TFrontendService extends AbstractFrontendService with Iface with Runnable with Logging
Apache Thrift based hive-service-rpc base class
- http 2. binary
- Alphabetic
- By Inheritance
- TFrontendService
- Runnable
- Iface
- AbstractFrontendService
- FrontendService
- CompositeService
- AbstractService
- Logging
- Service
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TFrontendService(name: String)
Type Members
- class FeTServerEventHandler extends TServerEventHandler
Abstract Value Members
-
abstract
val
discoveryService: Option[Service]
An optional
ServiceDiscoveryfor FrontendService to expose itselfAn optional
ServiceDiscoveryfor FrontendService to expose itself- Definition Classes
- FrontendService
-
abstract
def
portNum: Int
- Attributes
- protected
-
abstract
def
run(): Unit
- Definition Classes
- Runnable
-
abstract
def
serverHost: Option[String]
- Attributes
- protected
-
abstract
val
serverable: Serverable
A interface of Serverable, e.g.
A interface of Serverable, e.g. Server/Engines for FrontendService to call
- Definition Classes
- FrontendService
-
abstract
def
stopServer(): Unit
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
CancelDelegationToken(req: TCancelDelegationTokenReq): TCancelDelegationTokenResp
- Definition Classes
- TFrontendService → Iface
-
def
CancelOperation(req: TCancelOperationReq): TCancelOperationResp
- Definition Classes
- TFrontendService → Iface
-
def
CloseOperation(req: TCloseOperationReq): TCloseOperationResp
- Definition Classes
- TFrontendService → Iface
-
def
CloseSession(req: TCloseSessionReq): TCloseSessionResp
- Definition Classes
- TFrontendService → Iface
-
def
ExecuteStatement(req: TExecuteStatementReq): TExecuteStatementResp
- Definition Classes
- TFrontendService → Iface
-
def
FetchResults(req: TFetchResultsReq): TFetchResultsResp
- Definition Classes
- TFrontendService → Iface
-
def
GetCatalogs(req: TGetCatalogsReq): TGetCatalogsResp
- Definition Classes
- TFrontendService → Iface
-
def
GetColumns(req: TGetColumnsReq): TGetColumnsResp
- Definition Classes
- TFrontendService → Iface
-
def
GetCrossReference(req: TGetCrossReferenceReq): TGetCrossReferenceResp
- Definition Classes
- TFrontendService → Iface
-
def
GetDelegationToken(req: TGetDelegationTokenReq): TGetDelegationTokenResp
- Definition Classes
- TFrontendService → Iface
-
def
GetFunctions(req: TGetFunctionsReq): TGetFunctionsResp
- Definition Classes
- TFrontendService → Iface
-
def
GetInfo(req: TGetInfoReq): TGetInfoResp
- Definition Classes
- TFrontendService → Iface
-
def
GetOperationStatus(req: TGetOperationStatusReq): TGetOperationStatusResp
- Definition Classes
- TFrontendService → Iface
-
def
GetPrimaryKeys(req: TGetPrimaryKeysReq): TGetPrimaryKeysResp
- Definition Classes
- TFrontendService → Iface
-
def
GetQueryId(req: TGetQueryIdReq): TGetQueryIdResp
- Definition Classes
- TFrontendService → Iface
-
def
GetResultSetMetadata(req: TGetResultSetMetadataReq): TGetResultSetMetadataResp
- Definition Classes
- TFrontendService → Iface
-
def
GetSchemas(req: TGetSchemasReq): TGetSchemasResp
- Definition Classes
- TFrontendService → Iface
-
def
GetTableTypes(req: TGetTableTypesReq): TGetTableTypesResp
- Definition Classes
- TFrontendService → Iface
-
def
GetTables(req: TGetTablesReq): TGetTablesResp
- Definition Classes
- TFrontendService → Iface
-
def
GetTypeInfo(req: TGetTypeInfoReq): TGetTypeInfoResp
- Definition Classes
- TFrontendService → Iface
-
def
OpenSession(req: TOpenSessionReq): TOpenSessionResp
- Definition Classes
- TFrontendService → Iface
-
def
RenewDelegationToken(req: TRenewDelegationTokenReq): TRenewDelegationTokenResp
- Definition Classes
- TFrontendService → Iface
-
def
SetClientInfo(req: TSetClientInfoReq): TSetClientInfoResp
- Definition Classes
- TFrontendService → Iface
-
lazy val
actualPort: Int
- Attributes
- protected
-
def
addService(service: Service): Unit
- Attributes
- protected
- Definition Classes
- CompositeService
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attributes: Map[String, String]
Attributes map for FrontendService to expose
Attributes map for FrontendService to expose
- Definition Classes
- FrontendService
-
lazy val
authFactory: KyuubiAuthenticationFactory
- Attributes
- protected
-
final
def
be: BackendService
A interface of BackendService, e.g.
A interface of BackendService, e.g. Server/Engines for FrontendService to call
- Definition Classes
- FrontendService
-
def
checkInitialized(): Unit
- Attributes
- protected
- Definition Classes
- AbstractFrontendService
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
var
conf: KyuubiConf
- Attributes
- protected
- Definition Classes
- AbstractService
-
def
connectionUrl: String
The connection url for client to connect
The connection url for client to connect
- Definition Classes
- TFrontendService → FrontendService
-
def
debug(message: ⇒ Any, t: Throwable): Unit
- Definition Classes
- Logging
-
def
debug(message: ⇒ Any): Unit
- Definition Classes
- Logging
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(message: ⇒ Any): Unit
- Definition Classes
- Logging
-
def
error(message: ⇒ Any, t: Throwable): Unit
- Definition Classes
- Logging
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getConf: KyuubiConf
Get the configuration of this service.
Get the configuration of this service. This is normally not a clone and may be manipulated, though there are no guarantees as to what the consequences of such actions may be
- returns
the current configuration, unless a specific implementation chooses otherwise.
- Definition Classes
- AbstractService → Service
-
def
getIpAddress: String
- Attributes
- protected
-
def
getName: String
Get the name of this service.
-
def
getProxyUser(sessionConf: Map[String, String], ipAddress: String, realUser: String): String
- Attributes
- protected
-
def
getRealUserAndSessionUser(req: TOpenSessionReq): (String, String)
Get the real user and the session user.
Get the real user and the session user. The real user is the user used for session authentication. The session user is the proxy user if proxy user is provided, otherwise is the real user.
- Attributes
- protected
-
def
getServiceState: ServiceState
Get the current service state
Get the current service state
- returns
the state of the service
- Definition Classes
- AbstractService → Service
-
def
getServices: Seq[Service]
- Definition Classes
- CompositeService
-
def
getSessionHandle(req: TOpenSessionReq, res: TOpenSessionResp): SessionHandle
- Attributes
- protected
- Annotations
- @throws( ... )
-
def
getStartTime: Long
Get the service start time
Get the service start time
- returns
the start time of the service. This will be zero if the service has not yet been started.
- Definition Classes
- AbstractService → Service
-
def
hadoopConf: Configuration
- Attributes
- protected
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
info(message: ⇒ Any, t: Throwable): Unit
- Definition Classes
- Logging
-
def
info(message: ⇒ Any): Unit
- Definition Classes
- Logging
-
def
initialize(conf: KyuubiConf): Unit
Initialize the service.
Initialize the service.
The transition must be from LATENTto INITIALIZED unless the operation failed and an exception was raised.
- conf
the configuration of the service
- Definition Classes
- AbstractFrontendService → CompositeService → AbstractService → Service
-
def
initializeLoggerIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isServer(): Boolean
- Attributes
- protected
-
def
logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
loggerName: String
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
notSupportTokenErrorStatus: TStatus
- Attributes
- protected
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
lazy val
serverAddr: InetAddress
- Attributes
- protected
-
lazy val
serverSocket: ServerSocket
- Attributes
- protected
-
def
start(): Unit
Start the service itself(FE) and its composited (Discovery service, DS) in the order of: Start FE -> if (success) -> Continue starting DS if (success) -> finish else -> Stop DS -> Raise Error -> Stop FE -> Raise Error else Raise Error -> Stop FE -> Raise Error This makes sure that the FE has started and ready to serve before exposing through DS.
Start the service itself(FE) and its composited (Discovery service, DS) in the order of: Start FE -> if (success) -> Continue starting DS if (success) -> finish else -> Stop DS -> Raise Error -> Stop FE -> Raise Error else Raise Error -> Stop FE -> Raise Error This makes sure that the FE has started and ready to serve before exposing through DS.
- Definition Classes
- TFrontendService → CompositeService → AbstractService → Service
-
var
startTime: Long
- Attributes
- protected
- Definition Classes
- AbstractService
-
var
state: ServiceState
- Attributes
- protected
- Definition Classes
- AbstractService
-
def
stop(): Unit
Stop the service itself(FE) and its composited (Discovery service, DS) in the order of: Stop DS -> Stop FE This makes sure of
Stop the service itself(FE) and its composited (Discovery service, DS) in the order of: Stop DS -> Stop FE This makes sure of
- The service stop serving before terminating during stopping 2. For engines with group share level, the DS stopping is invoked by a pool in FE, so we need to stop DS first in case of interrupting.
- Definition Classes
- TFrontendService → CompositeService → AbstractService → Service
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
warn(message: ⇒ Any, t: Throwable): Unit
- Definition Classes
- Logging
-
def
warn(message: ⇒ Any): Unit
- Definition Classes
- Logging