Namenode not getting started

前端 未结 21 2141
暗喜
暗喜 2020-11-28 19:32

I was using Hadoop in a pseudo-distributed mode and everything was working fine. But then I had to restart my computer because of some reason. And now when I am trying to st

21条回答
  •  时光说笑
    2020-11-28 19:52

    In core-site.xml:

        
           
              fs.defaultFS
              hdfs://localhost:9000
           
           
              hadoop.tmp.dir
              /home/yourusername/hadoop/tmp/hadoop-${user.name}
             
      
    
    

    and format of namenode with :

    hdfs namenode -format

    worked for hadoop 2.8.1

提交回复
热议问题