在hue里面執(zhí)行工作流的時候出現(xiàn)這個錯誤:
org.apache.oozie.action.ActionExecutorException: Could not locate Oozie sharelib
at org.apache.oozie.action.hadoop.JavaActionExecutor.addSystemShareLibForAction(JavaActionExecutor.java:731)
at org.apache.oozie.action.hadoop.JavaActionExecutor.addAllShareLibs(JavaActionExecutor.java:826)
at org.apache.oozie.action.hadoop.JavaActionExecutor.setLibFilesArchives(JavaActionExecutor.java:817)
at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:1061)
at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:1324)
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
網(wǎng)上找了一圈匈辱,沒找到相應的解決方案。執(zhí)行這個命令球涛,沒有可用的sharelib.
$ oozie admin -oozie http://namenode:11000/oozie -shareliblist
[Available ShareLib]
執(zhí)行oozie-setup.sh也提示錯誤劣针,沒記錄下錯誤日志。
這個問題我是通過在clouldera manager里面重新安裝oozie共享庫解決的宾符。如圖:
接下來重新查看oozie的share lib. 就可以看到內(nèi)容了酿秸。