Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 d5e2a974c -> 9df79e5ff


AMBARI-15416. Grafana password is required field after upgrade from 2.2.0 to 
2.2.2. Fix for install issue. (swagle)


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

Branch: refs/heads/branch-2.2
Commit: 9df79e5ff0220e8b5f4988247eb5834e0170d9af
Parents: d5e2a97
Author: Siddharth Wagle <swa...@hortonworks.com>
Authored: Thu Mar 17 11:40:24 2016 -0700
Committer: Siddharth Wagle <swa...@hortonworks.com>
Committed: Thu Mar 17 11:40:24 2016 -0700

----------------------------------------------------------------------
 .../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/9df79e5f/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 6132c2c..367687d 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
@@ -651,7 +651,7 @@ class HDP206StackAdvisor(DefaultStackAdvisor):
     putAmsSiteProperty("timeline.metrics.cluster.aggregate.splitpoints", 
','.join(aggregate_splits))
 
     component_grafana_exists = False
-    for service in services:
+    for service in services['services']:
       if 'components' in service:
         for component in service['components']:
           if 'StackServiceComponents' in component:

Reply via email to