无法为hadoop(win7)启动namenode

pcrecxhr  于 2021-05-27  发布在  Hadoop
关注(0)|答案(0)|浏览(265)

我已经在windows上安装了hadoop,现在尝试格式化namenode时出现了一个错误。是什么原因造成的?

ERROR namenode.NameNode: Failed to start namenode.
   java.lang.UnsupportedOperationException
            at java.nio.file.Files.setPosixFilePermissions(Files.java:2044)
            at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:452)
            at org.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:591)
            at org.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:613)
            at org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:188)
            at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1206)
            at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1649)
            at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1759)
    2019-10-05 00:10:16,630 INFO util.ExitUtil: Exiting with status 1: java.lang.UnsupportedOperationException

暂无答案!

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

相关问题