<?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: Map Reduce Jobs not starting on local CDH 5.7.0 installation in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39777#M39547</link>
    <description>&lt;P&gt;The "cluster" is pseudo distributed with one node on CentOs6 and I've updated the settings according to your recommendation:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mapreduce.map.memory.mb and mapreduce.reduce.memory.mb&lt;/SPAN&gt; = 240 MiB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapshot4.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1671i3788649FA1D0380F/image-size/large?v=v2&amp;amp;px=999" role="button" title="snapshot4.png" alt="snapshot4.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Deployed the configuration, restarted the serivces but the result is the same, the job runs forever.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapshot5.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1672i320420534C41FB3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="snapshot5.png" alt="snapshot5.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really need to test something urgently and I'm lost.&lt;/P&gt;&lt;P&gt;The health of the services is good exept "under replicated blocks"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapshot6.png" style="width: 449px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1674iBFABD293DF061EA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="snapshot6.png" alt="snapshot6.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will follow up on this.&lt;/P&gt;&lt;P&gt;Thanks for any hints.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2016 20:47:08 GMT</pubDate>
    <dc:creator>gjaehrling</dc:creator>
    <dc:date>2016-04-14T20:47:08Z</dc:date>
    <item>
      <title>Map Reduce Jobs not starting on local CDH 5.7.0 installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39563#M39542</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help, I have installed CDH 5.7.0 on CentOs 6 and all services are up and running.&lt;/P&gt;&lt;P&gt;However testing the installation running the simple pi example and using the following command doesnt execute a map-reduce job:&amp;nbsp; sudo -u hdfs hadoop jar /opt/cloudera/parcels/CDH/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar pi 10 100&lt;/P&gt;&lt;P&gt;The job is planned but nothing is happening...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapshot1.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1654i2930BDD5A4259B70/image-size/large?v=v2&amp;amp;px=999" role="button" title="snapshot1.png" alt="snapshot1.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the job runs forever.&lt;/P&gt;&lt;P&gt;What can I do to test what is wrong with my installation?!?&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:13:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39563#M39542</guid>
      <dc:creator>gjaehrling</dc:creator>
      <dc:date>2022-09-16T10:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Map Reduce Jobs not starting on local CDH 5.7.0 installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39610#M39543</link>
      <description>&lt;P&gt;I've seen this happen when the job is requesting more memory than you have allowed YARN to have on any one given host. The job is scheduled, waiting for a node with enough memory to check in and take it, which won't happen since you don't have any one node that can take it on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try adjusting&amp;nbsp;mapreduce.map.memory.mb, mapreduce.reduce.memory.mb, and yarn.app.mapreduce.am.resource.mb on your cluster and from the node you are running the job from.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here are some helpful resources for YARN tuning:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.pivotal.io/hc/en-us/articles/201462036-MapReduce-YARN-Memory-Parameters" target="_blank"&gt;https://support.pivotal.io/hc/en-us/articles/201462036-MapReduce-YARN-Memory-Parameters&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cloudera.com/documentation/enterprise/5-3-x/topics/cdh_ig_yarn_tuning.html" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/5-3-x/topics/cdh_ig_yarn_tuning.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 04:45:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39610#M39543</guid>
      <dc:creator>ben.hemphill</dc:creator>
      <dc:date>2016-04-12T04:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Map Reduce Jobs not starting on local CDH 5.7.0 installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39727#M39544</link>
      <description>&lt;P&gt;Thanks, I will try it.&lt;/P&gt;&lt;P&gt;The first parameter&amp;nbsp;mapreduce.map.memory.mb was set to 0 GiB, maybe this is the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 20:51:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39727#M39544</guid>
      <dc:creator>gjaehrling</dc:creator>
      <dc:date>2016-04-13T20:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Map Reduce Jobs not starting on local CDH 5.7.0 installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39731#M39545</link>
      <description>&lt;P&gt;No success, the job is still running forever &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have updated the memory setting from 0 GiB to 1 Gib.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapshot1.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1667iEF5D59C181CA65C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="snapshot1.png" alt="snapshot1.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this memory is also available on the node, but the job will not start.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapshot2.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1668iC40A2B54A2EB71C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="snapshot2.png" alt="snapshot2.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm lost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapshot3.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1669i3BC23A2A4E744676/image-size/large?v=v2&amp;amp;px=999" role="button" title="snapshot3.png" alt="snapshot3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not altered the&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 21:25:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39731#M39545</guid>
      <dc:creator>gjaehrling</dc:creator>
      <dc:date>2016-04-13T21:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Map Reduce Jobs not starting on local CDH 5.7.0 installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39740#M39546</link>
      <description>&lt;P&gt;Based on the screenshot, it looks like you have only one node with 1 GB available? &amp;nbsp;note that this 1GB is what is usable with both Heap and Virtual combined on the server side, what you specify in mapreduce.map.memory.mb is heap memory only&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from the link above, re-linked here[1] YARN will automatically calculate the virtual memory to add to the task using the&amp;nbsp;yarn.nodemanager.vmem-pmem-ratio (default 2.1), and then round up to the&amp;nbsp;yarn.scheduler.minimum-allocation-mb (default 1024MiB).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the math would be:&lt;/P&gt;&lt;P&gt;1GiB (task heap memory) * 1024 = 1024MiB task heap memory&lt;/P&gt;&lt;P&gt;1024MiB*2.1 =&amp;nbsp;2150.4 Virtual memory&lt;/P&gt;&lt;P&gt;round to nearest 1024 (2150) =&amp;nbsp;3072MiB total memory needed for task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can't give the cluster more resources, you can tweak the&amp;nbsp;&lt;SPAN&gt;yarn.nodemanager.vmem-pmem-ratio (you do still need some overhead) and you can set&amp;nbsp;yarn.scheduler.minimum-allocation-mb to smaller increments.&lt;BR /&gt;&lt;BR /&gt;setting mapreduce.map.memory.mb and mapreduce.reduce.memory.mb to&amp;nbsp;&amp;nbsp;(1024MiB/2.1) would allow the AM to run without tweaking either. but note that for YARN, you need the AM to run as well as at least 1 task. so you really must set&amp;nbsp;yarn.scheduler.minimum-allocation-mb to 512 or smaller, and then the target for&amp;nbsp;mapreduce.map.memory.mb and mapreduce.reduce.memory.mb would be 512MiB/2.1 = 240.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;240 MB may work, depending on what you are running.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1]&lt;A href="https://support.pivotal.io/hc/en-us/articles/201462036-MapReduce-YARN-Memory-Parameters" target="_blank"&gt;https://support.pivotal.io/hc/en-us/articles/201462036-MapReduce-YARN-Memory-Parameters&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 04:23:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39740#M39546</guid>
      <dc:creator>ben.hemphill</dc:creator>
      <dc:date>2016-04-14T04:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Map Reduce Jobs not starting on local CDH 5.7.0 installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39777#M39547</link>
      <description>&lt;P&gt;The "cluster" is pseudo distributed with one node on CentOs6 and I've updated the settings according to your recommendation:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mapreduce.map.memory.mb and mapreduce.reduce.memory.mb&lt;/SPAN&gt; = 240 MiB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapshot4.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1671i3788649FA1D0380F/image-size/large?v=v2&amp;amp;px=999" role="button" title="snapshot4.png" alt="snapshot4.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Deployed the configuration, restarted the serivces but the result is the same, the job runs forever.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapshot5.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1672i320420534C41FB3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="snapshot5.png" alt="snapshot5.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really need to test something urgently and I'm lost.&lt;/P&gt;&lt;P&gt;The health of the services is good exept "under replicated blocks"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapshot6.png" style="width: 449px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1674iBFABD293DF061EA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="snapshot6.png" alt="snapshot6.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will follow up on this.&lt;/P&gt;&lt;P&gt;Thanks for any hints.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 20:47:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39777#M39547</guid>
      <dc:creator>gjaehrling</dc:creator>
      <dc:date>2016-04-14T20:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Map Reduce Jobs not starting on local CDH 5.7.0 installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39834#M39548</link>
      <description>&lt;P&gt;So I've fixed it by adjusting the following Yarn settings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yarn.scheduler.maximum-allocation-mb = 8 GiB&lt;BR /&gt;mapreduce.map.memory.mb&amp;nbsp; = 4 GiB&lt;BR /&gt;mapreduce.reduce.memory.mb = 4 GiB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I've got the test example as following command running:&lt;/P&gt;&lt;P&gt;sudo -u hdfs hadoop jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar pi 10 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapshot7.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1680iF34D90BCB7F2A7BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="snapshot7.png" alt="snapshot7.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the comments.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Apr 2016 20:24:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Map-Reduce-Jobs-not-starting-on-local-CDH-5-7-0-installation/m-p/39834#M39548</guid>
      <dc:creator>gjaehrling</dc:creator>
      <dc:date>2016-04-16T20:24:34Z</dc:date>
    </item>
  </channel>
</rss>

