You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by di...@apache.org on 2017/01/09 19:46:00 UTC
ambari git commit: AMBARI-19406: Provide default value for hbase java
io tmp dir (dili)
Repository: ambari
Updated Branches:
refs/heads/trunk 87fa076ec -> 6e9b4be25
AMBARI-19406: Provide default value for hbase java io tmp dir (dili)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6e9b4be2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6e9b4be2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6e9b4be2
Branch: refs/heads/trunk
Commit: 6e9b4be25ece4d9023c98283f9a88051bf8e81ea
Parents: 87fa076
Author: Di Li <di...@apache.org>
Authored: Mon Jan 9 14:45:36 2017 -0500
Committer: Di Li <di...@apache.org>
Committed: Mon Jan 9 14:45:36 2017 -0500
----------------------------------------------------------------------
.../HBASE/0.96.0.2.0/package/scripts/params_linux.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/6e9b4be2/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 8eed2d5..e27fd72 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
@@ -115,7 +115,7 @@ java64_home = config['hostLevelParams']['java_home']
java_version = expect("/hostLevelParams/java_version", int)
log_dir = config['configurations']['hbase-env']['hbase_log_dir']
-java_io_tmpdir = config['configurations']['hbase-env']['hbase_java_io_tmpdir']
+java_io_tmpdir = default("/configurations/hbase-env/hbase_java_io_tmpdir", "/tmp")
master_heapsize = ensure_unit_for_memory(config['configurations']['hbase-env']['hbase_master_heapsize'])
regionserver_heapsize = ensure_unit_for_memory(config['configurations']['hbase-env']['hbase_regionserver_heapsize'])