Re: Hue Error: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

223 views
Skip to first unread message

Romain Rigaux

unread,
Dec 6, 2017, 10:39:46 AM12/6/17
to cdh-...@cloudera.org, Hue-Users
Did you look at the logs of the MR jobs?


On Wed, Dec 6, 2017 at 3:14 AM, Karthik Pitchaimani <pkarth...@gmail.com> wrote:
Hi Team,

I was not able to run any query from HUE web interface, getting the exception  FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

Hue Server Log Level:
decorators   ERROR    Error running <function get_logs at 0x4fee6e0>
Traceback (most recent call last):
  File "/var/opt/teradata/cloudera/parcels/CDH-5.11.0-1.cdh5.11.0.p2245.2440/lib/hue/desktop/libs/notebook/src/notebook/decorators.py", line 82, in decorator
    return func(*args, **kwargs)
  File "/var/opt/teradata/cloudera/parcels/CDH-5.11.0-1.cdh5.11.0.p2245.2440/lib/hue/desktop/libs/notebook/src/notebook/api.py", line 295, in get_logs
    logs = db.get_log(notebook, snippet, startFrom=startFrom, size=size)
  File "/var/opt/teradata/cloudera/parcels/CDH-5.11.0-1.cdh5.11.0.p2245.2440/lib/hue/desktop/libs/notebook/src/notebook/connectors/hiveserver2.py", line 92, in decorator
    raise QueryError(message)
QueryError

The same query is fine while running from hive cli mode.

Kindly help me to resolve this error.



Thanks.

Regards,
Karthik.P

--

---
You received this message because you are subscribed to the Google Groups "CDH Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cdh-user+unsubscribe@cloudera.org.
For more options, visit https://groups.google.com/a/cloudera.org/d/optout.

Reply all
Reply to author
Forward
0 new messages