<?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: JA017, Long running shell action Oozie workflow failed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/352662#M236570</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/32119"&gt;@VidyaSargur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm checking the YARN-2694 and YARN-3055 patches. It's like a patch for a bug where the token is revoked when an app in the workflow completes, and other apps don't renew the token.&lt;BR /&gt;I still don't understand how this bug relates to setting the mapreduce.job.complete.cancel.delegation.tokens setting to true.&lt;BR /&gt;Could you please explain the behavior you expect when you set mapreduce.job.complete.cancel.delegation.tokens to true?&lt;/P&gt;&lt;P&gt;Shouldn't the token be prevented from being canceled by setting the mapreduce.job.complete.cancel.delegation.tokens setting to false ?&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 00:39:43 GMT</pubDate>
    <dc:creator>coco</dc:creator>
    <dc:date>2022-09-20T00:39:43Z</dc:date>
    <item>
      <title>JA017, Long running shell action Oozie workflow failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/351479#M236279</link>
      <description>&lt;P&gt;&lt;BR /&gt;Running shell actions(Only sleep command) in Oozie workflows for more than 7 days throws JA017 error on exit.&lt;BR /&gt;We saw this problem in a shell script that submits a spark job.&lt;BR /&gt;Spark job succeeded but submit shell action failed.&lt;BR /&gt;We tested by creating a shell action that does a simple sleep and we see the same failure.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blog.cloudera.com/hadoop-delegation-tokens-explained/" target="_blank" rel="noopener"&gt;https://blog.cloudera.com/hadoop-delegation-tokens-explained/&lt;/A&gt;&lt;BR /&gt;I saw this blog and tried to increase max-lifetime&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;dfs.namenode.delegation.token.max-&lt;/SPAN&gt;&lt;SPAN&gt;lifetime (hdfs-site.xml)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;restart NameNode, Oozie, YARN ResourceManager&lt;BR /&gt;but the same fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run the Oozie workflow and look at the logs, I see that I get 3 delegation tokens.&lt;/P&gt;&lt;P&gt;RM_DELEGATION_TOKEN, MR_DELEGATION_TOKEN, HDFS_DELEGATION_TOKEN&lt;/P&gt;&lt;P&gt;Because the dfs.namenode.delegation.token.max-lifetime setting value is increased, the maxDate of HDFS_DELEGATION_TOKEN is increased.&lt;BR /&gt;The maxDate of RM_DELEGATION_TOKEN and MR_DELEGATION_TOKEN tokens did not increase.&lt;BR /&gt;&lt;BR /&gt;Why does authentication problem occur due to expiration of delegation token when Oozie shell action is terminated?&lt;BR /&gt;Can't just increasing dfs.namenode.delegation.token.max-lifetime solve this problem?&lt;BR /&gt;How to run Shell Actions for long periods of time in Oozie?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 06:23:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/351479#M236279</guid>
      <dc:creator>coco</dc:creator>
      <dc:date>2022-09-05T06:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: JA017, Long running shell action Oozie workflow failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/351520#M236295</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Running workflow for more than 7 days means, does it run entire 7 days all the time and fails? Can you provide the script you are running?&lt;/P&gt;&lt;P&gt;&amp;gt; Is the shell script works outside of oozie without issues?&lt;/P&gt;&lt;P&gt;&amp;gt; Please provide the complete error stack trace you are seeing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan YM&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 11:49:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/351520#M236295</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2022-09-05T11:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: JA017, Long running shell action Oozie workflow failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/351973#M236410</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82575"&gt;@coco&lt;/a&gt;,&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp; If you are still experiencing the issue, can you provide the information&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;&amp;nbsp; has requested?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 05:52:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/351973#M236410</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2022-09-12T05:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: JA017, Long running shell action Oozie workflow failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/352179#M236461</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/32119"&gt;@VidyaSargur&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The script only execute sleep command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# 24 * 7 + 16
for i in {1..184}
do
  sleep 3600 # 1h
