Repository: ambari Updated Branches: refs/heads/trunk cddf20e33 -> e7982e319
AMBARI-11696. HBase configuration property hbase_max_direct_memory_size not found (smohanty via srimanth) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/e7982e31 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e7982e31 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e7982e31 Branch: refs/heads/trunk Commit: e7982e319efdb7a57d2bb5bd0cdbe7f56a55dcba Parents: cddf20e Author: Srimanth Gunturi <sgunt...@hortonworks.com> Authored: Thu Jun 4 10:28:01 2015 -0700 Committer: Srimanth Gunturi <sgunt...@hortonworks.com> Committed: Thu Jun 4 10:28:01 2015 -0700 ---------------------------------------------------------------------- .../HBASE/0.96.0.2.0/package/scripts/params_linux.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/e7982e31/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py index da26979..e8585cd 100644 --- a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py +++ b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py @@ -58,6 +58,7 @@ daemon_script = "/usr/lib/hbase/bin/hbase-daemon.sh" region_mover = "/usr/lib/hbase/bin/region_mover.rb" region_drainer = "/usr/lib/hbase/bin/draining_servers.rb" hbase_cmd = "/usr/lib/hbase/bin/hbase" +hbase_max_direct_memory_size = None # hadoop parameters for 2.2+ if Script.is_hdp_stack_greater_or_equal("2.2"): @@ -66,7 +67,7 @@ if Script.is_hdp_stack_greater_or_equal("2.2"): region_drainer = format('/usr/hdp/current/hbase-client/bin/draining_servers.rb') hbase_cmd = format('/usr/hdp/current/hbase-client/bin/hbase') - hbase_max_direct_memory_size = config['configurations']['hbase-env']['hbase_max_direct_memory_size'] + hbase_max_direct_memory_size = default('configurations/hbase-env/hbase_max_direct_memory_size', None) daemon_script=format("/usr/hdp/current/{component_directory}/bin/hbase-daemon.sh") region_mover = format("/usr/hdp/current/{component_directory}/bin/region_mover.rb")