Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Query is not running through Hue UI on CDH 5.11.0


Query is not running through Hue UI on CDH 5.11.0

New Contributor

I am unable to execute the query (count(*) type of query) in HUE UI most of the times are getting the exceptions like

" FAILED: Execution Error, return code 2 from"

The same query was running fine while executing through hive CLI mode.


Hue Logs: (error and runcpserver.log)

decorators ERROR Error running <function get_logs at 0x4fe76e0>
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/", 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/", 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/", line 92, in decorator
raise QueryError(message)


Kindly suggest a solution if anyone faced the same scenario.




Don't have an account?
Coming from Hortonworks? Activate your account here