ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-20512) While generating hash for ambari-server to fill agent cache, all the symlinks should be traversed too.
Date Tue, 21 Mar 2017 20:12:41 GMT

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

Hudson commented on AMBARI-20512:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #7099 (See [https://builds.apache.org/job/Ambari-trunk-Commit/7099/])
AMBARI-20512: While generating hash for ambari-server to fill agent (jluniya: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=de8e3c57449bb95c5b8039da48ef2166621fe800])
* (edit) ambari-server/src/main/python/ambari_server/resourceFilesKeeper.py


> While generating hash for ambari-server to fill agent cache, all the symlinks should
be traversed too.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-20512
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20512
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Madhuvanthi Radhakrishnan
>            Assignee: Madhuvanthi Radhakrishnan
>            Priority: Blocker
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-20512.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message