Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Facing transport exception in hive

avatar
Super Collaborator

Hi All,

 

I have implement almost 300 lines of hive query. The query template is as below.

 

  • Insert into targetTable
  • Select 
  • col1,col2...........cols
  • .
  • .
  • .
  • .
  • (Almost 300 lines in select query with lots of case when statemnet)
  • From source table

 

My observation is that it works without giving any error in apache zeppeline. But when i trying to execute it through beeline it's failing with  transport exception response code 500.

 

Other observation,when i remove few number of columns from select query in that  also it works fine.

 

I do not understand why query is failing ?

 

I need to know the reason behind failure?

 

Thanks in advance

 

 

1 ACCEPTED SOLUTION

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
3 REPLIES 3

avatar
Super Guru
@Manus ,

Can you please share the error from Beeline and HS2 log? Without them, it is difficult to see what is going on.

Cheers
Eric

avatar
Super Collaborator

@EricL 

 

Thanks for your reply. I am getting below error in hiveserver log.

 

10:20:02 START Executing current statement for: 'SCIP_Test_Env' [Hive]
10:20:03 FAILED [SELECT - 0 rows, 0.574 secs] [Code: 0, SQL State: 08S01] org.apache.hive.org.apache.thrift.transport.TTransportException: HTTP Response code: 500

 

 

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login