We have set up HDP 18.104.22.168 and over that we have set up Apache Hue successfully. Hue works fine when running any query in Beeswax but we are facing issues while running any query in Beeline. Following error is observed when we are trying to run in any query in beeline prompt after jdbc connectivity.
Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask (state=08S01,code=1)
Need your help!
when the table is empty we are facing this issue. But when data was inserted it ran successfully.
So is this a bug in hive server2 ?
what do your logs say? Check logs for hive specifically. Also drill down to RM UI and find logs for the executed tasks. We can't say for sure if it's a bug unless we can reproduce this.
Can you check whether user's id exist on hdfs /user dir or not.
hadoop fs -ls /user/<user_id>
and if it is not then please create it and change owner to user. Also paste log here to understand it in details.