pauldeschacht / impala-java-client

Java client to connect directly to Impala using thrift
35 stars 31 forks source link

BeeswaxException(message:Error: Error: could not match input, log_context:, handle:QueryHandle(id:, log_context:), errorCode:0, SQLState:42000) #1

Open vaibhavjavadekar opened 10 years ago

vaibhavjavadekar commented 10 years ago

I tried to run the ImpalaConnectTest class, but it gives the below error.

BeeswaxException(message:Error: Error: could not match input, log_context:, handle:QueryHandle(id:, log_context:), errorCode:0, SQLState:42000) at com.cloudera.beeswax.api.BeeswaxService$query_result$query_resultStandardScheme.read(Unknown Source) at com.cloudera.beeswax.api.BeeswaxService$query_result$query_resultStandardScheme.read(Unknown Source) at com.cloudera.beeswax.api.BeeswaxService$query_result.read(Unknown Source) at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78) at com.cloudera.beeswax.api.BeeswaxService$Client.recv_query(Unknown Source) at com.cloudera.beeswax.api.BeeswaxService$Client.query(Unknown Source)

vaibhavjavadekar commented 10 years ago

I could overcome this issue. I could fetch the results now.

But how should I execute Create Table command using this library. Can you please specify the document or the steps for this ?