oozie java.io.ioexception:scheme:hdfs没有文件系统

r8xiu3jd  于 2021-05-27  发布在  Hadoop
关注(0)|答案(1)|浏览(435)

我已经用Hadoop2.7.3安装了Oozie4.3.1。
oozie已经成功安装并运行,并且能够看到web控制台http://localhost:11000/oozie/并使用oozie status命令进行确认。
问题1:在运行oozie示例时,在更改job.properties和相关详细信息后获取错误。名称节点=hdfs://localhost:9000作业跟踪器=localhost:8032

bin/oozie job -oozie http://localhost:11000/oozie -config $OOZIE_HOME/examples/apps/map-reduce/job.properties -run
``` `Error: E0902 : E0902: Exception occured: [No FileSystem for scheme: hdfs]` 问题2: `oozie admin -sharelibupdate` ```
[ShareLib update status]
    host = http://f091403isdpbato05:11000/oozie
    status = java.io.IOException: No FileSystem for scheme: hdfs

hdfs路径和其他与oozie相关的.xml文件也使用适当的配置进行了更新。
请告诉我前进的任何解决办法。

ecfsfe2w

ecfsfe2w1#

您可以尝试将以下内容添加到core-site.xml中:

<property>
   <name>fs.file.impl</name>
   <value>org.apache.hadoop.fs.LocalFileSystem</value>
   <description>The FileSystem for file: uris.</description>
</property>

<property>
   <name>fs.hdfs.impl</name>
   <value>org.apache.hadoop.hdfs.DistributedFileSystem</value>
   <description>The FileSystem for hdfs: uris.</description>
</property>

相关问题