Mac configuration Hadoop pseudo-distributed environment

The overall configuration process refers to this blog , but an error occurs when the namenode is initialized JAVA_HOME @@HOMEBREW_JAVA@@ does not exist.. By consulting another blog, I found that the JAVA_HOME in the hadoop-env.sh file was not configured correctly. hadoop-env.sh fileAdd the configuration of JAVA_HOME to the file, and no error will be reported.


Reference:
https://blog.csdn.net/weixin_44570264/article/details/106872445
https://blog.csdn.net/weixin_45048331/article/details/109822493

Guess you like

Origin blog.csdn.net/LGL979643718/article/details/128765632