zoukankan      html  css  js  c++  java
  • cdh中oozie配置org.apache.oozie.action.ActionExecutorException以及时区问题

    org.apache.oozie.action.ActionExecutorException: AUTH_FAILED: Not able to perform operation [ssh -o PasswordAuthentication=no -o KbdInteractiveDevices=no -o StrictHostKeyChecking=no -o ConnectTimeout=20 hadoop@dwpro-name1  mkdir -p oozie-oozi/0000004-201015144247965-oozie-oozi-W/ssh-4911--ssh/ ] | ErrorStream: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
    
        at org.apache.oozie.action.ssh.SshActionExecutor.execute(SshActionExecutor.java:615)
        at org.apache.oozie.action.ssh.SshActionExecutor.start(SshActionExecutor.java:219)
        at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:232)
        at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:63)
        at org.apache.oozie.command.XCommand.call(XCommand.java:286)
        at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:332)
        at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:261)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:179)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
    Caused by: java.io.IOException: Not able to perform operation [ssh -o PasswordAuthentication=no -o KbdInteractiveDevices=no -o StrictHostKeyChecking=no -o ConnectTimeout=20 hadoop@dwpro-name1  mkdir -p oozie-oozi/0000004-201015144247965-oozie-oozi-W/ssh-4911--ssh/ ] | ErrorStream: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

    1. 错误问题解决方法

    vi /etc/passwd
    oozie:x:973:967:Oozie User:/var/lib/oozie:/bin/false
    改为oozie:x:973:967:Oozie User:/var/lib/oozie:/bin/bash 
    然后就可以执行:su - oozie啦
    ssh-keygen
    生成秘钥:
    su - hadoop
    cat /var/lib/oozie/.ssh/id_rsa.pub >> /home/hadoop/.ssh/authorized_keys
    验证免密登录:
    su - oozie 
    ssh hadoop@dwpro-name1就可以啦!

    2. 时区问题

    这个在oozie的配置最后页末尾。

  • 相关阅读:
    Java之基础(1)
    Java之架构(0)
    Android Exception 11(baidumapsdk(15405): Authentication Error errorcode: 102 uid)
    Android Exception 10(server)' ~ Channel is unrecoverably broken and will be disposed!)
    IOS Exception 1(libc++abi.dylib: terminating with uncaught exception of type NSException)
    Android Exception 9(requestFeature() must be called before adding content)
    Android Exception 8(Couldn't read row 0, col -1 from CursorWindow)
    简洁的BP及RBF神经网络代码
    Android实现一键获取课程成绩dome
    hdu 5371 Hotaru's problem【manacher】
  • 原文地址:https://www.cnblogs.com/30go/p/13821193.html
Copyright © 2011-2022 走看看