Namenode not getting started

前端 未结 21 2100
暗喜
暗喜 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 20:03

    I was facing the issue of namenode not starting. I found a solution using following:

    1. first delete all contents from temporary folder: rm -Rf (my was /usr/local/hadoop/tmp)
    2. format the namenode: bin/hadoop namenode -format
    3. start all processes again:bin/start-all.sh

    You may consider rolling back as well using checkpoint (if you had it enabled).

提交回复
热议问题