<?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: mapred-default.xml and mapred-site.xml are not correctly merged in CDH 5.3.2 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/mapred-default-xml-and-mapred-site-xml-are-not-correctly/m-p/27055#M5776</link>
    <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;There are several myctical problems:&lt;/P&gt;&lt;P&gt;1. Here is what ResourceManager conf says:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://my.resource.manager.ru:8088/conf"&gt;http://my.resource.manager.ru:8088/conf&lt;/A&gt;&lt;/P&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;property&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="collapsible-content"&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;name&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="text"&gt;mapred.child.java.opts&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/name&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;value&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="text"&gt;-Xmx200m&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/value&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;source&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="text"&gt;mapred-default.xml&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/source&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/property&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;I can't find any&amp;nbsp;&lt;SPAN&gt;mapred-default.xml, only inside hadoop-core.jar which is in cloudera parcels&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&lt;SPAN&gt;3. Here is running app:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&lt;SPAN&gt;Job configuration on NodeManerr UI says:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;mapred.child.java.opts&lt;/TD&gt;&lt;TD&gt;-Xmx200m -Djava.net.preferIPv4Stack=true -Xmx9448718336&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but ps -ef | grep java says:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;yarn &amp;nbsp; &amp;nbsp; 54070 53908 99 15:55 ?&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:08:20 /usr/java/jdk1.7.0_55/bin/java -Xmx1000m -Dhadoop.log.dir=/opt/cloudera/parcels/CDH-5.3.2-1.cdh5.3.2.p0.10/lib/hadoop/logs -Dhadoop.log.file=hadoop.log -Dhadoop.home.dir=/opt/cloudera/parcels/CDH-5.3.2-1.cdh5.3.2.p0.10/lib/hadoop -Dhadoop.id.str= -Dhadoop.root.logger=INFO,console -Djava.library.path=/opt/cloudera/parcels/CDH-5.3.2-1.cdh5.3.2.p0.10/lib/hadoop/lib/native -Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true -Dhadoop.security.logger=INFO,NullAppender org.apache.hadoop.util.RunJar camus-tool.jar com.linkedin.camus.etl.kafka.CamusJob -P camus.properties&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;NOw we get xmx as 1000m, which is still not enough, but we don't have such property...&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Wed, 06 May 2015 12:59:55 GMT</pubDate>
    <dc:creator>sergey.sheypak566881637</dc:creator>
    <dc:date>2015-05-06T12:59:55Z</dc:date>
    <item>
      <title>mapred-default.xml and mapred-site.xml are not correctly merged in CDH 5.3.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/mapred-default-xml-and-mapred-site-xml-are-not-correctly/m-p/27051#M5774</link>
      <description>&lt;P&gt;Hi, I'm running mapreduce job using hadoop jar command&lt;BR /&gt;The problem is that &lt;STRONG&gt;hadoop-core.jar&lt;/STRONG&gt; contains &lt;STRONG&gt;mapred-default.xml&lt;/STRONG&gt; with&amp;nbsp;&lt;STRONG&gt;-Xmx200m&lt;/STRONG&gt;&amp;nbsp;for mapreduce.&lt;BR /&gt;I have correct client conf in /etc/hadoop/conf/mapred-site.xml&lt;BR /&gt;xmx is big enough there.&lt;BR /&gt;When job started,&lt;BR /&gt;&lt;STRONG&gt;mapred.child.java.opts -Xmx200m -Djava.net.preferIPv4Stack=true -Xmx9448718336&lt;/STRONG&gt;&lt;BR /&gt;property is merged. -Xmx200m comes from bundled mapred-default.xml&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;-Djava.net.preferIPv4Stack=true -Xmx9448718336 comes from my config.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Job uses -Xmx200m for mappres and fails&lt;/P&gt;&lt;P&gt;What is the right way to exclude -Xmx200m and leave only -Xmx9448718336 from mapred-site.xml?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:28:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/mapred-default-xml-and-mapred-site-xml-are-not-correctly/m-p/27051#M5774</guid>
      <dc:creator>sergey.sheypak566881637</dc:creator>
      <dc:date>2022-09-16T09:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: mapred-default.xml and mapred-site.xml are not correctly merged in CDH 5.3.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/mapred-default-xml-and-mapred-site-xml-are-not-correctly/m-p/27053#M5775</link>
      <description>The last specified -Xmx takes precedence, normally, in Oracle/Sun&lt;BR /&gt;JREs. What evidence in the failure logs is suggesting that the mapper&lt;BR /&gt;starts only with 200m heap instead?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 May 2015 11:11:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/mapred-default-xml-and-mapred-site-xml-are-not-correctly/m-p/27053#M5775</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-05-06T11:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: mapred-default.xml and mapred-site.xml are not correctly merged in CDH 5.3.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/mapred-default-xml-and-mapred-site-xml-are-not-correctly/m-p/27055#M5776</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;There are several myctical problems:&lt;/P&gt;&lt;P&gt;1. Here is what ResourceManager conf says:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://my.resource.manager.ru:8088/conf"&gt;http://my.resource.manager.ru:8088/conf&lt;/A&gt;&lt;/P&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;property&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="collapsible-content"&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;name&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="text"&gt;mapred.child.java.opts&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/name&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;value&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="text"&gt;-Xmx200m&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/value&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;source&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="text"&gt;mapred-default.xml&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/source&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/property&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;I can't find any&amp;nbsp;&lt;SPAN&gt;mapred-default.xml, only inside hadoop-core.jar which is in cloudera parcels&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&lt;SPAN&gt;3. Here is running app:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&lt;SPAN&gt;Job configuration on NodeManerr UI says:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;mapred.child.java.opts&lt;/TD&gt;&lt;TD&gt;-Xmx200m -Djava.net.preferIPv4Stack=true -Xmx9448718336&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but ps -ef | grep java says:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;yarn &amp;nbsp; &amp;nbsp; 54070 53908 99 15:55 ?&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:08:20 /usr/java/jdk1.7.0_55/bin/java -Xmx1000m -Dhadoop.log.dir=/opt/cloudera/parcels/CDH-5.3.2-1.cdh5.3.2.p0.10/lib/hadoop/logs -Dhadoop.log.file=hadoop.log -Dhadoop.home.dir=/opt/cloudera/parcels/CDH-5.3.2-1.cdh5.3.2.p0.10/lib/hadoop -Dhadoop.id.str= -Dhadoop.root.logger=INFO,console -Djava.library.path=/opt/cloudera/parcels/CDH-5.3.2-1.cdh5.3.2.p0.10/lib/hadoop/lib/native -Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true -Dhadoop.security.logger=INFO,NullAppender org.apache.hadoop.util.RunJar camus-tool.jar com.linkedin.camus.etl.kafka.CamusJob -P camus.properties&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;NOw we get xmx as 1000m, which is still not enough, but we don't have such property...&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 06 May 2015 12:59:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/mapred-default-xml-and-mapred-site-xml-are-not-correctly/m-p/27055#M5776</guid>
      <dc:creator>sergey.sheypak566881637</dc:creator>
      <dc:date>2015-05-06T12:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: mapred-default.xml and mapred-site.xml are not correctly merged in CDH 5.3.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/mapred-default-xml-and-mapred-site-xml-are-not-correctly/m-p/27058#M5777</link>
      <description>&lt;P&gt;Ha, looks like Camus runs local job runner, that is the problem...&lt;/P&gt;&lt;P&gt;Need to inform camus that we have yarn here.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 13:52:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/mapred-default-xml-and-mapred-site-xml-are-not-correctly/m-p/27058#M5777</guid>
      <dc:creator>sergey.sheypak566881637</dc:creator>
      <dc:date>2015-05-06T13:52:17Z</dc:date>
    </item>
  </channel>
</rss>

