<?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: Stop CM undistributing my parcel? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stop-CM-undistributing-my-parcel/m-p/61410#M70503</link>
    <description>&lt;P&gt;Basically, I want the ability for my automation to handle certain parcels (e.g. CDH) at start time, but then after things are online, still allow users to add their own parcel repos and manage new parcels through the web UI. As it stands, this can't quite be done.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2017 21:49:23 GMT</pubDate>
    <dc:creator>dimaspivak</dc:creator>
    <dc:date>2017-10-31T21:49:23Z</dc:date>
    <item>
      <title>Stop CM undistributing my parcel?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stop-CM-undistributing-my-parcel/m-p/61398#M70498</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been playing with some automation that copies an unpacked parcel into /opt/cloudera/parcels and CM has no problem with activating it, adding it as a service, etc. as long as I've disabled CM's &lt;STRONG&gt;Manage parcels&lt;/STRONG&gt; option. The problem I get is that, even if activated and running, once I enable &lt;STRONG&gt;Manage parcels&lt;/STRONG&gt; in the CM configs, it immediately goes and undistributes the parcel and deletes its files. Is there any step I can take before enabling this option that tells CM to leave my parcel alone?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 17:51:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stop-CM-undistributing-my-parcel/m-p/61398#M70498</guid>
      <dc:creator>dimaspivak</dc:creator>
      <dc:date>2017-10-31T17:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Stop CM undistributing my parcel?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stop-CM-undistributing-my-parcel/m-p/61402#M70499</link>
      <description>&lt;P&gt;There's no way to stop deactivation of the parcel, because when you enable CM server parcel management, the&lt;/P&gt;&lt;P&gt;CM server doesn't have that parcel activated and thus the CM agent must deactivate the parcel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, you can short-circuit un-distribution and re-distribution by creating a ".dont_delete" file inside the&lt;/P&gt;&lt;P&gt;parcel directory.&amp;nbsp; The agent will go through the motions of undistributing the parcel, but it won't actually delete&lt;/P&gt;&lt;P&gt;the directory.&amp;nbsp; When you go to distribute the parcel again, it will re-distribute, but the agent will skip the download&lt;/P&gt;&lt;P&gt;step.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 18:54:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stop-CM-undistributing-my-parcel/m-p/61402#M70499</guid>
      <dc:creator>mostrows</dc:creator>
      <dc:date>2017-10-31T18:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Stop CM undistributing my parcel?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stop-CM-undistributing-my-parcel/m-p/61404#M70500</link>
      <description>&lt;P&gt;Thanks for the reply,&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16105"&gt;@mostrows&lt;/a&gt;. Putting that file inside the directory does prevent it from being deleted, but I think there must be a bug (at least in CM 5.12.0, which I'm running).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, I have the unpacked parcel in place when the machine comes up. If I don't activate it before re-enabling "Manage Parcels," CM undistributes it, but then the only option is to download it again, which doesn't skip and pulls the whole parcel from my online repo. If I do activate it before enabling "Manages Parcels," CM "undistributes" it (as you said it would) without deleting any files and then tries to activate it automatically, but then simply gets stuck in the "Activating" stage forever.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 19:25:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stop-CM-undistributing-my-parcel/m-p/61404#M70500</guid>
      <dc:creator>dimaspivak</dc:creator>
      <dc:date>2017-10-31T19:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Stop CM undistributing my parcel?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stop-CM-undistributing-my-parcel/m-p/61405#M70501</link>
      <description>What you describe is reasonable - you’d have to choose between pre-activation of the parcel&lt;BR /&gt;and toggling CM management of parcels.&lt;BR /&gt;&lt;BR /&gt;I’d suggest not pre-activating it because chances are that the agent will de-activate it at some point anyways.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Oct 2017 19:34:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stop-CM-undistributing-my-parcel/m-p/61405#M70501</guid>
      <dc:creator>mostrows</dc:creator>
      <dc:date>2017-10-31T19:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Stop CM undistributing my parcel?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stop-CM-undistributing-my-parcel/m-p/61409#M70502</link>
      <description>&lt;P&gt;Could you tell us why you would need to&amp;nbsp;&lt;SPAN&gt;enable "Manages Parcels"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are you trying to let CM do the distribution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 21:44:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stop-CM-undistributing-my-parcel/m-p/61409#M70502</guid>
      <dc:creator>Andrew Yao</dc:creator>
      <dc:date>2017-10-31T21:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Stop CM undistributing my parcel?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stop-CM-undistributing-my-parcel/m-p/61410#M70503</link>
      <description>&lt;P&gt;Basically, I want the ability for my automation to handle certain parcels (e.g. CDH) at start time, but then after things are online, still allow users to add their own parcel repos and manage new parcels through the web UI. As it stands, this can't quite be done.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 21:49:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stop-CM-undistributing-my-parcel/m-p/61410#M70503</guid>
      <dc:creator>dimaspivak</dc:creator>
      <dc:date>2017-10-31T21:49:23Z</dc:date>
    </item>
  </channel>
</rss>

