You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ji...@apache.org on 2012/08/16 10:18:00 UTC
svn commit: r1373747 - in /incubator/ambari/trunk: CHANGES.txt
hmc/php/util/suggestProperties.php
Author: jitendra
Date: Thu Aug 16 08:18:00 2012
New Revision: 1373747
URL: http://svn.apache.org/viewvc?rev=1373747&view=rev
Log:
AMBARI-671. Mapred child java opts set to a too large of a value for heapsize.
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/hmc/php/util/suggestProperties.php
Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1373747&r1=1373746&r2=1373747&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Thu Aug 16 08:18:00 2012
@@ -86,6 +86,9 @@ Trunk (unreleased changes)
BUG FIXES
+ AMBARI-671. Mapred child java opts set to a too large of a value for
+ heapsize. (jitendra)
+
AMBARI-664. Fix mapred io sort mb and heap size for map/reduce. (mahadev)
AMBARI-661. Deploy cluster fails during Hive/HCatalog test (mahadev via yusaku)
Modified: incubator/ambari/trunk/hmc/php/util/suggestProperties.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/php/util/suggestProperties.php?rev=1373747&r1=1373746&r2=1373747&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/php/util/suggestProperties.php (original)
+++ incubator/ambari/trunk/hmc/php/util/suggestProperties.php Thu Aug 16 08:18:00 2012
@@ -277,9 +277,13 @@ class SuggestProperties {
$hostInfoMap, $allHostsToComponents, TRUE, 2048);
$heapSizeWithMax = $this->allocateHeapSizeWithMax("TASKTRACKER", $hostRoles,
$hostInfoMap, $allHostsToComponents, TRUE, 2048);
- $this->logger->log_info("Maxed Heap Size for MR Child opts ".$heapSizeWithMax);
$result["configs"]["ttnode_heapsize"] = $heapSize;
- $result["configs"]["mapred_child_java_opts_sz"] = $heapSizeWithMax;
+
+ $mrHeapSizeWithMax = $this->allocateHeapSizeWithMax("TASKTRACKER", $hostRoles,
+ $hostInfoMap, $allHostsToComponents, TRUE, 1024);
+
+ $this->logger->log_info("Maxed Heap Size for MR Child opts ".$mrHeapSizeWithMax);
+ $result["configs"]["mapred_child_java_opts_sz"] = $mrHeapSizeWithMax;
if (array_key_exists("HBASE", $services)) {
$heapSize = $this->allocateHeapSizeForDaemon("HBASE_REGIONSERVER", $hostRoles,