找不到 oozie 共享库

could not locate oozie share lib

我的 oozie 工作的详细信息如下:

我收到以下错误:

57-oozie-oozi-W@MR] Error starting action [MR]. ErrorType [FAILED], ErrorCode [EJ001], Message [Could not locate Oozie sharelib]
org.apache.oozie.action.ActionExecutorException: Could not locate Oozie sharelib
    at org.apache.oozie.action.hadoop.JavaActionExecutor.addSystemShareLibForAction(JavaActionExecutor.java:603)
    at org.apache.oozie.action.hadoop.JavaActionExecutor.addAllShareLibs(JavaActionExecutor.java:698)
    at org.apache.oozie.action.hadoop.JavaActionExecutor.setLibFilesArchives(JavaActionExecutor.java:689)
    at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:884)
    at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:1135)
    at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:228)
    at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:63)  

我已经把lib放在了/user/root,user/oozie,但是还是找不到。

引用 Oozie 文档,MapReduce 操作不应该关心共享库:

The Oozie sharelib TAR.GZ file bundled with the distribution contains the necessary files to run Oozie map-reduce streaming, pig, hive, sqooop, and distcp actions ... other actions (mapreduce, shell, ssh, and java) do not require the sharelib to be installed.

无论如何,共享库的根目录应该类似于

/user/oozie/share/lib/

您的设置可能缺少 "share" 部分(参见 Quick Start

如果您想尝试非默认位置,请查看 "sharelib create" 命令的文档,以及有关 Oozie 服务器配置的详细信息。

http://oozie.apache.org/docs/4.1.0/AG_Install.html#Oozie_Share_Lib 加上 #Oozie_Server_Setup