There are 0 datanode(s) running and no node(s) are excluded in this operation

后端 未结 14 1851
清歌不尽
清歌不尽 2020-11-27 14:54

I have set up a multi node Hadoop Cluster. The NameNode and Secondary namenode runs on the same machine and the cluster has only one Datanode. All the nodes are configured o

14条回答
  •  南方客
    南方客 (楼主)
    2020-11-27 15:03

    In my situation, I was missing the necessary properties inside hdfs-site.xml (Hadoop 3.0.0) installed using HomeBrew on MacOS. (The file:/// is not a typo.)

    
        dfs.namenode.name.dir
        file:///usr/local/Cellar/hadoop/hdfs/namenode
    
    
    
        dfs.datanode.data.dir
        file:///usr/local/Cellar/hadoop/hdfs/datanode
    
    

提交回复
热议问题