<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: wired behaviour when setting -MapReduce Child Java Maximum Heap Size- in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/wired-behaviour-when-setting-MapReduce-Child-Java-Maximum/m-p/14164#M27905</link>
    <description>&lt;P&gt;so, at the end, why at all can I set "MapReduce Child Java Maximum Heap Size (Client Override)" in the "TaskTracker" section of CM=&amp;gt;service mapreduce1 config if any job that will be submitted is using the mapred.child.java.opts from file /etc/hadoop/conf/mapred-site.xml ?!?! And this file is generated from the settings of section "Gateway (Default" in the configuration pane of mapreduce service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When will the Child-Heap-Size setting from the TaskTracker section be applied, and to whom ?!?! Currently I really have no clue since jobs submitted on the shell, submitted via Hive are receiving the settings from the standard config. directory /etc/hadoop/conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best, Gerd&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jun 2014 11:31:44 GMT</pubDate>
    <dc:creator>geko</dc:creator>
    <dc:date>2014-06-25T11:31:44Z</dc:date>
    <item>
      <title>wired behaviour when setting -MapReduce Child Java Maximum Heap Size-</title>
      <link>https://community.cloudera.com/t5/Support-Questions/wired-behaviour-when-setting-MapReduce-Child-Java-Maximum/m-p/14146#M27903</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I recently tried to modify the Heap size for m/r tasks by setting property "MapReduce Child Java Maximum Heap Size (Client Override)" in menu "Tasktracker" =&amp;gt; "Resource Management". I set the value to 222MiB.&lt;/P&gt;&lt;P&gt;After any config. change I re-deploy the config and restart the services.&lt;/P&gt;&lt;P&gt;If I submit e.g. the "pi" job from the hadoop-mapreduce-examples.jar and dive into the job's xml configuration I can see that "&lt;SPAN&gt;mapred.child.java.opts" is set &amp;nbsp;to "-Xmx145171557".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the part I don't understand, since&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I'd expect to have a mapred.child.java.opts being set to my configured value of 222MB&lt;/LI&gt;&lt;LI&gt;the size "145171557" matches exactly the configured value for "MapReduce Child Java Maximum Heap Size" of the "Default Gateway" Role, but there is no node serving the Gateway role&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Why is the HeapSize value of the Gateway role applied to the configuration of a submitted job, rather than the value set explicitly under chapter "Tasktracker" ?!?!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Didn't I see the forest but the trees ?!?!&lt;FONT color="#b2b2b2"&gt;&lt;SPAN style="background-color: #ccddde;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Any help highly appreciated, regards...Gerd...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;P&gt;Info: I tested this behaviour on a 10-node CDH4.5 cluster as well as in a CDH4 quickstart VM, thereby I assume it is a base mis-understanding somewhere...&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:01:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/wired-behaviour-when-setting-MapReduce-Child-Java-Maximum/m-p/14146#M27903</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2022-09-16T09:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: wired behaviour when setting -MapReduce Child Java Maximum Heap Size-</title>
      <link>https://community.cloudera.com/t5/Support-Questions/wired-behaviour-when-setting-MapReduce-Child-Java-Maximum/m-p/14154#M27904</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after some further tests it seems like I got it &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a) the configuration in the section "Gateway..." will be written in the mapred-site.xml of the client-configuration and thereby deployed via "Deploy client configuration" to the corresponding directory under /etc/hadoop/conf (via the update-alternatives)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b) if I submit the example M/R job, it uses that config. from /etc/hadoop/conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;c) the settings in section "TaskTracker..." will be written to the mapred-site.xml of the rundirectory while restarint the corresponding service and therefore the modifications in this section will never be considered for jobs being submitted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this correct ?!?!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2014 09:28:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/wired-behaviour-when-setting-MapReduce-Child-Java-Maximum/m-p/14154#M27904</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2014-06-25T09:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: wired behaviour when setting -MapReduce Child Java Maximum Heap Size-</title>
      <link>https://community.cloudera.com/t5/Support-Questions/wired-behaviour-when-setting-MapReduce-Child-Java-Maximum/m-p/14164#M27905</link>
      <description>&lt;P&gt;so, at the end, why at all can I set "MapReduce Child Java Maximum Heap Size (Client Override)" in the "TaskTracker" section of CM=&amp;gt;service mapreduce1 config if any job that will be submitted is using the mapred.child.java.opts from file /etc/hadoop/conf/mapred-site.xml ?!?! And this file is generated from the settings of section "Gateway (Default" in the configuration pane of mapreduce service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When will the Child-Heap-Size setting from the TaskTracker section be applied, and to whom ?!?! Currently I really have no clue since jobs submitted on the shell, submitted via Hive are receiving the settings from the standard config. directory /etc/hadoop/conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best, Gerd&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:31:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/wired-behaviour-when-setting-MapReduce-Child-Java-Maximum/m-p/14164#M27905</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2014-06-25T11:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: wired behaviour when setting -MapReduce Child Java Maximum Heap Size-</title>
      <link>https://community.cloudera.com/t5/Support-Questions/wired-behaviour-when-setting-MapReduce-Child-Java-Maximum/m-p/14198#M27906</link>
      <description>Hi Gerd,&lt;BR /&gt;&lt;BR /&gt;The client override is a setting that allows you to force MR to use a value, regardless of what any client may specify (it overrides the client values, hence Client Override). This is useful if you don't trust your end-users to specify these values appropriately and want to enforce a cluster-wide value.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Darren</description>
      <pubDate>Wed, 25 Jun 2014 16:50:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/wired-behaviour-when-setting-MapReduce-Child-Java-Maximum/m-p/14198#M27906</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2014-06-25T16:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: wired behaviour when setting -MapReduce Child Java Maximum Heap Size-</title>
      <link>https://community.cloudera.com/t5/Support-Questions/wired-behaviour-when-setting-MapReduce-Child-Java-Maximum/m-p/14200#M27907</link>
      <description>&lt;P&gt;Hi Darren,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for answering. I assumed that since the "Client override" is in the naming of the property &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Did I get it right that there are 3 possibilities =&amp;gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;1) if I submit a job without setting a property explicitly the "Gateway" setting are used (from /etc/hadoop/conf/xyz)&lt;/P&gt;&lt;P&gt;2) if I specify a property explicitly this will be used (the client override setting is empty)&lt;/P&gt;&lt;P&gt;3) if I specify a property and the Tasktracker...client override property is also set, the override setting will be used&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance, Gerd&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2014 17:23:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/wired-behaviour-when-setting-MapReduce-Child-Java-Maximum/m-p/14200#M27907</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2014-06-25T17:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: wired behaviour when setting -MapReduce Child Java Maximum Heap Size-</title>
      <link>https://community.cloudera.com/t5/Support-Questions/wired-behaviour-when-setting-MapReduce-Child-Java-Maximum/m-p/14204#M27908</link>
      <description>Yes, that's correct.</description>
      <pubDate>Wed, 25 Jun 2014 17:27:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/wired-behaviour-when-setting-MapReduce-Child-Java-Maximum/m-p/14204#M27908</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2014-06-25T17:27:13Z</dc:date>
    </item>
  </channel>
</rss>

