我按照这条指令在hadoop 2.6.5上安装了oozie 4.3.1,在oracle java 1.8.0上安装了ubuntu 16.04。 https://www.iamjrp.com/2017/installing-oozie/我有3个hadoop节点,一个主节点和两个从节点。我使用此示例来测试我的安装:https://oozie.apache.org/docs/4.3.0/DG_Examples.html 由于此错误,工作流程未启动: 2018-04-29 17:11:41,646 WARN ActionStartXCommand:523 - SERVER [hadoopmaster] USER [hduser] GROUP [ - ] TOKEN [] APP [shell-wf] JOB [0000000-180429171130920-oozie-hdus-W]行动[ 0000000-180429171130920-oozie-hdus-W @ shell-node]启动操作[shell-node]时出错。 ErrorType [错误],ErrorCode [UnsupportedOperationException],消息[UnsupportedOperationException:不允许访问本地文件系统] org.apache.oozie.action.ActionExecutorException:UnsupportedOperationException:不允许访问本地文件系统 at org.apache.oozie.action.ActionExecutor.convertException(ActionExecutor.java:446) 在org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:1204) 在org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:1386) 在org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:234) 在org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:65) 在org.apache.oozie.command.XCommand.call(XCommand.java:287) 在org.apache.oozie.service.CallableQueueService $ CompositeCallable.call(CallableQueueService.java:332) 在org.apache.oozie.service.CallableQueueService $ CompositeCallable.call(CallableQueueService.java:261) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 在org.apache.oozie.service.CallableQueueService $ CallableWrapper.run(CallableQueueService.java:179) 在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624) 在java.lang.Thread.run(Thread.java:748) 引起:java.lang.UnsupportedOperationException:不允许访问本地文件系统 at org.apache.hadoop.fs.RawLocalFileSystem.initialize(RawLocalFileSystem.java:48) 在org.apache.hadoop.fs.LocalFileSystem.initialize(LocalFileSystem.java:47) 在org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2598) 在org.apache.hadoop.fs.FileSystem.access $ 200(FileSystem.java:91) at org.apache.hadoop.fs.FileSystem $ Cache.getInternal(FileSystem.java:2632) 在org.apache.hadoop.fs.FileSystem $ Cache.get(FileSystem.java:2614) 在org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370) 在org.apache.hadoop.fs.FileSystem.get(FileSystem.java:169) 在org.apache.oozie.service.ShareLibService.updateShareLib(ShareLibService.java:554) 在org.apache.oozie.service.ShareLibService.getShareLibJars(ShareLibService.java:366) 在org.apache.oozie.service.ShareLibService.getSystemLibJars(ShareLibService.java:432) 在org.apache.oozie.action.hadoop.JavaActionExecutor.addSystemShareLibForAction(JavaActionExecutor.java:756) 在org.apache.oozie.action.hadoop.JavaActionExecutor.addAllShareLibs(JavaActionExecutor.java:853) 在org.apache.oozie.action.hadoop.JavaActionExecutor.setLibFilesArchives(JavaActionExecutor.java:844) 在org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:1095) ......还有11个 2018-04-29 17:11:41,648 WARN ActionStartXCommand:523 - SERVER [hadoopmaster] USER [hduser] GROUP [ - ] TOKEN [] APP [shell-wf] JOB [0000000-180429171130920-oozie-hdus-W]行动[ 0000000-180429171130920-oozie-hdus-W @ shell-node]将操作状态设置为[DONE]
感谢您的帮助!