Skip to content

Problems sending query to server #46

@edersonm

Description

@edersonm

I'm facing some issues with RBHive to connect to Hive 1.1(CDH 5.5).

When connecting using the following:

 :server: localhost
:port: 10000
:options:
  :hive_version: 13
  :transport: :sasl
  :sasl_params:
    :username: test
    :password: tttt

I'm receiving:
org.apache.hive.service.cli.HiveSQLException: Invalid OperationHandle: OperationHandle [opType=EXECUTE_STATEMENT...
on Hiveserver logs and "No operation state found for handles - has the session been closed?" on client side
I opened RbHive gem code and the return for


 response = @client.GetOperationStatus(
        Hive2::Thrift::TGetOperationStatusReq.new(operationHandle: prepare_operation_handle(handles))
      )

is nil.

Does anyone know a workaround for this?

Thanks in advance!

Question also on stackoverflow: http://stackoverflow.com/questions/36484318/rbhive-problems-sending-query-to-server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions