Home > other >  Use HDFS centos7 hadopp2.7.7 namenode format is wrong
Use HDFS centos7 hadopp2.7.7 namenode format is wrong

Time:10-11

No files or directories

CodePudding user response:

Which great god to help me, I just learn cluster structures

CodePudding user response:

This problem is a problem of the path, also is the problem of jre

First you try this simple action
Open your hadoop - env. Sh is (roughly) under the name of environment variables, and then join your jre path here
A new line of input export JAVA_HOEM=/... Jre

And then re-execute HDFS namenode - the format
Ok,
If still can't solve, then add the path of the jre to the Linux global variable to
It is ok to/etc/profile file

CodePudding user response:

reference 1st floor qq_44946526 response:
which great god to help me, I just learned cluster set up
has been explained, no files or directories is can't find an executable. Env
Also, do not use Chinese, please use English,

CodePudding user response:

Hadoop - env. Sh didn't join the path of the JDK/etc/profile inside the configured JDK path to copy a hadoop - env. Sh reformatting
  • Related