[Solved] Hadoop Startup Error: Error: JAVA_HOME is not set and could not be found

1. First enter $JAVA_HOME in the shell. If it is not installed, you need to configure the Java environment variables with export first

2. Modify the JAVA_HOME in etc/hadoop/hadoop-env.sh

Similar Posts: