在SSH操作中运行oozie作业时,我遇到以下错误
请帮我解决一下,
JOB[0000117-160531014243114-oozie-oozi-W] ACTION[0000117-160531014243114-oozie-oozi-W@load_hadoop] Attempting to copy ssh base scripts to remote host [jithin@edgenode]
2016-07-20 05:10:10,834 WARN SshActionExecutor:523 - SERVER[masternode.cityanalytics.ibm.com] USER[jithin] GROUP[-] TOKEN[] APP[Dallas_Test] JOB[0000117-160531014243114-oozie-oozi-W] ACTION[0000117-160531014243114-oozie-oozi-W@load_hadoop] Error while executing ssh EXECUTION
2016-07-20 05:10:10,834 WARN ActionStartXCommand:523 - SERVER[masternode.cityanalytics.ibm.com] USER[jithin] GROUP[-] TOKEN[] APP[Dallas_Test] JOB[0000117-160531014243114-oozie-oozi-W] ACTION[0000117-160531014243114-oozie-oozi-W@load_hadoop] Error starting action [load_hadoop]. ErrorType [TRANSIENT], ErrorCode [FNF], Message [FNF: Required Local file /var/tmp/oozie/oozie-oozi7179698092277115649.dir/ssh/ssh-base.sh not present.]
org.apache.oozie.action.ActionExecutorException: FNF: Required Local file /var/tmp/oozie/oozie-oozi7179698092277115649.dir/ssh/ssh-base.sh not present.
at org.apache.oozie.action.ssh.SshActionExecutor.execute(SshActionExecutor.java:572)
at org.apache.oozie.action.ssh.SshActionExecutor.start(SshActionExecutor.java:206)
at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:250)
at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:64)
at org.apache.oozie.command.XCommand.call(XCommand.java:286)
at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Required Local file /var/tmp/oozie/oozie-oozi7179698092277115649.dir/ssh/ssh-base.sh not present.
at org.apache.oozie.action.ssh.SshActionExecutor.setupRemote(SshActionExecutor.java:367)
at org.apache.oozie.action.ssh.SshActionExecutor$1.call(SshActionExecutor.java:208)
at org.apache.oozie.action.ssh.SshActionExecutor$1.call(SshActionExecutor.java:206)
at org.apache.oozie.action.ssh.SshActionExecutor.execute(SshActionExecutor.java:550)
... 8 more
答案 0 :(得分:1)
通过重新启动oozie服务器可以解决此问题。有人可能已从oozie服务器中删除了所需的文件夹和文件。重新启动oozie服务器后,oozie将创建此文件夹目录结构,并将复制ssh-wrapper.sh和ssh-base.sh文件。然后它开始处理工作。
答案 1 :(得分:1)
在使用ssh操作运行我的工作流程时,我遇到了类似的问题。
问题: FNF:必需的本地文件/var/tmp/oozie/oozie-oozi3389039347561142826.dir/ssh/ssh-base.sh不存在。
我重新启动了oozie服务器并修复了问题。
谢谢!