[ 
https://issues.apache.org/jira/browse/AMBARI-20946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16001465#comment-16001465
 ] 

Hudson commented on AMBARI-20946:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7439 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/7439/])
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=e20305bc4264de2d7b6d45d44575edeeeed14c6e])
* (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
>
>         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)

Reply via email to