<?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 Service Completion in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Service-Completion/m-p/227877#M82754</link>
    <description>&lt;P&gt;You can configure a restart policy for each component. Add a field like the following:&lt;/P&gt;&lt;PRE&gt;"restart_policy": "ON_FAILURE"&lt;/PRE&gt;&lt;P&gt;The available restart policies are ALWAYS, ON_FAILURE, and NEVER. The default policy is ALWAYS.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Aug 2018 23:10:07 GMT</pubDate>
    <dc:creator>billie</dc:creator>
    <dc:date>2018-08-27T23:10:07Z</dc:date>
    <item>
      <title>YARN Service Completion</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Service-Completion/m-p/227876#M82753</link>
      <description>&lt;P&gt;I'm trying out a a YARN service application with Docker on HDP3.0.&lt;/P&gt;&lt;P&gt;I execute a script inside the Docker container, and it completes with status 0 after a while. I want the application to end when this happens. &lt;/P&gt;&lt;P&gt;But YARN keeps spawning a new container whenever a container completes. Is this the intended behavior?&lt;/P&gt;&lt;P&gt;I can see this log in serviceam.log&lt;/P&gt;&lt;P&gt;2018-08-26 04:29:30,193 [Component  dispatcher] INFO  component.Component - [COMPONENT mycomp] Transitioned from STABLE to FLEXING on CONTAINER_COMPLETED event.&lt;/P&gt;&lt;P&gt; How do I tell YARN that my application has successfully completed?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 22:50:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Service-Completion/m-p/227876#M82753</guid>
      <dc:creator>Amila-Manoj-Sil</dc:creator>
      <dc:date>2018-08-27T22:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Service Completion</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Service-Completion/m-p/227877#M82754</link>
      <description>&lt;P&gt;You can configure a restart policy for each component. Add a field like the following:&lt;/P&gt;&lt;PRE&gt;"restart_policy": "ON_FAILURE"&lt;/PRE&gt;&lt;P&gt;The available restart policies are ALWAYS, ON_FAILURE, and NEVER. The default policy is ALWAYS.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 23:10:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Service-Completion/m-p/227877#M82754</guid>
      <dc:creator>billie</dc:creator>
      <dc:date>2018-08-27T23:10:07Z</dc:date>
    </item>
  </channel>
</rss>

