namenode, datanode not list by using jps

前端 未结 6 1777
走了就别回头了
走了就别回头了 2021-01-03 02:50

Environment: ubuntu 14.04, hadoop 2.6

After I type the start-all.sh and jps, DataNode doesn\'t list on the terminal



        
6条回答
  •  旧巷少年郎
    2021-01-03 03:15

    Solution is first stop your namenode using go to your /usr/local/hadoop

    bin/hdfs namenode -format

    then delete hdfs and tmp directory from your home

    mkdir ~/tmp
    mkdir ~/hdfs
    chmod 750 ~/hdfs
    

    goto hadoop directory and start hadoop

    `sbin/start-dfs.sh`
    

    it will show the datanode

提交回复
热议问题