<?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 difference between 'mapreduce.application.classpath' and 'yarn.application.classpath' in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/difference-between-mapreduce-application-classpath-and-yarn/m-p/86314#M34964</link>
    <description>&lt;P&gt;Hi All, it may be a trivial question for many, but could you explain what is the difference or relation between classpath defined in yarn.application.classpath and mapreduce.application.classpath? Does the latter overwrite the former for mapreduce applications? There is also variable MR2_CLASSPATH that is included by default in mapreduce.application.classpath. Where is taken from? Is the mapreduce.application.classpath relevant only for gateways from were application is submitted to yarn?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 14:09:02 GMT</pubDate>
    <dc:creator>lizard</dc:creator>
    <dc:date>2022-09-16T14:09:02Z</dc:date>
    <item>
      <title>difference between 'mapreduce.application.classpath' and 'yarn.application.classpath'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/difference-between-mapreduce-application-classpath-and-yarn/m-p/86314#M34964</link>
      <description>&lt;P&gt;Hi All, it may be a trivial question for many, but could you explain what is the difference or relation between classpath defined in yarn.application.classpath and mapreduce.application.classpath? Does the latter overwrite the former for mapreduce applications? There is also variable MR2_CLASSPATH that is included by default in mapreduce.application.classpath. Where is taken from? Is the mapreduce.application.classpath relevant only for gateways from were application is submitted to yarn?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:09:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/difference-between-mapreduce-application-classpath-and-yarn/m-p/86314#M34964</guid>
      <dc:creator>lizard</dc:creator>
      <dc:date>2022-09-16T14:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: difference between 'mapreduce.application.classpath' and 'yarn.application.classpath'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/difference-between-mapreduce-application-classpath-and-yarn/m-p/86318#M34965</link>
      <description>&amp;gt; Does the latter overwrite the former for mapreduce applications?&lt;BR /&gt;&lt;BR /&gt;No, at least as of CDH 5.x, the two are additive. The&lt;BR /&gt;yarn.application.classpath value goes on early (adding Common, HDFS and&lt;BR /&gt;YARN), followed by mapreduce.application.classpath (adding just MR2).&lt;BR /&gt;&lt;BR /&gt;The reason they are separate is tied to another feature (available in CM&lt;BR /&gt;6.x) that lets you supply all framework jars as an archive along with the&lt;BR /&gt;job rather than rely on local, pre-installed locations on all worker hosts&lt;BR /&gt;that are subject to change anytime outside of a container's runtime.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; There is also variable MR2_CLASSPATH that is included by default in&lt;BR /&gt;mapreduce.application.classpath. Where is taken from?&lt;BR /&gt;&lt;BR /&gt;This is exclusive to Cloudera Manager managed environments, and is a&lt;BR /&gt;reserved env-var name used to assist Parcels that may choose to supply some&lt;BR /&gt;jars as 'plugins' to an app or a service. All such env-vars are listed&lt;BR /&gt;here:&lt;BR /&gt;&lt;A href="https://github.com/cloudera/cm_ext/wiki/Plugin-parcel-environment-variables" target="_blank"&gt;https://github.com/cloudera/cm_ext/wiki/Plugin-parcel-environment-variables&lt;/A&gt;.&lt;BR /&gt;In most cases you can ignore this env-var, as it will be empty usually.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Is the mapreduce.application.classpath relevant only for gateways from&lt;BR /&gt;were application is submitted to yarn?&lt;BR /&gt;&lt;BR /&gt;No, the values are just variable names, and are not substituted at the&lt;BR /&gt;gateway. They are substituted only on the NodeManager when the prepared&lt;BR /&gt;container command/script actually executes. This lets you manage different&lt;BR /&gt;install paths on different worker hosts, where local environments point to&lt;BR /&gt;actual locations of jars.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Feb 2019 15:44:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/difference-between-mapreduce-application-classpath-and-yarn/m-p/86318#M34965</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2019-02-12T15:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: difference between 'mapreduce.application.classpath' and 'yarn.application.classpath'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/difference-between-mapreduce-application-classpath-and-yarn/m-p/86384#M34966</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/213"&gt;@Harsh J&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks you very much for your explanations. I asked the question starting with some assumptions that turned out to be false. Thanks for showing the right answers. Last question from my side: could you point to the documentation where mentioned CM 6.x feature for supplying framework jars is described? It sounds interesting.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 11:55:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/difference-between-mapreduce-application-classpath-and-yarn/m-p/86384#M34966</guid>
      <dc:creator>lizard</dc:creator>
      <dc:date>2019-02-13T11:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: difference between 'mapreduce.application.classpath' and 'yarn.application.classpath'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/difference-between-mapreduce-application-classpath-and-yarn/m-p/86434#M34967</link>
      <description>The feature in C6.x is implicit and aimed to support easier rolling&lt;BR /&gt;upgrades (when the job jars are part of the job exclusively, changes to&lt;BR /&gt;locally installed binaries will not affect it during upgrades). A release&lt;BR /&gt;note item is documented here for this:&lt;BR /&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_cm_600_new_features.html#concept_qpj_jrq_v2b" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_cm_600_new_features.html#concept_qpj_jrq_v2b&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Feb 2019 04:12:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/difference-between-mapreduce-application-classpath-and-yarn/m-p/86434#M34967</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2019-02-14T04:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: difference between 'mapreduce.application.classpath' and 'yarn.application.classpath'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/difference-between-mapreduce-application-classpath-and-yarn/m-p/86451#M34968</link>
      <description>&lt;P&gt;Great! Thank you very much!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 08:19:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/difference-between-mapreduce-application-classpath-and-yarn/m-p/86451#M34968</guid>
      <dc:creator>lizard</dc:creator>
      <dc:date>2019-02-14T08:19:35Z</dc:date>
    </item>
  </channel>
</rss>

