You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by se...@apache.org on 2016/10/22 00:16:35 UTC

incubator-trafodion git commit: [TRAFODION-2303] Limit the heap size of hbase processes for co-operative developer environment

Repository: incubator-trafodion
Updated Branches:
  refs/heads/master ee1cd85df -> e0f18ae8c


[TRAFODION-2303] Limit the heap size of hbase processes for co-operative developer environment

In the developer environment, the HBase processes are started without setting
max heap size.  Then, HBase java processes uses 1/4 of the physical memory as
the max heap size. This results in memory pressure in a cooperative developer
environment shared by many developers.


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

Branch: refs/heads/master
Commit: e0f18ae8ca2379315e9dcd5e3604c4ffe396bfc6
Parents: ee1cd85
Author: selvaganesang <se...@esgyn.com>
Authored: Fri Oct 21 03:34:17 2016 +0000
Committer: selvaganesang <se...@apache.org>
Committed: Sat Oct 22 00:12:51 2016 +0000

----------------------------------------------------------------------
 core/sqf/sql/scripts/install_local_hadoop | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/e0f18ae8/core/sqf/sql/scripts/install_local_hadoop
----------------------------------------------------------------------
diff --git a/core/sqf/sql/scripts/install_local_hadoop b/core/sqf/sql/scripts/install_local_hadoop
index ecd2bf4..153c97e 100755
--- a/core/sqf/sql/scripts/install_local_hadoop
+++ b/core/sqf/sql/scripts/install_local_hadoop
@@ -776,6 +776,8 @@ export MY_DB_MGR_SECURE_PORT=${MY_DB_MGR_SECURE_PORT}
 export MY_DRILL_INFO_PORT_NUM=${MY_DRILL_INFO_PORT_NUM}
 export MY_DRILL_RPC_PORT_NUM=${MY_DRILL_RPC_PORT_NUM}
 export MY_DRILL_BIT_PORT_NUM=${MY_DRILL_BIT_PORT_NUM}
+# HBase heap size is in MB
+export HBASE_HEAPSIZE=2048
 EOF
 
   # now source in this script