Packages

c

org.apache.hive.service.cli.session

HiveSessionImplwithUGI

class HiveSessionImplwithUGI extends HiveSessionImpl

HiveSessionImplwithUGI. HiveSession with connecting user's UGI and delegation token if required

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HiveSessionImplwithUGI
  2. HiveSessionImpl
  3. HiveSession
  4. HiveSessionBase
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HiveSessionImplwithUGI(protocol: TProtocolVersion, username: String, password: String, hiveConf: HiveConf, ipAddress: String, delegationToken: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def acquire(userAccess: Boolean): Unit
    Attributes
    protected[session]
    Definition Classes
    HiveSessionImplwithUGIHiveSessionImpl
    Annotations
    @Override()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def cancelDelegationToken(authFactory: HiveAuthFactory, tokenStr: String): Unit
    Definition Classes
    HiveSessionImplwithUGIHiveSessionImplHiveSession
    Annotations
    @Override()
  7. def cancelOperation(opHandle: OperationHandle): Unit
    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. def close(): Unit

    Close the file systems for the session and remove it from the FileSystem cache.

    Close the file systems for the session and remove it from the FileSystem cache. Cancel the session's delegation token and close the metastore connection

    Definition Classes
    HiveSessionImplwithUGIHiveSessionImplHiveSession
    Annotations
    @Override()
  10. def closeExpiredOperations(): Unit
    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
  11. def closeOperation(opHandle: OperationHandle): Unit
    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def executeStatement(statement: String, confOverlay: Map[String, String], queryTimeout: Long): OperationHandle

    execute operation handler

    execute operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  15. def executeStatement(statement: String, confOverlay: Map[String, String]): OperationHandle

    execute operation handler

    execute operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  16. def executeStatementAsync(statement: String, confOverlay: Map[String, String], queryTimeout: Long): OperationHandle

    execute operation handler

    execute operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  17. def executeStatementAsync(statement: String, confOverlay: Map[String, String]): OperationHandle

    execute operation handler

    execute operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  18. def fetchResults(opHandle: OperationHandle, orientation: FetchOrientation, maxRows: Long, fetchType: FetchType): RowSet
    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
  19. def getCatalogs(): OperationHandle

    getCatalogs operation handler

    getCatalogs operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def getColumns(catalogName: String, schemaName: String, tableName: String, columnName: String): OperationHandle

    getColumns operation handler

    getColumns operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  22. def getCrossReference(primaryCatalog: String, primarySchema: String, primaryTable: String, foreignCatalog: String, foreignSchema: String, foreignTable: String): OperationHandle

    getCrossReference operation handler

    getCrossReference operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  23. def getDelegationToken(authFactory: HiveAuthFactory, owner: String, renewer: String): String
    Definition Classes
    HiveSessionImplwithUGIHiveSessionImplHiveSession
    Annotations
    @Override()
  24. def getDelegationToken(): String
  25. def getFunctions(catalogName: String, schemaName: String, functionName: String): OperationHandle

    getFunctions operation handler

    getFunctions operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  26. def getHiveConf(): HiveConf
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  27. def getInfo(getInfoType: GetInfoType): GetInfoValue

    getInfo operation handler

    getInfo operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  28. def getIpAddress(): String
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  29. def getLastAccessTime(): Long
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  30. def getMetaStoreClient(): IMetaStoreClient
    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
  31. def getNoOperationTime(): Long
    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
  32. def getOperationLogSessionDir(): File

    Get the session dir, which is the parent dir of operation logs

    Get the session dir, which is the parent dir of operation logs

    returns

    a file representing the parent directory of operation logs

    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  33. def getPassword(): String
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  34. def getPrimaryKeys(catalog: String, schema: String, table: String): OperationHandle

    getPrimaryKeys operation handler

    getPrimaryKeys operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  35. def getProtocolVersion(): TProtocolVersion
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  36. def getResultSetMetadata(opHandle: OperationHandle): TableSchema
    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
  37. def getSchemas(catalogName: String, schemaName: String): OperationHandle

    getSchemas operation handler

    getSchemas operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  38. def getSession(): HiveSession
    Attributes
    protected[session]
    Definition Classes
    HiveSessionImplwithUGIHiveSessionImpl
    Annotations
    @Override()
  39. def getSessionHandle(): SessionHandle
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  40. def getSessionManager(): SessionManager

    Get the session manager for the session

    Get the session manager for the session

    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  41. def getSessionState(): SessionState
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  42. def getSessionUgi(): UserGroupInformation
  43. def getTableTypes(): OperationHandle

    getTableTypes operation handler

    getTableTypes operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  44. def getTables(catalogName: String, schemaName: String, tableName: String, tableTypes: List[String]): OperationHandle

    getTables operation handler

    getTables operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  45. def getTypeInfo(): OperationHandle

    getTypeInfo operation handler

    getTypeInfo operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  46. def getUserName(): String
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  47. def getUsername(): String
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  48. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  49. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  50. def isOperationLogEnabled(): Boolean

    Check whether operation logging is enabled and session dir is created successfully

    Check whether operation logging is enabled and session dir is created successfully

    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  51. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  52. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  53. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  54. def open(sessionConfMap: Map[String, String]): Unit

    Opens a new HiveServer2 session for the client connection.

    Opens a new HiveServer2 session for the client connection. Creates a new SessionState object that will be associated with this HiveServer2 session. When the server executes multiple queries in the same session, this SessionState object is reused across multiple queries. Note that if doAs is true, this call goes through a proxy object, which wraps the method logic in a UserGroupInformation#doAs. That's why it is important to create SessionState here rather than in the constructor.

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
  55. def release(userAccess: Boolean): Unit

    1.

    1. We'll remove the ThreadLocal SessionState as this thread might now serve other requests. 2. We'll cache the ThreadLocal RawStore object for this background thread for an orderly cleanup when this thread is garbage collected later.

    Attributes
    protected[session]
    Definition Classes
    HiveSessionImpl
    See also

    org.apache.hive.service.server.ThreadWithGarbageCleanup#finalize()

  56. def renewDelegationToken(authFactory: HiveAuthFactory, tokenStr: String): Unit
    Definition Classes
    HiveSessionImplwithUGIHiveSessionImplHiveSession
    Annotations
    @Override()
  57. def setIpAddress(ipAddress: String): Unit
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  58. def setOperationLogSessionDir(operationLogRootDir: File): Unit

    Set the session dir, which is the parent dir of operation logs

    Set the session dir, which is the parent dir of operation logs

    operationLogRootDir

    the parent dir of the session dir

    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  59. def setOperationManager(operationManager: OperationManager): Unit

    Set operation manager for the session

    Set operation manager for the session

    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  60. def setProxySession(proxySession: HiveSession): Unit
  61. def setSessionManager(sessionManager: SessionManager): Unit

    Set the session manager for the session

    Set the session manager for the session

    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  62. def setSessionUGI(owner: String): Unit
  63. def setUserName(userName: String): Unit
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  64. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  65. def toString(): String
    Definition Classes
    AnyRef → Any
  66. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  68. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from HiveSessionImpl

Inherited from HiveSession

Inherited from HiveSessionBase

Inherited from AnyRef

Inherited from Any

Ungrouped