You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmitro Lisnichenko <dl...@hortonworks.com> on 2015/08/05 15:25:28 UTC
Review Request 37130: Agent errors out during cache invalidation if
cache directories are missing
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37130/
-----------------------------------------------------------
Review request for Ambari and Andrew Onischuk.
Bugs: AMBARI-12647
https://issues.apache.org/jira/browse/AMBARI-12647
Repository: ambari
Description
-------
WARNING 2015-08-04 03:29:36,539 FileCache.py:144 - Error occured during cache update. Error tolerate setting is set to true, so ignoring this error and continui
ng with current cache. Error details: ('Can not invalidate cache directory {0}: {1}', u'/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks', "[Errno 2] No such
file or directory: '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts'") ?
Also fixed broken selective ambari-agent test execution, and not properly mocked UT for LiveStatus
Diffs
-----
ambari-agent/src/main/python/ambari_agent/FileCache.py be5c23c
ambari-agent/src/test/python/ambari_agent/TestFileCache.py 1ffcadc
ambari-agent/src/test/python/ambari_agent/TestLiveStatus.py 871dfb7
ambari-agent/src/test/python/unitTests.py ba8bc6e
Diff: https://reviews.apache.org/r/37130/diff/
Testing
-------
----------------------------------------------------------------------
Ran 412 tests in 5.635s
OK
Process finished with exit code 0
Thanks,
Dmitro Lisnichenko
Re: Review Request 37130: Agent errors out during cache invalidation
if cache directories are missing
Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37130/#review94239
-----------------------------------------------------------
Ship it!
Ship It!
- Andrew Onischuk
On Aug. 5, 2015, 1:25 p.m., Dmitro Lisnichenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37130/
> -----------------------------------------------------------
>
> (Updated Aug. 5, 2015, 1:25 p.m.)
>
>
> Review request for Ambari and Andrew Onischuk.
>
>
> Bugs: AMBARI-12647
> https://issues.apache.org/jira/browse/AMBARI-12647
>
>
> Repository: ambari
>
>
> Description
> -------
>
> WARNING 2015-08-04 03:29:36,539 FileCache.py:144 - Error occured during cache update. Error tolerate setting is set to true, so ignoring this error and continui
>
> ng with current cache. Error details: ('Can not invalidate cache directory {0}: {1}', u'/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks', "[Errno 2] No such
>
> file or directory: '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts'") ?
>
>
> Also fixed broken selective ambari-agent test execution, and not properly mocked UT for LiveStatus
>
>
> Diffs
> -----
>
> ambari-agent/src/main/python/ambari_agent/FileCache.py be5c23c
> ambari-agent/src/test/python/ambari_agent/TestFileCache.py 1ffcadc
> ambari-agent/src/test/python/ambari_agent/TestLiveStatus.py 871dfb7
> ambari-agent/src/test/python/unitTests.py ba8bc6e
>
> Diff: https://reviews.apache.org/r/37130/diff/
>
>
> Testing
> -------
>
> ----------------------------------------------------------------------
> Ran 412 tests in 5.635s
>
> OK
>
> Process finished with exit code 0
>
>
> Thanks,
>
> Dmitro Lisnichenko
>
>