<?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: Enviornment variables of my parcel are overridden by CDH parcel in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enviornment-variables-of-my-parcel-are-overridden-by-CDH/m-p/16666#M2510</link>
    <description>&lt;P&gt;I resolved my problem by finding out this page:&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;/P&gt;</description>
    <pubDate>Fri, 08 Aug 2014 23:30:01 GMT</pubDate>
    <dc:creator>icecreamlc</dc:creator>
    <dc:date>2014-08-08T23:30:01Z</dc:date>
    <item>
      <title>Enviornment variables of my parcel are overridden by CDH parcel</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enviornment-variables-of-my-parcel-are-overridden-by-CDH/m-p/16606#M2509</link>
      <description>&lt;P&gt;In my own parcel, I was trying to extend some client jar library into hadoop java classpath.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, I extend my jar path to "HADOOP_CLASSPATH";&lt;/P&gt;&lt;P&gt;I found even my jar can be shown in "hadoop classpath", when running MR jobs, my jars can't be found;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, I manually put my jar into "/opt/cloudera/parcels/CDH-5.1.0-1.cdh5.1.0.p0.53/lib/hadoop-mapreduce"&lt;/P&gt;&lt;P&gt;it works. So I tried to extend jar path to "CDH_MR2_HOME" variable in my parcel.jason&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I realized that for each service restart,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"CDH_MR2_HOME" variable was first setup by my parcel and then overriden by CDH parcel. It turned out that such enviornment variable path can't be extended in this way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For MR2, is there any enviornment variables, that can be extended for MR jobs? especially using parcel?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:04:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enviornment-variables-of-my-parcel-are-overridden-by-CDH/m-p/16606#M2509</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2022-09-16T09:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Enviornment variables of my parcel are overridden by CDH parcel</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enviornment-variables-of-my-parcel-are-overridden-by-CDH/m-p/16666#M2510</link>
      <description>&lt;P&gt;I resolved my problem by finding out this page:&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;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2014 23:30:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enviornment-variables-of-my-parcel-are-overridden-by-CDH/m-p/16666#M2510</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2014-08-08T23:30:01Z</dc:date>
    </item>
  </channel>
</rss>

