Return-Path: X-Original-To: apmail-ambari-commits-archive@www.apache.org Delivered-To: apmail-ambari-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC6BE10AF6 for ; Tue, 4 Mar 2014 17:33:54 +0000 (UTC) Received: (qmail 98442 invoked by uid 500); 4 Mar 2014 17:33:53 -0000 Delivered-To: apmail-ambari-commits-archive@ambari.apache.org Received: (qmail 97425 invoked by uid 500); 4 Mar 2014 17:33:51 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 96851 invoked by uid 99); 4 Mar 2014 17:33:49 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2014 17:33:49 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 127269357FF; Tue, 4 Mar 2014 17:33:49 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jaimin@apache.org To: commits@ambari.apache.org Message-Id: <712d28427a9649a29732ccd016248e28@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: AMBARI-4929: Unable to modify TaskTracker Xmx (hadoop-env.sh) via Ambari UI. (jaimin) Date: Tue, 4 Mar 2014 17:33:49 +0000 (UTC) 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 Authored: Tue Mar 4 09:33:11 2014 -0800 Committer: Jaimin Jetly 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",