You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/02/10 17:44:42 UTC

[jira] [Commented] (AMBARI-19963) Deviation alerts fail with "No JSON object could be decoded"

    [ https://issues.apache.org/jira/browse/AMBARI-19963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861580#comment-15861580 ] 

Hadoop QA commented on AMBARI-19963:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12852069/AMBARI-19963.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/10517//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/10517//console

This message is automatically generated.

> 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)