关于hadoop:使用Hue的Shell脚本无法在Oozie上运行

Shell script is not working on Oozie using Hue

我正在使用Hue在Oozie上运行Shell脚本,当提交工作流作业时,显示以下错误:

1
2
3
Cannot run program"FileManipulation.sh"
(in directory"/hadoop/mapred/local/taskTracker/root/jobcache/job_201503271756_0277/attempt_201503271756_0277_m_000000_0/work"):
java.io.IOException: error=2, No such file or directory

可能是什么原因?


请检查包含FileManipulation.sh文件的目录权限。授予目录及其文件的所有readwriteexecute权限。还要在" Shell command "和" Files "中都添加Shell脚本的路径,有时这可能会导致相同的问题。