Namenode not getting started

前端 未结 21 2136
暗喜
暗喜 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

    I ran into the same thing after a restart.

    for hadoop-2.7.3 all I had to do was format the namenode:

    /bin/hdfs namenode -format
    

    Then a jps command shows

    6097 DataNode
    755 RemoteMavenServer
    5925 NameNode
    6293 SecondaryNameNode
    6361 Jps
    

提交回复
热议问题