在Linux下配置Hadoop出现localhost: Error: JAVA_HOME is not set and could not be found.
Startingnamenodeson[]localhost:Error:JAVA_HOMEisnotsetandcouldnotbefound.localhost:Error:JAVA_HOMEisnotsetandcouldnotbefound....startingyarndaemonsstartingresourcemanager,loggingto/home/lihanhui/open-