Laurel Laurel - 1 year ago 125
Bash Question

Shell script is not working on Oozie using Hue

I am running Shell script on Oozie using Hue, when the workflow job is submitted the following error is shown:

Cannot run program ""
(in directory "/hadoop/mapred/local/taskTracker/root/jobcache/job_201503271756_0277/attempt_201503271756_0277_m_000000_0/work"): error=2, No such file or directory

What could be the reason ?

Answer Source

Please check directory permission containing file. Give all read, write and execute permissions to directory and its file. Also add path to the shell script in both "Shell command" as well as "Files", sometimes this may cause same problem.