zoukankan      html  css  js  c++  java
  • Directory /redeemer/hadoop-2.9.0/journaldata/ns1 is in an inconsistent state: Can't format the storage directory because the current directory is not empty.

    具体错误如下,执行

    hdfs namenode -format

    时报错,网上也没有答案,误打误撞吧问题解决了,说ns1这个目录已存在,所以我找到了ns1这个目录,然后删掉,再次格式化

    格式化之后还是一样的错误,然后仔细看两个错误的地址,是我的两个节点的地址,然后把所有报错的节点上的ns1这个目录全部删掉,再次格式化,成功!

  • 相关阅读:
    买不到的数目
    逆波兰表达式
    颠倒的价牌
    排它平方数
    寒假作业
    搭积木
    网友年龄
    九宫重排
    格子刷油漆
    高僧斗法
  • 原文地址:https://www.cnblogs.com/wangdaxianer/p/10470554.html
Copyright © 2011-2022 走看看