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

I am getting Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.Tez.TezTask

Explorer
hortonworks-error.png

Hi All,

I am getting Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.Tez.TezTask while running hive- f hiveddl.sql command in the hortonwork sandbox. I am using 2.2.4.2 version of sandbox.

Please look into the attached screenshot for your reference.

4 REPLIES 4

Could you share the first few lines of the error message?

Explorer

May be a funny reply but I am not able to see the first line error message. Scrolling up and down or copy paste option is not working in sandbox for me.

@Kumar Harshvardhan Is there a particular reason that you are not using 2.3.2 sandbox?

try this set hive.vectorized.execution.enabled = false; and then rung query

Explorer

@Neeraj Sabharwal: I have done the changes as per your suggestion after that also I am getting the same error.

There is no particular reason for not using 2.3.2 sandbox. I have already configured 2.2.4.2 sandbox so using it.

Actually I am trying one Horton work example for twitter data analysis(

http://hortonworks.com/hadoop-tutorial/how-to-refine-and-visualize-sentiment-data/

)

I am able to import all the tables except tweets_sentiment & tweetsbi in hive. I guess it is because of the above error.

Thanks

Kumar Harshvardhan