done&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dfs.name.delegation.token.max-lifetime change 7d to 8d.&lt;/P&gt;&lt;P&gt;(issueDate=1661416856453, maxDate=1662108056453)&lt;/P&gt;&lt;P&gt;restart namenode, oozie, yarn resource manager, yarn jobhistory server.&lt;/P&gt;&lt;P&gt;workflow still fail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oozie log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;WARN org.apache.oozie.action.hadoop.ShellActionExecutor: SERVER[*****] USER[develop] GROUP[-] TOKEN[] APP[sleep7d] JOB[0000003-220825173452344-oozie-oozi-W] ACTION[0000003-220825173452344-oozie-oozi-W@shell-eb25] Exception in check(). Message[JA017: Could not lookup launched hadoop Job ID [job_1661416633783_0003] which was associated with action [0000003-220825173452344-oozie-oozi-W@shell-eb25]. Failing this action!]
org.apache.oozie.action.ActionExecutorException: JA017: Could not lookup launched hadoop Job ID [job_1661416633783_0003] which was associated with action [0000003-220825173452344-oozie-oozi-W@shell-eb25]. Failing this action!
at org.apache.oozie.action.hadoop.JavaActionExecutor.check(JavaActionExecutor.java:1497)
at org.apache.oozie.command.wf.ActionCheckXCommand.execute(ActionCheckXCommand.java:182)
at org.apache.oozie.command.wf.ActionCheckXCommand.execute(ActionCheckXCommand.java:56)
at org.apache.oozie.command.XCommand.call(XCommand.java:286)
at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:332)
at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:261)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:179)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yarn log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ERROR LogAggregationService
Failed to setup application log directory for application_......
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.token.SecretManager$InvalidToken): token (token for develop: HDFS_DELEGATION_TOKEN owner=develop, renewer=yarn, realUser=oozie/*****, issueDate=1661416856453, maxDate=1662108056453, sequenceNumber=166609, masterKeyId=1547) can't be found in cache
at org.apache.hadoop.ipc.Client.call(Client.java:1504)
at org.apache.hadoop.ipc.Client.call(Client.java:1441)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:230)
at com.sun.proxy.$Proxy27.getFileInfo(Unknown Source)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:786)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:258)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:104)
at com.sun.proxy.$Proxy28.getFileInfo(Unknown Source)
at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:2167)
at org.apache.hadoop.hdfs.DistributedFileSystem$20.doCall(DistributedFileSystem.java:1265)
at org.apache.hadoop.hdfs.DistributedFileSystem$20.doCall(DistributedFileSystem.java:1261)
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1277)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.LogAggregationService.checkExists(LogAggregationService.java:265)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.LogAggregationService.access$100(LogAggregationService.java:68)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.LogAggregationService$1.run(LogAggregationService.java:293)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1920)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.LogAggregationService.createAppDir(LogAggregationService.java:278)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.LogAggregationService.initAppAggregator(LogAggregationService.java:384)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.LogAggregationService.initApp(LogAggregationService.java:337)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.LogAggregationService.handle(LogAggregationService.java:463)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.LogAggregationService.handle(LogAggregationService.java:68)
at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:182)
at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:109)
at java.lang.Thread.run(Thread.java:745)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 06:52:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/352179#M236461</guid>
      <dc:creator>coco</dc:creator>
      <dc:date>2022-09-14T06:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: JA017, Long running shell action Oozie workflow failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/352289#M236482</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/32119"&gt;@VidyaSargur&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried how to increase the hdfs delegation token max lifetime of the token.&lt;BR /&gt;But I found a new way in the CDP documentation.&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/runtime/7.2.9/yarn-security/topics/yarn-long-running-applications.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/runtime/7.2.9/yarn-security/topics/yarn-long-running-applications.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This feature was patched in YARN-2704 and released as hadoop 2.6.0.&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/YARN-2704" target="_blank" rel="noopener"&gt;https://issues.apache.org/jira/browse/YARN-2704&lt;/A&gt;&lt;BR /&gt;Our cluster is CDH version 5.14.2 and we use hadoop version 2.6.0.&lt;/P&gt;&lt;P&gt;Our cluster has these settings set.&lt;BR /&gt;YARN:&lt;BR /&gt;yarn.resourcemanager.proxy-user-privileges.enabled : checked(true)&lt;BR /&gt;HDFS NameNode:&lt;BR /&gt;hadoop.proxyuser.yarn.hosts:*&lt;BR /&gt;hadoop.proxyuser.yarn.groups: *&lt;/P&gt;&lt;P&gt;According to this feature, the workflow should succeed because when the delegation token expires it creates a new token.&lt;BR /&gt;Still, why is the workflow failing after the dfs.name.delegation.token.max-lifetim(7days) setting?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 02:54:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/352289#M236482</guid>
      <dc:creator>coco</dc:creator>
      <dc:date>2022-09-15T02:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: JA017, Long running shell action Oozie workflow failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/352311#M236488</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82575"&gt;@coco&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you follow the below steps in Hue, if you are running the job from Hue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;1. Login to Hue&lt;/P&gt;&lt;P class="p1"&gt;2. Go to Workflows -&amp;gt; Editors -&amp;gt; Workflows&lt;/P&gt;&lt;P class="p1"&gt;3. Open the Workflow to edit.&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;4. On the left hand pane, Click 'Properties'&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;5. Under section 'Hadoop Job Properties', in the Name box enter 'mapreduce.job.complete.cancel.delegation.tokens' and in value enter 'true'.&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;6. Save the workflow and submit.&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;If you are running from terminal add the above property in configurations section then rerun the workflow and see if it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;If this works please accept it as a solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;Chethan YM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 09:53:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/352311#M236488</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2022-09-15T09:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: JA017, Long running shell action Oozie workflow failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/352428#M236507</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please explain why we need to set 'mapreduce.job.complete.cancel.delegation.tokens' to 'TRUE' in our case.&lt;BR /&gt;&lt;BR /&gt;We confirmed the workflow we tested previously.&lt;BR /&gt;We didn't set this, but it will be retrieved as 'TRUE' in the job's metadata in HUE.&lt;BR /&gt;It seems to be the default value, do I have to set it as a property in the workflow as you said?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ja017.cancel.delegation.token.hue.metadata.png" style="width: 474px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35632i73F867C645572E2C/image-size/large?v=v2&amp;amp;px=999" role="button" title="ja017.cancel.delegation.token.hue.metadata.png" alt="ja017.cancel.delegation.token.hue.metadata.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 03:23:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/352428#M236507</guid>
      <dc:creator>coco</dc:creator>
      <dc:date>2022-09-16T03:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: JA017, Long running shell action Oozie workflow failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/352463#M236513</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the suspected causes for this issue:&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/YARN-3055" target="_blank"&gt;https://issues.apache.org/jira/browse/YARN-3055&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/YARN-2964" target="_blank"&gt;https://issues.apache.org/jira/browse/YARN-2964&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, You can set that parameter at workflow level and test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan YM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:16:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/352463#M236513</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2022-09-16T10:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: JA017, Long running shell action Oozie workflow failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/352662#M236570</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/32119"&gt;@VidyaSargur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm checking the YARN-2694 and YARN-3055 patches. It's like a patch for a bug where the token is revoked when an app in the workflow completes, and other apps don't renew the token.&lt;BR /&gt;I still don't understand how this bug relates to setting the mapreduce.job.complete.cancel.delegation.tokens setting to true.&lt;BR /&gt;Could you please explain the behavior you expect when you set mapreduce.job.complete.cancel.delegation.tokens to true?&lt;/P&gt;&lt;P&gt;Shouldn't the token be prevented from being canceled by setting the mapreduce.job.complete.cancel.delegation.tokens setting to false ?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 00:39:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/352662#M236570</guid>
      <dc:creator>coco</dc:creator>
      <dc:date>2022-09-20T00:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: JA017, Long running shell action Oozie workflow failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/353647#M236766</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have dfs.namenode.delegation.token.max-lifetime in YARN(yarn-site.xml, mapred-site.xml, core-site.xml), HDFS(hdfs-site.xml)&lt;BR /&gt;I increased the setting to 8 days.&lt;/P&gt;&lt;P&gt;The workflow of test 1 ran for 7 days without any settings and ended successfully.&lt;/P&gt;&lt;P&gt;The workflow of test #2 was set to 'TRUE' with the 'mapreduce.job.complete.cancel.delegation.tokens' value set to 'TRUE' and ran for 8 days, but ended in failure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 14:45:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/353647#M236766</guid>
      <dc:creator>coco</dc:creator>
      <dc:date>2022-09-29T14:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: JA017, Long running shell action Oozie workflow failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/355072#M237058</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82575"&gt;@coco&lt;/a&gt;, has the above issue been resolved for you? was&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;&amp;nbsp;'s response helpful? If you have found a solution, can you please share it with our community?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 03:58:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JA017-Long-running-shell-action-Oozie-workflow-failed/m-p/355072#M237058</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2022-10-18T03:58:31Z</dc:date>
    </item>
  </channel>
</rss>

