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的配置最后页末尾。

  • 相关阅读:
    列举些个建模软件及其crack方法
    解除Server2008远程桌面管理重重关卡
    VMware运行报错
    当下流行的分布式文件系统大阅兵
    Tomcat的目录结构详解
    从Windows Server文件服务到分布式文件服务
    cloudfoundry
    动态磁盘&动态卷
    管理日志(1):为什么要开会
    C# 面试题目 destructor可以是虚方法吗?
  • 原文地址:https://www.cnblogs.com/30go/p/13821193.html
Copyright © 2011-2022 走看看