Hadoop troubleshooting
When hadoop starts, it prompts the solution that JAVA_HOME is not set:
1. If an environment variable has been added to the system, it is also prompted that there is no environment variable for JAVA_HOME. At this point, you need to modify the configuration item of JAVA_HOME in the hadoop-env.sh file, directly to some absolute path, and save it.