<?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 preemption and Oozie in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-preemption-and-Oozie/m-p/125761#M17903</link>
    <description>&lt;P&gt;I have seen so.ething similar caused by YARN-2964&lt;/P&gt;</description>
    <pubDate>Mon, 15 Feb 2016 21:50:23 GMT</pubDate>
    <dc:creator>lbronshtein</dc:creator>
    <dc:date>2016-02-15T21:50:23Z</dc:date>
    <item>
      <title>Yarn preemption and Oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-preemption-and-Oozie/m-p/125757#M17899</link>
      <description>&lt;P&gt;I wanted to know if people around here have experience with oozie and yarn preemption.&lt;/P&gt;&lt;P&gt;I think I remember that the two do not work well with each other.&lt;/P&gt;&lt;P&gt;I.e. lets assume we have the launcher Application Master, the launcher map task and the Task ( perhaps pig ) Application Master and the Pig tasks&lt;/P&gt;&lt;P&gt;So there are 4 possibilities:&lt;/P&gt;&lt;P&gt;A) Pig Container is killed&lt;/P&gt;&lt;P&gt;Should be fine, pig will reschedule it through the application master&lt;/P&gt;&lt;P&gt;B) Pig Application Master is killed&lt;/P&gt;&lt;P&gt;Should be rare since preemption kills Application Masters only as a last resort. I assume the oozie launcher would fail but that there is a retry parameter in oozie?&lt;/P&gt;&lt;P&gt;C) Oozie launcher Map is killed&lt;/P&gt;&lt;P&gt;Suddenly the pig task is orphaned. Will oozie application master restart the map? Will the map reconnect to the pig task? Or will it start a second one? &lt;/P&gt;&lt;P&gt;D) Oozie launcher AM is killed&lt;/P&gt;&lt;P&gt;Similar to C) but will oozie server restart the task or will it be shown as killed&lt;/P&gt;&lt;P&gt;I also remember an engagement where they had orphaned tasks because of oozie and preemption anybody seen someting like that?&lt;/P&gt;&lt;P&gt;Thanks a lot. &lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 21:35:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-preemption-and-Oozie/m-p/125757#M17899</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-02-04T21:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn preemption and Oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-preemption-and-Oozie/m-p/125758#M17900</link>
      <description>&lt;P&gt;Hi Ben, I'm not an Oozie expert buy you look lonely on this page, nobody to help you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; So, the simplest solution is to have a special queue for Oozie apps and set maximum-capacity=capacity and preemption will not happen even if enabled. But you can say I'm avoiding the question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Otherwise, I think in all cases (A) - (D), if preemption happens respective tasks will be retried, but then we can have some orphaned tasks. So, we'd like to avoid in particular A, B and C. A and C are AMs which can be controlled by maximum-am-resource-percent per queue, and the Scheduler is not supposed to kill AMs I guess. Then only B remains exposed, and by doing some search I found that we can run Oozie action launcher in uber mode so that A and B run together, the property is called oozie.action.launcher.mapreduce.job.ubertask.enable which by default is false (in spite of &lt;A href="https://issues.apache.org/jira/browse/OOZIE-1335"&gt;this&lt;/A&gt; jira) and can be set per action. HTH.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2016 12:07:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-preemption-and-Oozie/m-p/125758#M17900</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-02-08T12:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn preemption and Oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-preemption-and-Oozie/m-p/125759#M17901</link>
      <description>&lt;P&gt;I like the Oozie dedicated queue idea! &lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;@Predrag Minovic&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2016 21:02:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-preemption-and-Oozie/m-p/125759#M17901</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-08T21:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn preemption and Oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-preemption-and-Oozie/m-p/125760#M17902</link>
      <description>&lt;P&gt;Uber task sounds interesting I need to check this out. Also having a dedicated sub queue for the oozie actions is most likely the way for me to go because I have one type of action that doesn't take a kill nicely. ( It would result in duplicated data ).&lt;/P&gt;&lt;P&gt;I just remember the summit last year when someone mentioned that they had some configuration where preemption resulted in essentially endlessly running tasks. I cannot remember the constellation when this happens.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 21:32:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-preemption-and-Oozie/m-p/125760#M17902</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-02-09T21:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn preemption and Oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-preemption-and-Oozie/m-p/125761#M17903</link>
      <description>&lt;P&gt;I have seen so.ething similar caused by YARN-2964&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 21:50:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-preemption-and-Oozie/m-p/125761#M17903</guid>
      <dc:creator>lbronshtein</dc:creator>
      <dc:date>2016-02-15T21:50:23Z</dc:date>
    </item>
  </channel>
</rss>

