hdfs data node disconnected from namenode

前端 未结 4 550
清歌不尽
清歌不尽 2021-01-02 16:07

I get from time to time the following errors in cloudera manager:

This DataNode is not connected to one or more of its NameNode(s). 

and

4条回答
  •  南方客
    南方客 (楼主)
    2021-01-02 17:08

    If you're using Linux then please make sure that you have configured these properties correctly:

    1. Disable SELINUX

    type the command getenforce on CLI and if it shows enforcing, means it is enabled. Change it fro /etc/selinux/config file.

    1. Disable Firewall

    2. Make sure you have NTP service installed.

    3. Make sure your server can SSH to all client nodes.

    4. Make sure all the nodes have FQDN(Fully Qualified Domain Name) and have an entry in /etc/hosts with name and IP.

    If these settings are right in the place then please attach the log of any of your datanode which got disconnected.

提交回复
热议问题