<?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 I am getting a Launcher Error while executing shell action in oozie workflow. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-a-Launcher-Error-while-executing-shell-action/m-p/111880#M38390</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have created a shell action in oozie workflow. It was executing perfectly a while ago. Later day it started showing below error.&lt;/P&gt;&lt;PRE&gt;Launcher ERROR, reason: Main class [org.apache.oozie.action.hadoop.ShellMain], main() threw exception, Cannot run program "checkForFileExistance.sh" (in directory "/data1/hadoop/yarn/local/usercache/hadoop/appcache/application_1471524954637_0316/container_e27_1471524954637_0316_01_000002"): error=2, No such file or directory&lt;/PRE&gt;&lt;PRE&gt;Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], main() threw exception, Cannot run program "checkForFileExistance.sh" (in directory "/data1/hadoop/yarn/local/usercache/hadoop/appcache/application_1471524954637_0316/container_e27_1471524954637_0316_01_000002"): error=2, No such file or directory
  java.io.IOException: Cannot run program "checkForFileExistance.sh" (in directory "/data1/hadoop/yarn/local/usercache/hadoop/appcache/application_1471524954637_0316/container_e27_1471524954637_0316_01_000002"): error=2, No such file or directory
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
  at org.apache.oozie.action.hadoop.ShellMain.execute(ShellMain.java:95)
  at org.apache.oozie.action.hadoop.ShellMain.run(ShellMain.java:57)
  at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:47)
  at org.apache.oozie.action.hadoop.ShellMain.main(ShellMain.java:49)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:497)
  at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:241)
  at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
  at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
  at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
  at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
  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:1657)
  at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
  Caused by: java.io.IOException: error=2, No such file or directory
  at java.lang.UNIXProcess.forkAndExec(Native Method)
  at java.lang.UNIXProcess.&amp;lt;init&amp;gt;(UNIXProcess.java:248)
  at java.lang.ProcessImpl.start(ProcessImpl.java:134)
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
  ... 17 more&lt;/PRE&gt;&lt;P&gt;Please help me with the error.&lt;/P&gt;&lt;P&gt;Please not that the shell script is available in lib folder under workflow directory.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Aug 2016 23:44:11 GMT</pubDate>
    <dc:creator>vijaykumar243</dc:creator>
    <dc:date>2016-08-19T23:44:11Z</dc:date>
    <item>
      <title>I am getting a Launcher Error while executing shell action in oozie workflow.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-a-Launcher-Error-while-executing-shell-action/m-p/111880#M38390</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have created a shell action in oozie workflow. It was executing perfectly a while ago. Later day it started showing below error.&lt;/P&gt;&lt;PRE&gt;Launcher ERROR, reason: Main class [org.apache.oozie.action.hadoop.ShellMain], main() threw exception, Cannot run program "checkForFileExistance.sh" (in directory "/data1/hadoop/yarn/local/usercache/hadoop/appcache/application_1471524954637_0316/container_e27_1471524954637_0316_01_000002"): error=2, No such file or directory&lt;/PRE&gt;&lt;PRE&gt;Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], main() threw exception, Cannot run program "checkForFileExistance.sh" (in directory "/data1/hadoop/yarn/local/usercache/hadoop/appcache/application_1471524954637_0316/container_e27_1471524954637_0316_01_000002"): error=2, No such file or directory
  java.io.IOException: Cannot run program "checkForFileExistance.sh" (in directory "/data1/hadoop/yarn/local/usercache/hadoop/appcache/application_1471524954637_0316/container_e27_1471524954637_0316_01_000002"): error=2, No such file or directory
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
  at org.apache.oozie.action.hadoop.ShellMain.execute(ShellMain.java:95)
  at org.apache.oozie.action.hadoop.ShellMain.run(ShellMain.java:57)
  at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:47)
  at org.apache.oozie.action.hadoop.ShellMain.main(ShellMain.java:49)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:497)
  at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:241)
  at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
  at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
  at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
  at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
  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:1657)
  at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
  Caused by: java.io.IOException: error=2, No such file or directory
  at java.lang.UNIXProcess.forkAndExec(Native Method)
  at java.lang.UNIXProcess.&amp;lt;init&amp;gt;(UNIXProcess.java:248)
  at java.lang.ProcessImpl.start(ProcessImpl.java:134)
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
  ... 17 more&lt;/PRE&gt;&lt;P&gt;Please help me with the error.&lt;/P&gt;&lt;P&gt;Please not that the shell script is available in lib folder under workflow directory.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 23:44:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-a-Launcher-Error-while-executing-shell-action/m-p/111880#M38390</guid>
      <dc:creator>vijaykumar243</dc:creator>
      <dc:date>2016-08-19T23:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting a Launcher Error while executing shell action in oozie workflow.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-a-Launcher-Error-while-executing-shell-action/m-p/111881#M38391</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11346/vijaykumar243.html" nodeid="11346"&gt;@Vijay Kumar J&lt;/A&gt; - Do you have execute permissions on your shell script? Have you mentioned shell script correctly(with file and script tags) in your oozie workflow.xml?&lt;/P&gt;&lt;P&gt;Please refer this tutorial for more details:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/crazyadmins/oozie-tutorials/tree/master/workflows/shell" target="_blank"&gt;https://github.com/crazyadmins/oozie-tutorials/tree/master/workflows/shell&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2016 01:18:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-a-Launcher-Error-while-executing-shell-action/m-p/111881#M38391</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-08-20T01:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting a Launcher Error while executing shell action in oozie workflow.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-a-Launcher-Error-while-executing-shell-action/m-p/111882#M38392</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It was an permission issue.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2016 11:42:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-a-Launcher-Error-while-executing-shell-action/m-p/111882#M38392</guid>
      <dc:creator>vijaykumar243</dc:creator>
      <dc:date>2016-08-20T11:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting a Launcher Error while executing shell action in oozie workflow.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-a-Launcher-Error-while-executing-shell-action/m-p/111883#M38393</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/11346/vijaykumar243.html" nodeid="11346"&gt;@Vijay Kumar J&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Can you please accept the answer.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2016 12:21:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-a-Launcher-Error-while-executing-shell-action/m-p/111883#M38393</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-08-20T12:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting a Launcher Error while executing shell action in oozie workflow.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-a-Launcher-Error-while-executing-shell-action/m-p/111884#M38394</link>
      <description>&lt;P&gt;well I too have exactly same error. I have checked permissions on my script and it has execute permissions. &lt;A rel="user" href="https://community.cloudera.com/users/11346/vijaykumar243.html" nodeid="11346"&gt;@Vijay Kumar J&lt;/A&gt; is it possible for you to elaborate how it was resolved ?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 06:02:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-a-Launcher-Error-while-executing-shell-action/m-p/111884#M38394</guid>
      <dc:creator>contactvivekjai</dc:creator>
      <dc:date>2018-07-19T06:02:54Z</dc:date>
    </item>
  </channel>
</rss>

