Diego Santesteban created AMBARI-20946:
------------------------------------------
Summary: 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
Priority: Minor
Fix For: trunk
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)