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

Hive WebHcat Alters


Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/HIVE/", line 181, in execute json_response = json.loads(stdout) File "/usr/lib/python2.6/site-packages/ambari_simplejson/", line 307, in loads return _default_decoder.decode(s) File "/usr/lib/python2.6/site-packages/ambari_simplejson/", line 335, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.6/site-packages/ambari_simplejson/", line 353, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded

The above alters are showing some interval of time so is this a problem in feature or its a fine



@ANSARI FAHEEM AHMED sounds like the output produced by the WegHCat alert script is not a valid json file.

Can you check if logs ambari-alerts.log, ambari-agent.log (by default these reside in /var/log/ambari-agent on the host ) contain any traces of http://{your_webhcat_host}:{webhcat_port}/templeton/v1/status? and post those log lines?

Master Collaborator

What is the Ambari version that you are using? Is the cluster kerberized? If the Ambari version is less than 2.2.2 and is secure cluster you could possibly be hitting:

AMBARI-15324: Kerberos Tickets Expire Too Frequently For Alerts

This could lead to responses leading the alert script to complain invalid json.