ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From echekans...@apache.org
Subject ambari git commit: AMBARI-21926. Failed to call stack advisor on oozie config change (echekanskiy)
Date Mon, 11 Sep 2017 14:53:36 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 d2ecd98b7 -> 0df94c883


AMBARI-21926. Failed to call stack advisor on oozie config change (echekanskiy)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0df94c88
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0df94c88
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0df94c88

Branch: refs/heads/branch-2.6
Commit: 0df94c883c6ed9660609795eb4e37d687e1bf9c6
Parents: d2ecd98
Author: Eugene Chekanskiy <echekanskiy@apache.org>
Authored: Mon Sep 11 17:53:11 2017 +0300
Committer: Eugene Chekanskiy <echekanskiy@apache.org>
Committed: Mon Sep 11 17:53:11 2017 +0300

----------------------------------------------------------------------
 .../src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0df94c88/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
index 5e04b53..7992c95 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
@@ -477,7 +477,7 @@ class HDP206StackAdvisor(DefaultStackAdvisor):
     ]
 
     self.updateMountProperties("hdfs-site", hdfs_mount_properties, configurations, services,
hosts)
-
+    dataDirs = []
     if configurations and "hdfs-site" in configurations and \
             "dfs.datanode.data.dir" in configurations["hdfs-site"]["properties"] and \
                     configurations["hdfs-site"]["properties"]["dfs.datanode.data.dir"] is
not None:


Mime
View raw message