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

Hive WebHcat Alters

Hive WebHcat Alters

Contributor

Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/alerts/alert_webhcat_server.py", line 181, in execute json_response = json.loads(stdout) File "/usr/lib/python2.6/site-packages/ambari_simplejson/__init__.py", line 307, in loads return _default_decoder.decode(s) File "/usr/lib/python2.6/site-packages/ambari_simplejson/decoder.py", line 335, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.6/site-packages/ambari_simplejson/decoder.py", 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

2 REPLIES 2

Re: Hive WebHcat Alters

Explorer

@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?user.name= and post those log lines?

Re: Hive WebHcat Alters

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.