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
  • org.apache.hive.service.cli.session.HiveSessionImpl class: Hive session instances are created on server side and managed by org.apache.accumulo.tserver.TabletServer.SessionManager

  • org.apache.hive.service.cli.SessionHandle class: returned from server and used by client for Thrift API calls

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