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

Error in Beeline

Highlighted

Error in Beeline

Contributor

We have set up HDP 2.3.4.0 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!

5 REPLIES 5
Highlighted

Re: Error in Beeline

Contributor

New observations:

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 ?

Highlighted

Re: Error in Beeline

Mentor
@rajdip chaudhuri

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.

Highlighted

Re: Error in Beeline

@rajdip chaudhuri

I don't have details on your query but see this https://issues.apache.org/jira/browse/HIVE-11356

Highlighted

Re: Error in Beeline

Guru

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.

Re: Error in Beeline

Contributor

@rajdip chaudhuri : is hive server2 is HA enabled and you are trying to connect it using zookeeper through beeline ?