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

While generating hash for ambari-server to fill agent cache, all the symlinks should be traversed too.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: ambari-server
    • Labels:
      None

      Description

      the archive.zip and .hash is not getting generated on the server side when the package folder is under
      stacks/<stack-name>/<stack-version>/services/<service-name>/package
      instead of common-services/<service-name>/<service-version>/package
      On closer look, the issue was that when the directories are being traversed to look for hooks and package folders that need to be hashed/archived for having it in the agent cache, those directories that were symlinks were being skipped.
      Fix is to include them.

        Attachments

        1. AMBARI-20512.patch
          0.7 kB
          Madhuvanthi Radhakrishnan

          Issue Links

            Activity

              People

              • Assignee:
                mradhakrishnan Madhuvanthi Radhakrishnan
                Reporter:
                mradhakrishnan Madhuvanthi Radhakrishnan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: