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()
  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 finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def getCatalogs(): OperationHandle

    getCatalogs operation handler

    getCatalogs operation handler

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

    getColumns operation handler

    getColumns operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  23. 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
  24. def getDelegationToken(authFactory: HiveAuthFactory, owner: String, renewer: String): String
    Definition Classes
    HiveSessionImplwithUGIHiveSessionImplHiveSession
    Annotations
    @Override()
  25. def getDelegationToken(): String
  26. def getFunctions(catalogName: String, schemaName: String, functionName: String): OperationHandle

    getFunctions operation handler

    getFunctions operation handler

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

    getInfo operation handler

    getInfo operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  29. def getIpAddress(): String
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  30. def getLastAccessTime(): Long
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  31. def getMetaStoreClient(): IMetaStoreClient
    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
  32. def getNoOperationTime(): Long
    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
  33. 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()
  34. def getPassword(): String
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  35. def getPrimaryKeys(catalog: String, schema: String, table: String): OperationHandle

    getPrimaryKeys operation handler

    getPrimaryKeys operation handler

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

    getSchemas operation handler

    getSchemas operation handler

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

    Get the session manager for the session

    Get the session manager for the session

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

    getTableTypes operation handler

    getTableTypes operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  45. 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
  46. def getTypeInfo(): OperationHandle

    getTypeInfo operation handler

    getTypeInfo operation handler

    Definition Classes
    HiveSessionImplHiveSession
    Annotations
    @Override()
    Exceptions thrown
  47. def getUserName(): String
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  48. def getUsername(): String
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  49. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  50. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  51. 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()
  52. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  53. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  54. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  55. 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()
  56. 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()

  57. def renewDelegationToken(authFactory: HiveAuthFactory, tokenStr: String): Unit
    Definition Classes
    HiveSessionImplwithUGIHiveSessionImplHiveSession
    Annotations
    @Override()
  58. def setIpAddress(ipAddress: String): Unit
    Definition Classes
    HiveSessionImplHiveSessionBase
    Annotations
    @Override()
  59. 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()
  60. def setOperationManager(operationManager: OperationManager): Unit

    Set operation manager for the session

    Set operation manager for the session

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

    Set the session manager for the session

    Set the session manager for the session

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

Inherited from HiveSessionImpl

Inherited from HiveSession

Inherited from HiveSessionBase

Inherited from AnyRef

Inherited from Any

Ungrouped