The first is the Linux build hadoop!
First put out a problem, has not been resolved, passing people can help!
Initially it was younger, the first time I installed my password, and all my passwords under Linux were unified, and I installed Hadoop, In the execution of the start-all.sh command, you need to open ssh, this time I need to enter the password, but the input is not correct, this is the 1th! Then I removed the ssh, reinstall, want to set up SSH password-free login, but an open ssh need password, and the password with the first set of the same, finally I dpkg all the names with SSH to delete, re-install the attempt again, the results still fail!!! Bothered me for three days!! Finally delete the virtual machine! Re-install the virtual machine! But in the future to do the deep can not encounter problems on the removal of virtual machines, always to solve, so seek the great god advice!!!
Re-get the virtual machine and start all over again.
http://blog.sina.com.cn/s/blog_61ef49250100uvab.html#cmt_1891963
This blog is very good, basically can be exactly the same as the Bo Master to operate, but! Inside the second step, install Java we want to do, that is to install a newer version of the JDK, this Baidu a lot, very simple!
And the blogger's download Hadoop, I'm following this video.
http://www.imooc.com/learn/391
Because there's no need for a very new version of Hadoop, it's just the one step to download Hadoop I follow this video, but the steps to configure Hadoop files follow the steps in the first blog
And then it went well to install Hadoop, but in the execution of the start-all.sh, I encountered this problem.
As you can see clearly, the first error after executing the start-all.sh command is
mkdir Cannot create directory '/usr/local/hadoop/logs ':P ermission denied
Insufficient authority?! I was drunk, and then kept trying, for example, into the root of the implementation of start-all.sh, really novice younger, did not get out for three hours, but also Baidu, and finally kept asking experienced people, or no solution! finally can only carefully to see the mistake, have found in mkdir above also has a warning, so go Baidu this warning, finally disorderly find need thisExport hadoop_home_warn_suppress= "TRUE" to add to hadoop-env.sh
And then there's this thing.
need to grant the current user permissions to the Hadoop folder!!! Of course, you can authorize it .
sudo chown-r user name [install directory]
It's been a week for me to have a few broken questions! Learning this sincerity is not easy, a little mistake can not, and their own speed to find the configuration tutorial is really important!!! Hope to meet with me the same problem of people a convenience!
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Learn about Hadoop problems recently! It's small but disgusting! At the same time seek advice!!!