Hi Raja,
Please check if your shell action looks like this one below(an working
example)
<action name="shellActionGenScript">¬
<shell xmlns="uri:oozie:shell-action:0.1">
<job-tracker>${jobTracker}</job-tracker>
<name-node>${nameNode}</name-node>
<exec>${YourShellScript}</exec>
<argument> ${myYear}</argument>
<argument>${myMonth}</argument>
<argument>${myDay}</argument>
<argument>${workflowRoot}/output/script</argument>
<file>${YourShellScript}#${YourShellScript}</file>
<capture-output/>
</shell>
${YourShellScript} is coming from job.properties
YourShellScript=${workflowRoot}/my_daily.sh
modify arguments based on your script¹s need.
Thanks
Sathi
On 9/23/14, 12:25 AM, "Raja.Aravapalli" <[email protected]> wrote:
>Hi,
>
>Shell actions are failing in YARN configuration with below exception
>message..
>
>Can someone please help in fixing this...?
>
>
>
>
>JA018 Cannot run program "unzip_hdfs_file.sh" (in directory
>"/data/9/yarn/nm/usercache/z013sqm/appcache/application_1411435203009_0028
>/container_1411435203009_0028_01_000003"): error=2, No such file or
>directory
>
>
>Regards,
>Raja.