Support Questions

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

hive pyspark integration

avatar
New Contributor

i am able to get list of tables in hive by running sql query on pyspark but when i try to execute select * from table it is raising ----unknownhost exception

3 REPLIES 3

avatar
Guru

Please set 

hive.fetch.task.conversion=more, and try the query

hive.fetch.task.conversion=none, and try the query

avatar
New Contributor

again same error in pyspark

 

avatar
Guru

Run the equivalent query in beeline and share the below if you encounter the error:

 

 1. beeline trace => This should contain queryID and query

  2. HS2 logs

   3. application log

 

This will help us to analyse