<?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: Why my parcel can't be sourced or run? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16216#M2404</link>
    <description>&lt;P&gt;I checked this folder before, there is no "process" folder. i am using cm v5.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@lcigh158 cloudera-scm-agent]# pwd&lt;BR /&gt;/var/log/cloudera-scm-agent&lt;BR /&gt;[root@lcigh158 cloudera-scm-agent]# ls&lt;BR /&gt;cloudera-scm-agent.log&amp;nbsp; cmf_listener.log&amp;nbsp; supervisord.out&lt;BR /&gt;cloudera-scm-agent.out&amp;nbsp; supervisord.log&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jul 2014 23:58:15 GMT</pubDate>
    <dc:creator>icecreamlc</dc:creator>
    <dc:date>2014-07-30T23:58:15Z</dc:date>
    <item>
      <title>Why my parcel can't be sourced or run?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16108#M2396</link>
      <description>&lt;P&gt;&lt;FONT face="宋体"&gt;&lt;FONT color="#000000" size="3"&gt;My&amp;nbsp;environment script has never been sourced or run even though my parcel is at &lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#000000" size="3"&gt;“&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#000000" size="3"&gt;actived&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#000000" size="3"&gt;”&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#000000" size="3"&gt; status for each host. The parcel files were indeed distributed into each host.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="宋体" size="3"&gt;I also tried restart the cluster, it was not working. Then I tried to manually source the script in a host, it could work, so the script itself has no problem.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="宋体" size="3"&gt;I am wondering if any procedure was missed? Or any naming rule for the script? How can i tell if my parcel's shell script has been sourced by CM?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:03:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16108#M2396</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2022-09-16T09:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why my parcel can't be sourced or run?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16176#M2397</link>
      <description>&lt;P&gt;The environment script is sourced as part of starting processes - it's not a global thing that happens when you activate the parcel. So, assuming you start a process after activating the parcel, and assuming your parcel's 'provides' tags match what the process' service is looking for, it should get sourced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 15:51:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16176#M2397</guid>
      <dc:creator>Philip Langdale</dc:creator>
      <dc:date>2014-07-30T15:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why my parcel can't be sourced or run?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16180#M2398</link>
      <description>He, philipl, thanks for your response! I thought after activating the parcel, the source will be automatically sourced.&lt;BR /&gt;Could you tell me how to "start a process" from CM browser?</description>
      <pubDate>Wed, 30 Jul 2014 17:03:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16180#M2398</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2014-07-30T17:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why my parcel can't be sourced or run?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16182#M2399</link>
      <description>&lt;P&gt;When you start a role, you are starting a process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's use a concrete example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* The lzo parcel contains the lzo plugin that's used by essentially all services in CDH.&lt;/P&gt;&lt;P&gt;* You download and activate the lzo parcel. At this point, nothing changes - you need ot restart everything to pick up the new parcel&lt;/P&gt;&lt;P&gt;* So you restart Hive (for example)&lt;/P&gt;&lt;P&gt;* When the hive server process starts, the Agent will source the lzo parcel's env script which appends the lzo jar to the classpath.&lt;/P&gt;&lt;P&gt;* Now the hive server is running with lzo support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The lzo parcel provides 'cdh-plugin' so this parcel will be loaded for all CDH processes. If a parcel provides 'hdfs-plugin' then it would only be loaded for HDFS, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://github.com/cloudera/cm_ext/wiki/The%20parcel.json%20file#providing-tags"&gt;https://github.com/cloudera/cm_ext/wiki/The%20parcel.json%20file#providing-tags&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 17:07:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16182#M2399</guid>
      <dc:creator>Philip Langdale</dc:creator>
      <dc:date>2014-07-30T17:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why my parcel can't be sourced or run?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16206#M2400</link>
      <description>Your reply is clear to me.&lt;BR /&gt;When I checked the LZO example, I found " $PARCELS_ROOT" and "$PARCEL" are used as predefined environment variables, but when I echoed them, nothing come out. there is no such environment variables defined using " export -p".&lt;BR /&gt;I am wondering how to list all cms managed environment variables and then use them to evaluate if my script has been sourced or not?</description>
      <pubDate>Wed, 30 Jul 2014 21:18:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16206#M2400</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2014-07-30T21:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why my parcel can't be sourced or run?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16208#M2401</link>
      <description>&lt;P&gt;Where are you trying to echo variables? You won't see them set except from inside your environment script (which is sourced, so echo won't do anything). To see if your parcel's script is being sourced, look at the stderr.log for the process you think should be loading your parcel.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 21:37:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16208#M2401</guid>
      <dc:creator>Philip Langdale</dc:creator>
      <dc:date>2014-07-30T21:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why my parcel can't be sourced or run?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16212#M2402</link>
      <description>&lt;P&gt;I found stderr.log from CM web console. Could you tell me what's the absolute path of the log that i can track each process?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 23:50:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16212#M2402</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2014-07-30T23:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why my parcel can't be sourced or run?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16214#M2403</link>
      <description>&lt;P&gt;On each host, you have: /var/log/cloudera-scm-agent/process/&amp;lt;process-name&amp;gt;/logs/stderr.log&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 23:52:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16214#M2403</guid>
      <dc:creator>Philip Langdale</dc:creator>
      <dc:date>2014-07-30T23:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why my parcel can't be sourced or run?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16216#M2404</link>
      <description>&lt;P&gt;I checked this folder before, there is no "process" folder. i am using cm v5.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@lcigh158 cloudera-scm-agent]# pwd&lt;BR /&gt;/var/log/cloudera-scm-agent&lt;BR /&gt;[root@lcigh158 cloudera-scm-agent]# ls&lt;BR /&gt;cloudera-scm-agent.log&amp;nbsp; cmf_listener.log&amp;nbsp; supervisord.out&lt;BR /&gt;cloudera-scm-agent.out&amp;nbsp; supervisord.log&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 23:58:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16216#M2404</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2014-07-30T23:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why my parcel can't be sourced or run?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16218#M2405</link>
      <description>&lt;P&gt;Sorry, /var/run&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 23:58:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16218#M2405</guid>
      <dc:creator>Philip Langdale</dc:creator>
      <dc:date>2014-07-30T23:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why my parcel can't be sourced or run?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16222#M2406</link>
      <description>&lt;P&gt;finally found the error "Error found before invoking supervisord: Multiple parcels providing required tag: cdh (CDH, [my-parcel-name])".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I indeed put providing field as "cdh". I thought this is the way that could connect my parcel to certain CM managed process.&lt;/P&gt;&lt;P&gt;why doing that prevent a process being restarted?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2014 00:40:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16222#M2406</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2014-07-31T00:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why my parcel can't be sourced or run?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16282#M2407</link>
      <description>&lt;P&gt;&lt;A target="_blank" rel="nofollow" href="https://github.com/cloudera/cm_ext/wiki/The%20parcel.json%20file#providing-tags"&gt;https://github.com/cloudera/cm_ext/wiki/The%20parcel.json%20file#providing-tags&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As it discusses, if you want your parcel to affect an existing service, it should provide the 'foo-plugin' tag for that service, or cdh-plugin if you really want to affect all of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only one parcel can provide the required tag ('cdh' in this case), and obviously the CDH parcel provides that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is your parcel providing that you want it to affect all services? LZO is a highly unusual example in this regard.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2014 21:02:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16282#M2407</guid>
      <dc:creator>Philip Langdale</dc:creator>
      <dc:date>2014-07-31T21:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why my parcel can't be sourced or run?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16284#M2408</link>
      <description>&lt;P&gt;Thanks a lot! I have solved this issue and made my parcel working.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2014 21:13:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-my-parcel-can-t-be-sourced-or-run/m-p/16284#M2408</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2014-07-31T21:13:30Z</dc:date>
    </item>
  </channel>
</rss>

