The main achievement today is to run hadoop on the local machine,
In fact, this is not complicated. Just do it one step at a time according to the instructions in the tutorials on the official website.
Previously, I thought hadoop was a very complicated thing, so I searched and read a lot of information on the Internet. It was quite simple to use it, but "the details are the Devil ", it's really hard to figure out the details! It's only useful.
Official Website: http://www.hadoop.com
Start from here: http://hadoop.apache.org/common/docs/r0.20.203.0/
There is a small difficulty in the process. When hadoop is started, the following errors may occur sometimes depending on the JDK version of the local machine:
Unrecognized option:-JVM cocould not create the Java Virtual Machine.
The original cause is like the description. The JVM does not have the-JVM parameter. Because the JVM parameter is not a standard, JDK of different versions may be different. The solution is, change the JVM of more than 220th rows in the hadoop STARTUP script (\ bin \ hadoop) to-client. If not, simply delete the row's judgment, then you can start it successfully.
Solution:
The solution "-JVM server" is changed to "-server", which is caused by root.