You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2015/10/22 10:16:28 UTC

Review Request 39547: Host cleanup should remove only stack directories from /usr/hdp

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

Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.


Bugs: AMBARI-13518
    https://issues.apache.org/jira/browse/AMBARI-13518


Repository: ambari


Description
-------

Code in ambari-agent/src/main/python/ambari_agent/HostCheckReportFileHandler.py should use the /usr/hdp location as a base, not just as the directory to remove. Use a regex pattern to remove ONLY the correct directories when it's run.


Diffs
-----

  ambari-agent/src/main/python/ambari_agent/HostCheckReportFileHandler.py 794e427 
  ambari-agent/src/test/python/ambari_agent/TestHostCheckReportFileHandler.py d56ad8f 

Diff: https://reviews.apache.org/r/39547/diff/


Testing
-------

----------------------------------------------------------------------
Ran 419 tests in 6.214s

OK

Process finished with exit code 0


Thanks,

Dmytro Sen


Re: Review Request 39547: Host cleanup should remove only stack directories from /usr/hdp

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39547/#review103542
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On Oct. 22, 2015, 11:16 a.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39547/
> -----------------------------------------------------------
> 
> (Updated Oct. 22, 2015, 11:16 a.m.)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-13518
>     https://issues.apache.org/jira/browse/AMBARI-13518
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Code in ambari-agent/src/main/python/ambari_agent/HostCheckReportFileHandler.py should use the /usr/hdp location as a base, not just as the directory to remove. Use a regex pattern to remove ONLY the correct directories when it's run.
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/HostCheckReportFileHandler.py 794e427 
>   ambari-agent/src/test/python/ambari_agent/TestHostCheckReportFileHandler.py d56ad8f 
> 
> Diff: https://reviews.apache.org/r/39547/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 419 tests in 6.214s
> 
> OK
> 
> Process finished with exit code 0
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>


Re: Review Request 39547: Host cleanup should remove only stack directories from /usr/hdp

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39547/#review103541
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Жов. 22, 2015, 8:16 до полудня, Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39547/
> -----------------------------------------------------------
> 
> (Updated Жов. 22, 2015, 8:16 до полудня)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-13518
>     https://issues.apache.org/jira/browse/AMBARI-13518
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Code in ambari-agent/src/main/python/ambari_agent/HostCheckReportFileHandler.py should use the /usr/hdp location as a base, not just as the directory to remove. Use a regex pattern to remove ONLY the correct directories when it's run.
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/HostCheckReportFileHandler.py 794e427 
>   ambari-agent/src/test/python/ambari_agent/TestHostCheckReportFileHandler.py d56ad8f 
> 
> Diff: https://reviews.apache.org/r/39547/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 419 tests in 6.214s
> 
> OK
> 
> Process finished with exit code 0
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>