<?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: Oozie - unable to kill workflow. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Oozie-unable-to-kill-workflow/m-p/384946#M245573</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109595"&gt;@MrBeasr&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged in our Oozie experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/63344"&gt;@pvishnu&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79729"&gt;@ShankerSharma&lt;/a&gt;&amp;nbsp;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2024 12:55:44 GMT</pubDate>
    <dc:creator>VidyaSargur</dc:creator>
    <dc:date>2024-03-13T12:55:44Z</dc:date>
    <item>
      <title>Oozie - unable to kill workflow.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-unable-to-kill-workflow/m-p/384943#M245570</link>
      <description>&lt;P&gt;I am trying to kill an existing coordinator job and re-deploy it on oozie. I am running the command -&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;oozie job -run --config siftcuration.properties.&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Here is my oozie properties file -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;nameNode=hdfs://ip-&amp;lt;ip&amp;gt;:8020&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;jobTracker=ip-&amp;lt;ip&amp;gt;:8032&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;master=yarn&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;mode=client&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;queueName=default&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#oozie.libpath=${nameNode}/user/oozie/share/lib&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;oozie.use.system.libpath=true&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;oozie.wf.rerun.failnodes=true&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;runtimeEnvironment=aws_prod&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;appName=SiftCuration&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;appBaseDir=${nameNode}/user/${user.name}/oozieJobs/${appName}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;oozie.coord.application.path=${appBaseDir}/workflow/coordinator.xml&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;etl.OverwriteOrAppend=Overwrite&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;spark.driver.memory=4g&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;spark.executor.memory=4g&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;spark.num.executors=3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;spark.executor.cores=1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;etl.default.date.format=yyyy-MM-dd&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;etl.run.date=yesterday&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;coordinatorKickDate=2024-03-14&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run this command, it gives me a coordinator job ID. But when I check the coordinator status, I see that is is still in PREP state. It has been in PREP state for over 4 hours.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;0000002-240312195311040-oozie-oozi-C &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; SiftC&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class="s1"&gt;&lt;FONT face="courier new,courier"&gt;uration &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;PREP&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;1&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;DAY&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;2024-03-14 03:00 GMT&lt;/FONT&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;I tried checking the logs and I am seeing this issue -&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;2024-03-13 11:59:34,030&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;WARN KillXCommand:523 - SERVER[ip-&amp;lt;ip&amp;gt;.ec2.internal] USER[hadoop] GROUP[-] TOKEN[] APP[SiftC&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class="s1"&gt;&lt;FONT face="courier new,courier"&gt;uration] JOB[0043858-220322202819429-oozie-oozi-W] ACTION[] E0725: Workflow instance can not be killed, 0043858-220322202819429-oozie-oozi-W, Error Code: E0725&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;This workflow ID belongs to the previous coordinator job that was already killed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;On checking the yarn logs for this workflow, I see this&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Actions&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;------------------------------------------------------------------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ID Status Ext ID Ext Status Err Code&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;------------------------------------------------------------------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0043858-220322202819429-oozie-oozi-W@:start: OK - OK -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;------------------------------------------------------------------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0043858-220322202819429-oozie-oozi-W@SnowflakeJobStartStoredProcedure OK application_1647980654756_172599SUCCEEDED -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;------------------------------------------------------------------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0043858-220322202819429-oozie-oozi-W@ParameterGenerator OK application_1647980654756_172603SUCCEEDED -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;------------------------------------------------------------------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0043858-220322202819429-oozie-oozi-W@SiftCurationSparkETL KILLED application_1647980654756_172607RUNNING JA009&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;------------------------------------------------------------------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;It says&amp;nbsp;application_1647980654756_172607 is running but I cannot find this application ID when I do a yarn logs -applicationId&amp;nbsp;application_1647980654756_172607.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;Could not locate application logs for application_1647980654756_172607&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;How do I fix this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 12:11:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-unable-to-kill-workflow/m-p/384943#M245570</guid>
      <dc:creator>MrBeasr</dc:creator>
      <dc:date>2024-03-13T12:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie - unable to kill workflow.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-unable-to-kill-workflow/m-p/384946#M245573</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109595"&gt;@MrBeasr&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged in our Oozie experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/63344"&gt;@pvishnu&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79729"&gt;@ShankerSharma&lt;/a&gt;&amp;nbsp;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 12:55:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-unable-to-kill-workflow/m-p/384946#M245573</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-03-13T12:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie - unable to kill workflow.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-unable-to-kill-workflow/m-p/385258#M245667</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109595"&gt;@MrBeasr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the status of job via Oozie Database:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# select count(*) from WF_JOBS where id like '%0043858-220322202819429-oozie-oozi-W%';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If require you may set the status of the job in Database itself:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;update wf_jobs set status='FAILED' where id like '%0043858-220322202819429-oozie-oozi-W%';&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 15:10:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-unable-to-kill-workflow/m-p/385258#M245667</guid>
      <dc:creator>jAnshula</dc:creator>
      <dc:date>2024-03-20T15:10:34Z</dc:date>
    </item>
  </channel>
</rss>

