Datanode process not running in Hadoop

前端 未结 30 2310
慢半拍i
慢半拍i 2020-12-04 09:02

I set up and configured a multi-node Hadoop cluster using this tutorial.

When I type in the start-all.sh command, it shows all the processes initializing properly as

30条回答
  •  眼角桃花
    2020-12-04 09:14

    Instead of deleting everything under the "hadoop tmp dir", you can set another one. For example, if your core-site.xml has this property:

    
      hadoop.tmp.dir
      /home/hduser/data/tmp
    
    

    You can change this to:

    
      hadoop.tmp.dir
      /home/hduser/data/tmp2
    
    

    and then scp core-site.xml to each node, and then "hadoop namenode -format", and then restart hadoop.

提交回复
热议问题