2018-12-07 16:49:44,171 INFO org.apache.hadoop.util.GSet: capacity = 2^15 = 32768 entries
2018-12-07 16:49:44,174 WARN org.apache.hadoop.hdfs.server.common.Storage: Storage directory /usr/local/hadoop/tmp/dfs/name does not exist
2018-12-07 16:49:44,175 WARN org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Encountered exception loading fsimage
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /usr/local/hadoop/tmp/dfs/name is in an inconsistent state: storage directory does not exist or is not accessible.
at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverStorageDirs(FSImage.java:322)
at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:210)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1012)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:691)
首次部署hadoop ,namenode 格式化失败 storage directory does not exist or is not accessible
最新推荐文章于 2023-07-21 11:32:40 发布
在2018年12月尝试首次部署Hadoop时遇到了问题,namenode格式化失败,报错为'storage directory does not exist or is not accessible'。错误出现在尝试加载fsimage时,/usr/local/hadoop/tmp/dfs/name存储目录不存在或不可访问。解决方案包括检查配置文件和确保SSH无密码登录设置正确。
摘要由CSDN通过智能技术生成