Andrew Onischuk created AMBARI-7596:
---------------------------------------
Summary: 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)