[ https://issues.apache.org/jira/browse/AMBARI-19963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmytro Sen updated AMBARI-19963: -------------------------------- Status: Patch Available (was: Open) > Deviation alerts fail with "No JSON object could be decoded" > ------------------------------------------------------------ > > Key: AMBARI-19963 > URL: https://issues.apache.org/jira/browse/AMBARI-19963 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.5.0 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Priority: Blocker > Fix For: 2.5.0 > > Attachments: AMBARI-19963.patch > > > Deviation alerts fail with > {code} > ERROR 2017-02-09 17:50:12,896 base_alert.py:132 - > [Alert][namenode_service_rpc_processing_latency_hourly] Unable to execute > alert. No JSON object could be decoded > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/ambari_agent/alerts/base_alert.py", > line 112, in collect > res = self._collect() > File > "/usr/lib/python2.6/site-packages/ambari_agent/alerts/script_alert.py", line > 115, in _collect > result = cmd_module.execute(configurations, self.parameters, > self.host_name) > File > "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/alerts/alert_metrics_deviation.py", > line 326, in execute > data_json = json.loads(data) > File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads > return _default_decoder.decode(s) > File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode > obj, end = self.raw_decode(s, idx=_w(s, 0).end()) > File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode > raise ValueError("No JSON object could be decoded") > ValueError: No JSON object could be decoded > {code} > on AMS with collector HTTPS enabled -- This message was sent by Atlassian JIRA (v6.3.15#6346)