<?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: YARN v/s MapReduce? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147611#M20094</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;Can reducers communicate with each other?&lt;/P&gt;</description>
    <pubDate>Tue, 01 Aug 2017 01:56:18 GMT</pubDate>
    <dc:creator>manish555111</dc:creator>
    <dc:date>2017-08-01T01:56:18Z</dc:date>
    <item>
      <title>YARN v/s MapReduce?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147603#M20086</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What are advantages of YARN over MapReduce, why YARN was required instead of MapReduce?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 21:19:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147603#M20086</guid>
      <dc:creator>rushikeshdeshmu</dc:creator>
      <dc:date>2016-02-18T21:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: YARN v/s MapReduce?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147604#M20087</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2769/rushikeshdeshmukh007.html" nodeid="2769"&gt;@Rushikesh Deshmukh&lt;/A&gt; not the same thing, I suggest you read Arun's book for best explanation &lt;A href="http://www.amazon.com/Apache-Hadoop-YARN-MapReduce-Processing/dp/B0108CTDB6%3FSubscriptionId%3DAKIAILSHYYTFIVPWUY6Q%26tag%3Dduckduckgo-d-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB0108CTDB6" target="_blank"&gt;http://www.amazon.com/Apache-Hadoop-YARN-MapReduce-Processing/dp/B0108CTDB6%3FSubscriptionId%3DAKIAILSHYYTFIVPWUY6Q%26tag%3Dduckduckgo-d-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB0108CTDB6&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 21:22:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147604#M20087</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-18T21:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: YARN v/s MapReduce?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147605#M20088</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2769/rushikeshdeshmukh007.html" nodeid="2769" target="_blank"&gt;@Rushikesh Deshmukh&lt;/A&gt;&lt;P&gt;&lt;STRONG&gt;Yarn &lt;/STRONG&gt;provides the&lt;STRONG&gt; &lt;EM&gt;true multi tenancy&lt;/EM&gt;. &lt;/STRONG&gt;It lets to run multiple jobs at the same time. Yarn is the data operating system&lt;/P&gt;&lt;P&gt;The overall architecture is different. &lt;/P&gt;&lt;P&gt;YARN&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2239-yarn-architecture.gif" style="width: 622px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21368iD86FF13C50359E5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2239-yarn-architecture.gif" alt="2239-yarn-architecture.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;MapReduce&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2240-p4.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21369i31240DF8E4F3C3B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2240-p4.png" alt="2240-p4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Another link for you &lt;/P&gt;&lt;P&gt;Source &lt;A target="_blank" href="http://stackoverflow.com/questions/18463090/differences-between-existing-mapreduce-and-yarn-mrv2" rel="nofollow noopener noreferrer"&gt;1 &lt;/A&gt; &lt;A target="_blank" href="http://stackoverflow.com/questions/26943850/differences-between-mapreduce-and-yarn" rel="nofollow noopener noreferrer"&gt;2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;"You say "Differences between MapReduce and YARN". MapReduce and YARN definitely different. MapReduce is Programming Model, YARN is architecture for distribution cluster. Hadoop 2 using YARN for resource management. Besides that, hadoop support programming model which support parallel processing that we known as MapReduce. Before hadoop 2, hadoop already support MapReduce. In short, MapReduce run above YARN Architecture. Sorry, i don't mention in part of straggler problem.&lt;/P&gt;&lt;P&gt;"when MRmaster asks resource manger for resources?" when user submit MapReduce Job. After MapReduce job has done, resource will be back to free.&lt;/P&gt;&lt;P&gt;"resource manger will give MRmaster all resources it needs or it is according to cluster computing capabilities" I don't get this question point. Obviously, the resources manager will give all resource it needs no matter what cluster computing capabilities. Cluster computing capabilities will influence on processing time." &lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;MRv1 uses the JobTracker to create and assign tasks to data nodes, which can become a resource bottleneck when the cluster scales out far enough (usually around 4,000 clusters).&lt;/P&gt;&lt;P&gt;MRv2 (aka YARN, "Yet Another Resource Negotiator") has a Resource Manager for each cluster, and each data node runs a Node Manager. For each job, one slave node will act as the Application Master, monitoring resources/tasks, etc.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 13:18:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147605#M20088</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2019-08-18T13:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: YARN v/s MapReduce?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147606#M20089</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/393/aervits.html"&gt;Artem Ervits&lt;/A&gt;, thanks for suggestion and quick reply.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 21:25:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147606#M20089</guid>
      <dc:creator>rushikeshdeshmu</dc:creator>
      <dc:date>2016-02-18T21:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: YARN v/s MapReduce?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147607#M20090</link>
      <description>&lt;P&gt;Yarn is a work scheduler that can run different types of workloads.&lt;/P&gt;&lt;P&gt;- Spark&lt;/P&gt;&lt;P&gt;- MapReduce2&lt;/P&gt;&lt;P&gt;- Storm&lt;/P&gt;&lt;P&gt;- Tez&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;While MapReduce is a core feature and most likely the majority of the workloads its not the only one anymore. Hive/Pig uses Tez and Spark and Storm are big as well. This is the biggest advantage.&lt;/P&gt;&lt;P&gt;Other advantages include better scalability ( local nodemanagers instead of a single bottleneck ) lots of convenience features etc. pp.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 21:31:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147607#M20090</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-02-18T21:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: YARN v/s MapReduce?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147608#M20091</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/168/bleonhardi.html"&gt;Benjamin Leonhardi&lt;/A&gt;, thanks for sharing this useful information.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2016 20:58:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147608#M20091</guid>
      <dc:creator>rushikeshdeshmu</dc:creator>
      <dc:date>2016-02-20T20:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: YARN v/s MapReduce?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147609#M20092</link>
      <description>&lt;P&gt;YARN has many advantages over MapReduce (MRv1).&lt;/P&gt;&lt;P&gt;1) Scalability - Decreasing the load on the Resource Manager(RM) by delegating the work of handling the tasks running on slaves to application Master,  RM can now handle more requests than Job tracker facilitating addition of more nodes.&lt;/P&gt;&lt;P&gt;2) Unlike MPv1 which is strongly coupled with the MapReduce , YARN supports many kinds of code running on  them like MR2,Tez, Storm, Spark etc&lt;/P&gt;&lt;P&gt;3) Optimized resource allocation - There are no fixed number of slots separately allocated for Mapper and Reducers in YARN, which is the case in MRv1. So the available capacity of the nodes can be used to any task which needs resources.&lt;/P&gt;&lt;P&gt;4) When Resource manager fails , the jobs running on the cluster need not be restarted again after the recovery of Resource Manager.&lt;/P&gt;&lt;P&gt;5) Failover mechanism is implemented by ZK which is already part of Resource manager which says, we don't need to run another deamon.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 18:09:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147609#M20092</guid>
      <dc:creator>shivanageshch</dc:creator>
      <dc:date>2016-07-11T18:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: YARN v/s MapReduce?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147610#M20093</link>
      <description>&lt;P&gt;This is &lt;A target="_blank" href="http://hortonworks.com/apache/yarn/"&gt;YARN&lt;/A&gt; framework which is responsible for doing Cluster Resource Management.&lt;/P&gt;&lt;P&gt;Cluster resource management means managing the resources of the Hadoop Clusters. And by resources we mean Memory, CPU etc. 

