abstract class TBinaryFrontendService extends TFrontendService with Iface with Runnable with Logging
Apache Thrift based hive service rpc
- the server side implementation serves client-server rpc calls 2. the engine side implementations serve server-engine rpc calls
- Alphabetic
- By Inheritance
- TBinaryFrontendService
- TFrontendService
- Runnable
- Iface
- AbstractFrontendService
- FrontendService
- CompositeService
- AbstractService
- Logging
- Service
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TBinaryFrontendService(name: String)
Type Members
-
class
FeTServerEventHandler extends TServerEventHandler
- Definition Classes
- TFrontendService
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
val
serverable: Serverable
A interface of Serverable, e.g.
A interface of Serverable, e.g. Server/Engines for FrontendService to call
- Definition Classes
- FrontendService
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
- Definition Classes
- TBinaryFrontendService → TFrontendService
-
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
- Definition Classes
- TFrontendService
-
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
- Definition Classes
- TFrontendService
-
def
getName: String
Get the name of this service.
-
def
getProxyUser(sessionConf: Map[String, String], ipAddress: String, realUser: String): String
- Attributes
- protected
- Definition Classes
- TFrontendService
-
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
- Definition Classes
- TFrontendService
-
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
- Definition Classes
- TFrontendService
- 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
- Definition Classes
- TFrontendService
-
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
- TBinaryFrontendService → 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
- Definition Classes
- TFrontendService
-
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
- Definition Classes
- TFrontendService
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
lazy val
portNum: Int
- Attributes
- protected
- Definition Classes
- TBinaryFrontendService → TFrontendService
-
def
run(): Unit
- Definition Classes
- TBinaryFrontendService → Runnable
-
var
server: Option[TServer]
- Attributes
- protected
-
lazy val
serverAddr: InetAddress
- Attributes
- protected
- Definition Classes
- TFrontendService
-
final
lazy val
serverHost: Option[String]
- Attributes
- protected
- Definition Classes
- TBinaryFrontendService → TFrontendService
- Note
this is final because we don't want new implementations for engine to override this. and we shall simply set it to zero for randomly picking an available port
-
lazy val
serverSocket: ServerSocket
- Attributes
- protected
- Definition Classes
- TFrontendService
-
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
-
def
stopServer(): Unit
- Attributes
- protected
- Definition Classes
- TBinaryFrontendService → TFrontendService
-
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