Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20946

Zip file with a service's "package" subdirectory is not recreated if the old zip file is removed but the archived hash file exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.5.0
    • trunk, 2.5.1
    • ambari-server
    • None

    Description

      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.

      Attachments

        1. AMBARI-20946.patch
          5 kB
          Diego Santesteban

        Activity

          People

            dsantesteban Diego Santesteban
            dsantesteban Diego Santesteban
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h
                4h