hadoop java.io.IOException: while running namenode -format

后端 未结 5 1603
温柔的废话
温柔的废话 2020-12-30 07:28

I ran namenode -format.This is my output. I tried changing the file permissions chmod 777 hadoop.

I believe this line is the error ERROR namenode.NameNode: java.io

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-30 08:03

    Following steps resolved my problem -

    1- sudo su

    Enter your password.

    2-/usr/local/hadoop/bin/hdfs namenode -format.

    This has been done for hadoop2.5 in which "hadoop namenode -format" has beendeprecated hence using "hdfs namenode -format"

提交回复
热议问题