Support Questions
Find answers, ask questions, and share your expertise

org.apache.thrift.transport.TTransportException: HTTP Response code: 500

Contributor

Hi,

 

When i fire a Select Command i am getting below error as i am using HDP 3.1.4. and cluster is non-kerb

 

select * from contact;
INFO : Compiling command(queryId=hive_20201201082342_127fd5e4-a52e-438f-8837-c05b107f6314): select * from contact
INFO : Semantic Analysis Completed (retrial = false)
INFO : Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:ext_alight_contact.id, type:string, comment:null), FieldSchema(name:ext_alight_contact.type, type:string, comment:null), FieldSchema(name:ext_alight_contact.wavpath, type:string, comment:null)], properties:null)
INFO : Completed compiling command(queryId=hive_20201201082342_127fd5e4-a52e-438f-8837-c05b107f6314); Time taken: 0.16 seconds
INFO : Executing command(queryId=hive_20201201082342_127fd5e4-a52e-438f-8837-c05b107f6314): select * from ext_alight_contact
INFO : Completed executing command(queryId=hive_20201201082342_127fd5e4-a52e-438f-8837-c05b107f6314); Time taken: 0.009 seconds
INFO : OK
org.apache.thrift.transport.TTransportException: HTTP Response code: 500
at org.apache.thrift.transport.THttpClient.flushUsingHttpClient(THttpClient.java:262)
at org.apache.thrift.transport.THttpClient.flush(THttpClient.java:313)
at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:73)
at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:62)
at org.apache.hive.service.rpc.thrift.TCLIService$Client.send_FetchResults(TCLIService.java:561)
at org.apache.hive.service.rpc.thrift.TCLIService$Client.FetchResults(TCLIService.java:553)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hive.jdbc.HiveConnection$SynchronizedHandler.invoke(HiveConnection.java:1711)
at com.sun.proxy.$Proxy22.FetchResults(Unknown Source)
at org.apache.hive.jdbc.HiveQueryResultSet.next(HiveQueryResultSet.java:378)
at org.apache.hive.beeline.BufferedRows.<init>(BufferedRows.java:56)
at org.apache.hive.beeline.IncrementalRowsWithNormalization.<init>(IncrementalRowsWithNormalization.java:50)
at org.apache.hive.beeline.BeeLine.print(BeeLine.java:2322)
at org.apache.hive.beeline.Commands.executeInternal(Commands.java:1026)
at org.apache.hive.beeline.Commands.execute(Commands.java:1203)
at org.apache.hive.beeline.Commands.sql(Commands.java:1132)
at org.apache.hive.beeline.BeeLine.dispatch(BeeLine.java:1497)
at org.apache.hive.beeline.BeeLine.execute(BeeLine.java:1355)
at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:1134)
at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:1082)
at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:546)
at org.apache.hive.beeline.BeeLine.main(BeeLine.java:528)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.util.RunJar.run(RunJar.java:318)
at org.apache.hadoop.util.RunJar.main(RunJar.java:232)
Unknown HS2 problem when communicating with Thrift server.
Error: Error retrieving next row (state=,code=0)

0 REPLIES 0