You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jl...@apache.org on 2017/03/21 18:55:13 UTC
ambari git commit: AMBARI-20512: While generating hash for
ambari-server to fill agent cache,
all the symlinks should be traversed too (Madhuvanthi Radhakrishnan via
jluniya)
Repository: ambari
Updated Branches:
refs/heads/trunk f64eff679 -> de8e3c574
AMBARI-20512: While generating hash for ambari-server to fill agent cache, all the symlinks should be traversed too (Madhuvanthi Radhakrishnan via jluniya)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/de8e3c57
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/de8e3c57
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/de8e3c57
Branch: refs/heads/trunk
Commit: de8e3c57449bb95c5b8039da48ef2166621fe800
Parents: f64eff6
Author: Jayush Luniya <jl...@hortonworks.com>
Authored: Tue Mar 21 11:55:14 2017 -0700
Committer: Jayush Luniya <jl...@hortonworks.com>
Committed: Tue Mar 21 11:55:14 2017 -0700
----------------------------------------------------------------------
ambari-server/src/main/python/ambari_server/resourceFilesKeeper.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/de8e3c57/ambari-server/src/main/python/ambari_server/resourceFilesKeeper.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/ambari_server/resourceFilesKeeper.py b/ambari-server/src/main/python/ambari_server/resourceFilesKeeper.py
index baf8179..dba6833 100644
--- a/ambari-server/src/main/python/ambari_server/resourceFilesKeeper.py
+++ b/ambari-server/src/main/python/ambari_server/resourceFilesKeeper.py
@@ -76,7 +76,7 @@ class ResourceFilesKeeper():
def _iter_update_directory_archive(self, subdirs_list):
for subdir in subdirs_list:
- for root, dirs, _ in os.walk(subdir):
+ for root, dirs, _ in os.walk(subdir, followlinks=True):
for d in dirs:
if d in self.ARCHIVABLE_DIRS:
full_path = os.path.abspath(os.path.join(root, d))