在oozie中不允许访问本地文件系统

5us2dqdw  于 2021-05-31  发布在  Hadoop
关注(0)|答案(0)|浏览(282)

我按照这个说明在hadoop2.6.5和ubuntu16.04上用oraclejava1.8.0安装了oozie4.3.1。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警告actionstartxcommand:523 - 服务器[hadoopmaster]用户[hduser]组[-]令牌[]应用程序[shell wf]作业[0000000-180429171130920-oozie-hdus-w]操作[0000000-180429171130920-oozie-hdus-w@shell-node]启动操作[shell节点]时出错。errortype[错误],errorcode[不支持操作异常],消息[unsupportedoperationexception:不允许访问本地文件系统]org.apache.oozie.action.ActionExecutionException:unsupportedoperationexception:不允许在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)在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)在java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor。java:624)在java.lang.thread.run(线程。java:748)原因:java.lang.unsupportedoperationexception:不允许访问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(文件系统)。java:91)在org.apache.hadoop.fs.filesystem$cache.getinternal(filesystem。java:2632)在org.apache.hadoop.fs.filesystem$cache.get(文件系统)。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:41648警告actionstartxcommand:523 - 服务器[hadoopmaster]用户[hduser]组[-]令牌[]应用程序[shell wf]作业[0000000-180429171130920-oozie-hdus-w]操作[0000000-180429171130920-oozie-hdus-w@shell-node]将操作状态设置为[完成]
谢谢你的帮助!

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题