ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject git commit: AMBARI-4929: Unable to modify TaskTracker Xmx (hadoop-env.sh) via Ambari UI. (jaimin)
Date Tue, 04 Mar 2014 17:33:49 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 489d145ca -> da889292b


AMBARI-4929: Unable to modify TaskTracker Xmx (hadoop-env.sh) via Ambari UI. (jaimin)


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

Branch: refs/heads/trunk
Commit: da889292b017a4b79098c152791a7196ea48224f
Parents: 489d145
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Tue Mar 4 09:33:11 2014 -0800
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Tue Mar 4 09:33:31 2014 -0800

----------------------------------------------------------------------
 .../HDP/1.3.2/hooks/before-START/scripts/params.py      |  2 +-
 ambari-web/app/data/global_properties.js                | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/da889292/ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py
b/ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py
index 61ad367..527b457 100644
--- a/ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py
+++ b/ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py
@@ -128,7 +128,7 @@ namenode_opt_maxnewsize =  config['configurations']['global']['namenode_opt_maxn
 jtnode_opt_newsize = default("jtnode_opt_newsize","200m")
 jtnode_opt_maxnewsize = default("jtnode_opt_maxnewsize","200m")
 jtnode_heapsize =  default("jtnode_heapsize","1024m")
-ttnode_heapsize = "1024m"
+ttnode_heapsize = default("ttnode_heapsize","1024m")
 
 dtnode_heapsize = config['configurations']['global']['dtnode_heapsize']
 mapred_pid_dir_prefix = default("mapred_pid_dir_prefix","/var/run/hadoop-mapreduce")

http://git-wip-us.apache.org/repos/asf/ambari/blob/da889292/ambari-web/app/data/global_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/global_properties.js b/ambari-web/app/data/global_properties.js
index b8432c3..49b3cf9 100644
--- a/ambari-web/app/data/global_properties.js
+++ b/ambari-web/app/data/global_properties.js
@@ -435,6 +435,18 @@ module.exports =
     },
     {
       "id": "puppet var",
+      "name": "ttnode_heapsize",
+      "displayName": "TaskTracker maximum Java heap size",
+      "description": "Maximum Java heap size for TaskTracker in MB (Java option -Xmx)",
+      "defaultValue": "1024",
+      "displayType": "int",
+      "unit": "MB",
+      "serviceName": "MAPREDUCE",
+      "category": "TaskTracker",
+      "index": 1
+    },
+    {
+      "id": "puppet var",
       "name": "lzo_enabled",
       "displayName": "LZO compression",
       "description": "LZO compression enabled",


Mime
View raw message