You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by mp...@apache.org on 2015/06/03 16:17:00 UTC
ambari git commit: AMBARI-11653. Ams Hbase heap size setting warns
that 1024 is less than 1024. (mpapirkovskyy)
Repository: ambari
Updated Branches:
refs/heads/trunk 5e778f0c1 -> 8b379e39e
AMBARI-11653. Ams Hbase heap size setting warns that 1024 is less than 1024. (mpapirkovskyy)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8b379e39
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8b379e39
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8b379e39
Branch: refs/heads/trunk
Commit: 8b379e39ee49518c0a9998ea42f6e2ec6003060d
Parents: 5e778f0
Author: Myroslav Papirkovskyy <mp...@hortonworks.com>
Authored: Tue Jun 2 14:16:40 2015 +0300
Committer: Myroslav Papirkovskyy <mp...@hortonworks.com>
Committed: Tue Jun 2 14:16:40 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/8b379e39/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 e280e53..d3ac39e 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
@@ -607,7 +607,7 @@ class HDP206StackAdvisor(DefaultStackAdvisor):
if value is None:
return self.getErrorItem("Value can't be null or undefined")
try:
- valueInt = int(value.strip()[:-1])
+ valueInt = to_number(value)
# TODO: generify for other use cases
defaultValueInt = int(str(defaultValue).strip())
if valueInt < defaultValueInt: