You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Vitaly Brodetskyi (JIRA)" <ji...@apache.org> on 2015/12/07 20:37:11 UTC

[jira] [Commented] (AMBARI-13034) If for some reason, structured-out-status.json is empty then ambari-server will fail to report any status

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

Vitaly Brodetskyi commented on AMBARI-13034:
--------------------------------------------

Commented to branch-2.2.

> If for some reason, structured-out-status.json is empty then ambari-server will fail to report any status
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-13034
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13034
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.0.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Critical
>             Fix For: 2.3.0
>
>         Attachments: AMBARI-13034.patch
>
>
> If the file - /var/lib/ambari-agent/data/structured-out-status.json is empty then agent fails to recover any status details. The reason is that the execute() implementation tries to load the empty file and fails as it expects a well formed json.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)