You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2015/08/31 22:54:41 UTC

ambari git commit: AMBARI-12929. Configs validation fails due to 'getErrorItem() takes exactly 2 arguments (3 given)' (srimanth)

Repository: ambari
Updated Branches:
  refs/heads/trunk 6cc7781bb -> ef44337d0


AMBARI-12929. Configs validation fails due to 'getErrorItem() takes exactly 2 arguments (3 given)' (srimanth)


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

Branch: refs/heads/trunk
Commit: ef44337d0befa328896f35165e9f975d44524638
Parents: 6cc7781
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Sat Aug 29 17:14:27 2015 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Mon Aug 31 13:54:30 2015 -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/ef44337d/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 f66c855..3d535de 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
@@ -617,7 +617,7 @@ class HDP206StackAdvisor(DefaultStackAdvisor):
     mountPoint = getMountPointForDir(dir, mountPoints.keys())
 
     if not mountPoints:
-      return self.getErrorItem("No disk info found on host {0}", hostInfo["host_name"])
+      return self.getErrorItem("No disk info found on host %s" % hostInfo["host_name"])
 
     if mountPoints[mountPoint] < reqiuredDiskSpace:
       msg = "Ambari Metrics disk space requirements not met. \n" \