<?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 Apache oozie JA008 error - job state changed from SUCCEDED to FAILED in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-oozie-JA008-error-job-state-changed-from-SUCCEDED-to/m-p/390580#M247308</link>
    <description>&lt;P&gt;I'm running oozie HA 5.2.1 on EMR and I have an issue with this temporary directory. I have a workflow which has start node -&amp;gt; action node -&amp;gt; end node. The job start running -&amp;gt; runs for 10-15 minutes -&amp;gt; is initially marked as successful -&amp;gt; is marked as failed. The error is JA008 File or directory not found for the /user/oozie/oozie-oozi/"oozie_job_id"/"ActionName"--java directory. I'm running in parallel a script which looks at this directory as well as the state of the workflow and while running this directory contains action.xml and launcher.xml file -&amp;gt; before marking it as SUCCEDED it adds the action-data.seq file -&amp;gt; after it marks it as succeeded it deletes this directory -&amp;gt; after 1-2 minutes marks it as failed with the error above. It looks like oozie is checking again for that directory after it previously deleted it.&lt;/P&gt;&lt;P&gt;Although this jobs is marked as failed from oozie perspective in reality this job is successful (checking in the RM UI the jobs status and the logs).&lt;/P&gt;&lt;P&gt;This error occurs multiple times a day. Sometimes the workflow is succeeded other times is marked as failed from oozie perspective but in reality is succeeded.&lt;/P&gt;&lt;P&gt;Any idea why this happens (looks like a race condition) ?&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2024 06:16:05 GMT</pubDate>
    <dc:creator>StefanSs</dc:creator>
    <dc:date>2024-07-19T06:16:05Z</dc:date>
    <item>
      <title>Apache oozie JA008 error - job state changed from SUCCEDED to FAILED</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-oozie-JA008-error-job-state-changed-from-SUCCEDED-to/m-p/390580#M247308</link>
      <description>&lt;P&gt;I'm running oozie HA 5.2.1 on EMR and I have an issue with this temporary directory. I have a workflow which has start node -&amp;gt; action node -&amp;gt; end node. The job start running -&amp;gt; runs for 10-15 minutes -&amp;gt; is initially marked as successful -&amp;gt; is marked as failed. The error is JA008 File or directory not found for the /user/oozie/oozie-oozi/"oozie_job_id"/"ActionName"--java directory. I'm running in parallel a script which looks at this directory as well as the state of the workflow and while running this directory contains action.xml and launcher.xml file -&amp;gt; before marking it as SUCCEDED it adds the action-data.seq file -&amp;gt; after it marks it as succeeded it deletes this directory -&amp;gt; after 1-2 minutes marks it as failed with the error above. It looks like oozie is checking again for that directory after it previously deleted it.&lt;/P&gt;&lt;P&gt;Although this jobs is marked as failed from oozie perspective in reality this job is successful (checking in the RM UI the jobs status and the logs).&lt;/P&gt;&lt;P&gt;This error occurs multiple times a day. Sometimes the workflow is succeeded other times is marked as failed from oozie perspective but in reality is succeeded.&lt;/P&gt;&lt;P&gt;Any idea why this happens (looks like a race condition) ?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 06:16:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-oozie-JA008-error-job-state-changed-from-SUCCEDED-to/m-p/390580#M247308</guid>
      <dc:creator>StefanSs</dc:creator>
      <dc:date>2024-07-19T06:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Apache oozie JA008 error - job state changed from SUCCEDED to FAILED</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-oozie-JA008-error-job-state-changed-from-SUCCEDED-to/m-p/390664#M247320</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111914"&gt;@StefanSs&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our Oozie experts&amp;nbsp;&lt;SPAN&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34263"&gt;@JoseManuel&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/21082"&gt;@jphelps&lt;/a&gt;&amp;nbsp; &lt;/SPAN&gt; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 20:40:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-oozie-JA008-error-job-state-changed-from-SUCCEDED-to/m-p/390664#M247320</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-07-19T20:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Apache oozie JA008 error - job state changed from SUCCEDED to FAILED</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-oozie-JA008-error-job-state-changed-from-SUCCEDED-to/m-p/390814#M247345</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111914"&gt;@StefanSs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does not seem like a Cloudera CDP distro / Oozie Supported version&lt;BR /&gt;We suggest to reach the &lt;A href="https://oozie.apache.org/mail-lists.html" target="_self"&gt;Oozie Mailing list&lt;/A&gt;&amp;nbsp;and provide simple repro steps for the community to review or contact &lt;A href="https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-oozie.html" target="_self"&gt;Amazon Support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;BR /&gt;-JMP&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 20:41:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-oozie-JA008-error-job-state-changed-from-SUCCEDED-to/m-p/390814#M247345</guid>
      <dc:creator>JoseManuel</dc:creator>
      <dc:date>2024-07-22T20:41:25Z</dc:date>
    </item>
  </channel>
</rss>

