New Contributor
Posts: 1
Registered: ‎12-06-2017

Query is not running through Hue UI on CDH 5.11.0

[ Edited ]

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.