<?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 simple shell workflow not working in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-simple-shell-workflow-not-working/m-p/211368#M76992</link>
    <description>&lt;P&gt;There are no error details in post.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/48985/how-to-setup-oozie-shell-action.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/48985/how-to-setup-oozie-shell-action.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is article which may help.&lt;/P&gt;&lt;P&gt;Can you post error from yarn logs? Check the map logs under application master.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Apr 2018 03:06:04 GMT</pubDate>
    <dc:creator>schhabra1</dc:creator>
    <dc:date>2018-04-13T03:06:04Z</dc:date>
    <item>
      <title>Oozie simple shell workflow not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-simple-shell-workflow-not-working/m-p/211367#M76991</link>
      <description>&lt;P&gt;I have configured simple test oozie workflow and running below configuration:&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&amp;gt;
&amp;lt;workflow-app xmlns="uri:oozie:workflow:0.5" name="shell-action-asif-test"&amp;gt;
&amp;lt;start to="shell_1"/&amp;gt;
&amp;lt;action name="shell_1"&amp;gt;
&amp;lt;shell xmlns="uri:oozie:shell-action:0.3"&amp;gt;
&amp;lt;job-tracker&amp;gt;${resourceManager}&amp;lt;/job-tracker&amp;gt;
&amp;lt;name-node&amp;gt;${nameNode}&amp;lt;/name-node&amp;gt;
&amp;lt;exec&amp;gt;echo&amp;lt;/exec&amp;gt; &amp;lt;argument&amp;gt;"This is testing by ME"&amp;lt;/argument&amp;gt;
&amp;lt;capture-output/&amp;gt;
&amp;lt;/shell&amp;gt;
&amp;lt;ok to="end"/&amp;gt;
&amp;lt;error to="kill"/&amp;gt;
&amp;lt;/action&amp;gt;
&amp;lt;kill name="kill"&amp;gt;
&amp;lt;message&amp;gt;${wf:errorMessage(wf:lastErrorNode())}&amp;lt;/message&amp;gt;
&amp;lt;/kill&amp;gt;
&amp;lt;end name="end"/&amp;gt;
&amp;lt;/workflow-app&amp;gt;&lt;/P&gt;&lt;P&gt;While running above configuration, i'm getting error in logs:&lt;/P&gt;&lt;P&gt;2018-04-09 12:03:14,036  INFO ActionStartXCommand:520 - SERVER[slave3.bd-coe.com] USER[admin] GROUP[-] TOKEN[] APP[shell-action-asif-test] JOB[0000011-180330162120442-oozie-oozi-W] ACTION[0000011-180330162120442-oozie-oozi-W@:start:] Start action [0000011-180330162120442-oozie-oozi-W@:start:] with user-retry state : userRetryCount [0], userRetryMax [0], userRetryInterval [10]&lt;/P&gt;&lt;P&gt;2018-04-09 12:03:14,036  INFO ActionStartXCommand:520 - SERVER[slave3.bd-coe.com] USER[admin] GROUP[-] TOKEN[] APP[shell-action-asif-test] JOB[0000011-180330162120442-oozie-oozi-W] ACTION[0000011-180330162120442-oozie-oozi-W@:start:] [***0000011-180330162120442-oozie-oozi-W@:start:***]Action status=DONE&lt;/P&gt;&lt;P&gt;2018-04-09 12:03:14,036  INFO ActionStartXCommand:520 - SERVER[slave3.bd-coe.com] USER[admin] GROUP[-] TOKEN[] APP[shell-action-asif-test] JOB[0000011-180330162120442-oozie-oozi-W] ACTION[0000011-180330162120442-oozie-oozi-W@:start:] [***0000011-180330162120442-oozie-oozi-W@:start:***]Action updated in DB!&lt;/P&gt;&lt;P&gt;2018-04-09 12:03:14,087  INFO WorkflowNotificationXCommand:520 - SERVER[slave3.bd-coe.com] USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000011-180330162120442-oozie-oozi-W] ACTION[] No Notification URL is defined. Therefore nothing to notify for job 0000011-180330162120442-oozie-oozi-W&lt;/P&gt;&lt;P&gt;Ouput in yarn logs: &lt;/P&gt;&lt;P&gt;Log Type: stderr &lt;/P&gt;&lt;P&gt;Log Upload Time: Mon Apr 09 12:02:54 +0530 2018 &lt;/P&gt;&lt;P&gt;Log Length: 1728 &lt;/P&gt;&lt;P&gt;Apr 09, 2018 12:02:39 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register &lt;/P&gt;&lt;P&gt;INFO: Registering org.apache.hadoop.mapreduce.v2.app.webapp.JAXBContextResolver as a provider class &lt;/P&gt;&lt;P&gt;Apr 09, 2018 12:02:39 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register&lt;/P&gt;&lt;P&gt;
INFO: Registering org.apache.hadoop.yarn.webapp.GenericExceptionHandler as a provider class &lt;/P&gt;&lt;P&gt;Log Type: stdout
Log &lt;/P&gt;&lt;P&gt;Upload Time: Mon Apr 09 12:02:54 +0530 2018 &lt;/P&gt;&lt;P&gt;Log Length: 0&lt;/P&gt;&lt;P&gt;Can someone help on it? Will be appreciable.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 15:01:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-simple-shell-workflow-not-working/m-p/211367#M76991</guid>
      <dc:creator>vinayk</dc:creator>
      <dc:date>2018-04-09T15:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie simple shell workflow not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-simple-shell-workflow-not-working/m-p/211368#M76992</link>
      <description>&lt;P&gt;There are no error details in post.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/48985/how-to-setup-oozie-shell-action.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/48985/how-to-setup-oozie-shell-action.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is article which may help.&lt;/P&gt;&lt;P&gt;Can you post error from yarn logs? Check the map logs under application master.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 03:06:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-simple-shell-workflow-not-working/m-p/211368#M76992</guid>
      <dc:creator>schhabra1</dc:creator>
      <dc:date>2018-04-13T03:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie simple shell workflow not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-simple-shell-workflow-not-working/m-p/211369#M76993</link>
      <description>&lt;P&gt;yes, It's working fine.&lt;/P&gt;&lt;P&gt;It's not an issue. command is executed successfully by same method. No changing required.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 12:07:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-simple-shell-workflow-not-working/m-p/211369#M76993</guid>
      <dc:creator>vinayk</dc:creator>
      <dc:date>2018-04-13T12:07:34Z</dc:date>
    </item>
  </channel>
</rss>

