[
https://issues.apache.org/jira/browse/AMBARI-20946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16002938#comment-16002938
]
Hudson commented on AMBARI-20946:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1517 (See
[https://builds.apache.org/job/Ambari-branch-2.5/1517/])
AMBARI-20946: Archive zip not created if missing but hash file exists (tthorpe:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e5bfb5a8d692004f8ff38a61457a9213687dd3d9])
* (edit) ambari-server/src/main/python/ambari_server/resourceFilesKeeper.py
* (edit) ambari-server/src/test/python/TestResourceFilesKeeper.py
> Zip file with a service's "package" subdirectory is not recreated if the old
> zip file is removed but the archived hash file exists
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-20946
> URL: https://issues.apache.org/jira/browse/AMBARI-20946
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.5.0
> Reporter: Diego Santesteban
> Assignee: Diego Santesteban
> Priority: Minor
> Fix For: trunk, 2.5.0
>
> Attachments: AMBARI-20946.patch
>
> Original Estimate: 4h
> Time Spent: 4h
> Remaining Estimate: 0h
>
> When Ambari recreates the archive.zip file for a service's "package"
> directory (to distribute to Ambari Agents), it creates a .hash file that
> checks if the archive should be recreated in the future.
> If the .hash file is removed but the archive.zip is not, the archive will
> always be recreated.
> However, if the .hash file exists and matches the current directory's hash
> (i.e. no changes have been made in the directory), Ambari won't recreate the
> archive file, even if it was removed.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)