----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/38184/ -----------------------------------------------------------
Review request for Ambari, Andrew Onischuk and Sumit Mohanty. Bugs: AMBARI-13034 https://issues.apache.org/jira/browse/AMBARI-13034 Repository: ambari Description ------- 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. Diffs ----- ambari-agent/src/test/python/resource_management/TestScript.py fd31910 ambari-common/src/main/python/resource_management/libraries/script/script.py 962b54c Diff: https://reviews.apache.org/r/38184/diff/ Testing ------- mvn clean test Thanks, Vitalyi Brodetskyi