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

后端 未结 5 1532
温柔的废话
温柔的废话 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:14

    This is a permissions issue. Either you can use 1. sudo 2. login as root

    But the best solution is

    sudo chown $HADOOP_HOME

    hadoop namenode -format

    Where HADOOP_HOME is your hadoop installation directory

提交回复
热议问题