Problems encountered under hadoop

invalid argument

  When a virtual machine hadoop execution stop-all.sh encountered invalid argument, my host called 111, but the actual use of time, not 111, to use the IP address: 192.168.192.111, for example: ssh 192.168.192.111

localhost: ERROR: JAVA_HOME is not set and could not be found.

 

  In hadoop directory, vi etc / hadoop / hadoop-env.sh, find the java implementation to use in it. Plus below it

  export JAVA_HOME=/usr/local/jdk  

  (Note: The preceding export if the "#" symbol, to delete). hadoop is a java-based, need java_home path.

Guess you like

Origin www.cnblogs.com/zqfdgzrc/p/11303476.html