[
https://issues.apache.org/jira/browse/AMBARI-12909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724877#comment-14724877
]
Hudson commented on AMBARI-12909:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #3360 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/3360/])
AMBARI-12909: Existence of empty package folder in stack definition breaks the
service (Nahappan Somasundaram via jluniya) (jluniya:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d145dd6dcaf354ba053ab36220d3271f1a9ca81e)
* ambari-server/src/test/python/TestResourceFilesKeeper.py
* ambari-agent/src/main/python/ambari_agent/FileCache.py
* ambari-server/src/main/python/ambari_server/resourceFilesKeeper.py
* ambari-agent/src/test/python/ambari_agent/TestFileCache.py
> Existence of empty package folder in stack definition breaks the service
> ------------------------------------------------------------------------
>
> Key: AMBARI-12909
> URL: https://issues.apache.org/jira/browse/AMBARI-12909
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent
> Affects Versions: 2.2.0
> Reporter: Nahappan Somasundaram
> Assignee: Nahappan Somasundaram
> Priority: Critical
> Fix For: 2.2.0
>
>
> In a deployment, if somehow an empty package folder ended up in the folder
> "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package". This
> resulted in the creation of an empty archive.zip file. Its an easy repro -
> just create an empty folder and restart Ambari Server.
> The empty zip file is shipped to the agents where they fail trying to unzip
> the file.
> We should log an error and move on rather than failing.
> WARNING 2015-06-24 13:17:51,226 FileCache.py:144 - Error occured during cache
> update. Error tolerate setting is set to true, so ignoring this error and
> continuing with current cache. Error details: Can not unpack zip file to
> directory /var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package
> : File is not a zip file
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)