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.thrift.EmbeddedThriftBinaryCLIService class: embedded mode for HS2. Don't get confused with embedded Metastore, which is a different thingservice. But embedded mode concept is similar .
  • org.apache.hive.service.cli.session.HiveSessionImpl class: Instance of this class are created on server side and managed by org.apache.accumulo.tserver.TabletServer.SessionManager instance.

  • org.apache.hive.service.cli.operation.Operation class: defines 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.auth.HiveAuthFactory class: a helper used by both HTTP and TCP mode for authentication. Refer to Setting Up HiveServer2 for various auth options.

...