CodePudding user response:
Which great god to help me, I just learn cluster structuresCodePudding user response:
This problem is a problem of the path, also is the problem of jreFirst 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: