Oozie的SSH行動問題:
問題: 我們正在嘗試我們的集羣的特定主機上運行一些命令。我們同樣選擇了SSH Action。一段時間以來,我們一直面臨着這個SSH問題。這裏真正的問題是什麼?請指點我的解決方案。Oozie的SSH行動
日誌:
AUTH_FAILED:不能夠執行操作[SSH -o的PasswordAuthentication =沒有-o KbdInteractiveDevices =沒有-o StrictHostKeyChecking =沒有-o ConnectTimeout = 20 [email protected] MKDIR -p Oozie的-oozi/0000000-131008185935754-oozie-oozi-W/action1 - ssh /] | ErrorStream:警告:永久添加主機,1.2.3.4(RSA)到已知主機列表。權限被拒絕(publickey,gssapi-keyex,gssapi-with-mic,密碼)。
org.apache.oozie.action.ActionExecutorException:AUTH_FAILED:不能夠執行操作[SSH -o的PasswordAuthentication =沒有-o KbdInteractiveDevices =沒有-o StrictHostKeyChecking =沒有-o ConnectTimeout = 20 [email protected] MKDIR - p oozie-oozi/0000000-131008185935754-oozie-oozi-W/action1 - ssh /] | ErrorStream:警告:將1.2.3.4,192.168.34.208(RSA)永久添加到已知主機的列表中。 權限被拒絕(publickey,gssapi-keyex,gssapi-with-mic,密碼)。
at org.apache.oozie.action.ssh.SshActionExecutor.execute(SshActionExecutor.java:589)
at org.apache.oozie.action.ssh.SshActionExecutor.start(SshActionExecutor.java:204)
at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:211)
at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:59)
at org.apache.oozie.command.XCommand.call(XCommand.java:277)
at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:326)
at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:255)
at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
引起:java.io.IOException的:不能夠執行操作[SSH -o的PasswordAuthentication =沒有-o KbdInteractiveDevices =沒有-o StrictHostKeyChecking =沒有-o ConnectTimeout = 20 [email protected] MKDIR - p oozie-oozi/0000000-131008185935754-oozie-oozi-W/action1 - ssh /] | ErrorStream:警告:將「1.2.3.4,1.2.3.4」(RSA)永久添加到已知主機列表中。 權限被拒絕(publickey,gssapi-keyex,gssapi-with-mic,密碼)。
at org.apache.oozie.action.ssh.SshActionExecutor.executeCommand(SshActionExecutor.java:340)
at org.apache.oozie.action.ssh.SshActionExecutor.setupRemote(SshActionExecutor.java:373)
at org.apache.oozie.action.ssh.SshActionExecutor$1.call(SshActionExecutor.java:206)
at org.apache.oozie.action.ssh.SshActionExecutor$1.call(SshActionExecutor.java:204)
at org.apache.oozie.action.ssh.SshActionExecutor.execute(SshActionExecutor.java:547)
... 10 more
2013年10月9日12:48:25982 WARN org.apache.oozie.command.wf.ActionStartXCommand:USER [用戶]甲基[ - ] TOKEN [] APP [測試] JOB [0000000-131008185935754 -oozie-oozi-W] ACTION [0000000-131008185935754-oozie-oozi-W @ action1]暫停工作流作業id = 0000000-131008185935754-oozie-oozi-W WARNING org.apache .oozie.command.coord.CoordActionUpdateXCommand:USER [user] GROUP [ - ] TOKEN [] APP [Test] JOB [0000000-131008185935754-oozie-oozi-W] ACTION [0000000-131008185935754-oozie-oozi-W @ action1] E1100:命令前置條件在執行前不成立,[,coord動作爲空],錯誤代碼:E1100信息org.apache.oozie.command.wf.KillXCommand:USER [user] GROUP [ - ] TOKEN [] APP [Test] JOB [0000000-13操作[ - ] STARTED WorkflowKillXCommand for jobId = 0000000-131008185935754-oozie-oozi-W 2013-10-09 12:59:57,685 WARN org.apache.oozie.command.coord.CoordActionUpdateXCommand: USER [用戶] GROUP [ - ] TOKEN [] APP [測試] JOB [0000000-131008185935754-oozie-oozi-W] ACTION [ - ] E1100:命令前置條件在執行前不成立,[,coord動作爲空]代碼:E1100 2013-10-09 12:59:57,686 INFO org.apache.oozie.command.wf.KillXCommand:USER [user] GROUP [ - ] TOKEN [] APP [Test] JOB [0000000-131008185935754-oozie- oozi-W] ACTION [ - ] ENDED WorkflowKillXCommand for jobId = 0000000-131008185935754-oozie-oozi -W 2013-10-09 13:41:32,654 WARN org.apache.oozie.command.wf.KillXCommand:USER [user] GROUP [ - ] TOKEN [] APP [Test] JOB [0000000-131008185935754-oozie-oozi-W]操作[ - ] E0725:工作流實例無法被殺死,0000000-131008185935754-oozie-oozi-W,錯誤代碼:E0725 2013-10-09 13:41:45,199 WARN org.apache.oozie.command.wf.KillXCommand:USER [user] GROUP [ - ] TOKEN [] APP [Test] JOB [0000000-131008185935754-oozie-oozi-W ]行動[ - ] E0725:工作流實例無法被殺死,0000000-131008185935754-oozie-oozi-W,錯誤代碼:E0725 2013-10-09 13:42:04,869 WARN org.apache.oozie.command.wf。ResumeXCommand:USER [user] GROUP [ - ] TOKEN [] APP [Test] JOB [0000000-131008185935754-oozie-oozi-W]操作[ - ] E1100:命令前置條件在執行前不成立,[工作流狀態爲KILLED SUSPENDED],錯誤代碼:E1100 2013-10-09 13:45:56,357 WARN org.apache.oozie.command.wf.KillXCommand:USER [user] GROUP [ - ] TOKEN [] APP [Test] JOB [0000000- 131008185935754-Oozie的-oozi-W] ACTION [ - ] E0725:工作流實例不能被殺死,0000000-131008185935754-Oozie的-oozi-W,錯誤代碼:E0725
走近嘗試:
- 無密碼SSH套裝
- 個用戶代理設置
- 給予權限所需的文件夾
感謝;
Kasa。
面臨完全相同的問題 – learner