Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Thrift IDL file for TCLIService: <BaseDir>/service-rpc/if/TCLIService.thrift (<BaseDir> is typically: <YourWorkspace>/hive/) 
  • TCLIService.Iface implemented byorg.apache.hive.service.cli.thrift.ThriftCLIService class 
  • ThriftCLIService subclassed byorg.apache.hive.service.cli.thrift.ThriftBinaryCLIService and org.apache.hive.service.cli.thrift.ThriftHttpCLIService for TCP mode and HTTP mode respectively.
  • org.apache.hive.service.cli.session.HiveSessionImpl class: Hive session instances Instance of this class are created on server side and managed by org.apache.accumulo.tserver.TabletServer.SessionManager instance.

  • org.apache.hive.service.cli.SessionHandle class: returned instances of this class are returned from server to client and used by client for as input for Thrift API calls.

  • org.apache.hive.service.cli.operation.Operation class: defines operations that an operation (e.g. a query). Instances of this class are created on server and managed by org.apache.hive.service.cli.operation.OperationManager instance.
  • org.apache.hive.service.cli.OperationHandle class: defines the operation handles that handle which is part of Operation and used to uniquely identify the operationas a operation identifier. It's used on by Thrift client side to poll the execution status of a long running an operation (e.g. a query). 
  • org.apache.hive.service.auth.HiveAuthFactory class: a helper used by both HTTP and TCP mode for authenticationsauthentication. Refer to Setting Up HiveServer2 for various auth options.

...