You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2015/04/10 13:43:00 UTC
ambari git commit: AMBARI-10399. Typo in stack advisor output when
not enough memory is available (dlysnichenko)
Repository: ambari
Updated Branches:
refs/heads/trunk ff2f00614 -> c8c9be80b
AMBARI-10399. Typo in stack advisor output when not enough memory is available (dlysnichenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c8c9be80
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c8c9be80
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c8c9be80
Branch: refs/heads/trunk
Commit: c8c9be80b8e49ca9e3ad450d3935a1c617a278e8
Parents: ff2f006
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Fri Apr 10 14:42:26 2015 +0300
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Fri Apr 10 14:42:26 2015 +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/c8c9be80/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 6f7e9bb..08badf8 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
@@ -433,7 +433,7 @@ class HDP206StackAdvisor(DefaultStackAdvisor):
# TODO Add AMBARI_METRICS Collector Xmx property to ams-env
requiredMemory = getMemorySizeRequired(hostComponents[collectorHostName], configurations)
if host["Hosts"]["total_mem"] * 1024 < requiredMemory: # in bytes
- message = "No enough total RAM on the host {0}, " \
+ message = "Not enough total RAM on the host {0}, " \
"at least {1} MB required for the components({2})" \
.format(collectorHostName, requiredMemory/1048576,
str(", ".join(hostComponents[collectorHostName]))) # MB