zoukankan      html  css  js  c++  java
  • 部署CM集群首次运行报错:Formatting the name directories of the current NameNode.

    1. 报错提示

    Formatting the name directories of the current NameNode. If the name directories are not empty, this is expected to fail.

    2. 问题原因

    之前的namenode格式化了,所以这次不能格式化,需要把原来格式化的删除。

    3. 解决方法

    1)在/dfs目录下有dn或者nn

    [root@hadoop101 dfs]# ls /dfs/
    nn snn

    删除三台机器(所有机器)的/dfs目录

    rm -rf /dfs/

    2)然后点击retry即可

    参考:https://blog.csdn.net/u010886217/article/details/85333016

  • 相关阅读:
    HDU
    POJ
    快速幂运算
    RocketMQ集群
    RocketMQ角色介绍
    RocketMQ初探
    MySQL 串行隔离级别小记
    分布式事务笔记
    MySQL分库分表篇
    MySQL主从篇
  • 原文地址:https://www.cnblogs.com/MWCloud/p/11366117.html
Copyright © 2011-2022 走看看