ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Re: Review Request 38184: If for some reason, structured-out-status.json is empty then ambari-server will fail to report any status
Date Wed, 09 Sep 2015 10:25:26 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38184/#review98162
-----------------------------------------------------------

Ship it!


Ship It!

- Andrew Onischuk


On Sept. 8, 2015, 5:15 p.m., Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38184/
> -----------------------------------------------------------
> 
> (Updated Sept. 8, 2015, 5:15 p.m.)
> 
> 
> 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
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message