[ https://issues.apache.org/jira/browse/AMBARI-20946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diego Santesteban updated AMBARI-20946: --------------------------------------- Attachment: (was: AMBARI-20946.patch) > 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 > Remaining Estimate: 4h > > 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)