ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srima...@apache.org
Subject ambari git commit: AMBARI-10782. HDFS enhanced-configs of keyserver host/port should be implemented - fixes (srimanth)
Date Tue, 28 Apr 2015 16:56:16 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk f5df2721c -> 03457b7c6


AMBARI-10782. HDFS enhanced-configs of keyserver host/port should be implemented - fixes (srimanth)


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

Branch: refs/heads/trunk
Commit: 03457b7c62d37c394233bd611943d0d07ba046c1
Parents: f5df272
Author: Srimanth Gunturi <sgunturi@hortonworks.com>
Authored: Tue Apr 28 09:56:00 2015 -0700
Committer: Srimanth Gunturi <sgunturi@hortonworks.com>
Committed: Tue Apr 28 09:56:06 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/03457b7c/ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py
index a12714f..468b27d 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py
@@ -175,7 +175,7 @@ class HDP22StackAdvisor(HDP21StackAdvisor):
 
     keyserverHostsString = None
     keyserverPortString = None
-    if "keyserver_host" in services["configurations"]["hadoop-env"]["properties"] and "keyserver_port"
in services["configurations"]["hadoop-env"]["properties"]:
+    if "hadoop-env" in services["configurations"] and "keyserver_host" in services["configurations"]["hadoop-env"]["properties"]
and "keyserver_port" in services["configurations"]["hadoop-env"]["properties"]:
       keyserverHostsString = services["configurations"]["hadoop-env"]["properties"]["keyserver_host"]
       keyserverPortString = services["configurations"]["hadoop-env"]["properties"]["keyserver_port"]
 


Mime
View raw message