YARN took over this task of cluster management from &lt;A target="_blank" href="http://mindmajix.com/mapreduce-training"&gt;MapReduce&lt;/A&gt; and MapReduce is streamlined to perform Data Processing only in which it is best.&lt;/P&gt;&lt;P&gt;YARN has central resource manager component which manages resources and allocates the resources to the application. Multiple applications can run on Hadoop via YARN and all application could share common resource management. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Advantage of YARN:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;

&lt;LI&gt;&lt;STRONG&gt;Yarn does efficient utilization of the resource:&lt;/STRONG&gt; There are no more fixed map-reduce slots. YARN provides central resource manager. With YARN, you can now run multiple applications in Hadoop, all sharing a common resource.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Yarn can even run application that do not follow MapReduce model:&lt;/STRONG&gt; YARN decouples MapReduce's resource management and scheduling capabilities from the data processing component, enabling Hadoop to support more varied processing approaches and a broader array of applications. For example, Hadoop clusters can now run interactive querying and streaming data applications simultaneously with MapReduce batch jobs. This also streamlines MapReduce to do what is does best - process data.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Few Important Notes about YARN:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;

&lt;LI&gt;&lt;STRONG&gt;YARN is backward compatible:&lt;/STRONG&gt; This means that existing MapReduce job can run on Hadoop 2.0 without any change.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;No more JobTracker and TaskTracker needed in Hadoop 2.0:&lt;/STRONG&gt; JobTracker and TaskTracker has totally disappeared. YARN splits the two major functionalities of the JobTracker i.e. resource management and job scheduling/monitoring into 2 separate daemons (components).
&lt;UL&gt;
&lt;LI&gt;Resource Manager&lt;/LI&gt;&lt;LI&gt;Node Manager(node specific)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Central Resource Manager and node specific Node Manager together constitutes YARN. 

&lt;IMG src="https://ip1.i.lithium.com/4d0571eef93b129d3a96eb8e7e0b904859f5f992/687474703a2f2f73617068616e617475746f7269616c2e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031342f30372f5941524e2d696e2d4861646f6f702d352e6a7067" alt="YARN in Hadoop" style="margin: 0px; padding: 0px; outline: 0px; vertical-align: baseline; background: transparent; width: 424.156px;" /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 01 Feb 2017 18:14:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147610#M20093</guid>
      <dc:creator>sandralynn319</dc:creator>
      <dc:date>2017-02-01T18:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: YARN v/s MapReduce?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147611#M20094</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;Can reducers communicate with each other?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2017 01:56:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147611#M20094</guid>
      <dc:creator>manish555111</dc:creator>
      <dc:date>2017-08-01T01:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: YARN v/s MapReduce?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147612#M20095</link>
      <description>&lt;P&gt;Nope, reducers don't communicate with each other and neither the mappers do. All of them runs in a separate JVM containers and don't have information of each other. AppMaster is the demon which takes care and manage these JVM based containers (Mapper/Reducer).&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 19:24:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-v-s-MapReduce/m-p/147612#M20095</guid>
      <dc:creator>sandeepksaini</dc:creator>
      <dc:date>2017-11-17T19:24:33Z</dc:date>
    </item>
  </channel>
</rss>

