Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], main() threw exception, Cannot run program “test.sh” (in directory “/hadoop/yarn/local/usercache/chaitya4129753/appcache/application_1507459432053_1170/container_e114_1507459432053_1170_01_000002”): error=2, No such file or directory
Hi Chaitya,
Could you help me understand the steps that you are following?
I just tested the same it worked fine. Here are the screenshots.
Please note that I did the following:
- Created the shell script oozie_test.sh and uploaded in HDFS
- Made it executable with command:
hadoop fs -chmod 755 oozie_test.sh
- In the Hue Oozie worflow editor, I dragged and dropped the shell widget
- In the shell command box, I selected my script using browse button “…” and clicked on “ADD”
- After that in the “files” text box, I selected the same script again.
I hope that helps.
1 Like