You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2014/10/08 20:00:34 UTC

[jira] [Resolved] (AMBARI-7596) Failure handling of downloading client configs

     [ https://issues.apache.org/jira/browse/AMBARI-7596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk resolved AMBARI-7596.
-------------------------------------
    Resolution: Fixed

Committed to trunk

> Failure handling of downloading client configs
> ----------------------------------------------
>
>                 Key: AMBARI-7596
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7596
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.0.0
>
>
> We should log output of the executed python commands, also stderr, and check
> the return code of them.
> If it's not 0 we should throw exception, or warning message to the server
> logs, which would contain the reason of failure (the python expection message
> without stack trace).
> In that case we should return like 500 error code. Not to give malformed
> configs to the customers, and to do early failing which is helpful.



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