namenode, datanode not list by using jps

前端 未结 6 1774
走了就别回头了
走了就别回头了 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:00

    I faced the similar problem, jps was not showing datanode.

    Removing the content of hdfs folder and changing folder permission worked out for me.

    sudo rm -r /usr/local/hadoop_store/hdfs/*
    sudo chmod -R 755 /usr/local/hadoop_store/hdfs    
    hadoop namenode =format
    start-all.sh
    jps
    

提交回复
热议问题