Created 01-13-2020 10:16 PM
Hi,
when we ran the "select *from tablename" query in Cloudera Hive in HUE it is working fine ,but when i try to run the "select count(*) from tablename" or some other query the job is not running and it is throwing an error :
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
what is the problem here ? Normal select query is working and the query which requires map reduce is not working .
could anyone help us in resolving the issue.
Created 01-13-2020 10:19 PM
Created 01-13-2020 11:08 PM
Hi Eric,
Thanks for your response.
when i ran the below command:
sudo -u yarn yarn logs -applicationId {application_1578980062850_0002}
it is also throwing error:
Invalid ApplicationId specified
please suggest me what i need to do.
Created 01-14-2020 02:05 PM