Workaround:
1, through the lsof-i:50070 (Lsof can be installed through the Yum install lsof), found that MySQL is occupied
2. Modify the MySQL port
Copy from/usr/share/mysql/my-default.cnf to/etc/my.cnf file; Modify the/etc/my.cnf file as follows
If you think reading this blog gives you something to gain, you might want to click " recommend " in the lower right corner.
If you want to find my new blog more easily, click on " Follow me " in the lower left corner.
If you are interested in what my blog is talking about, please keep following my follow-up blog, I am " Liu Chao ★ljc".
This article is copyright to the author and the blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility.
Hadoop error Namenode. NameNode (Namenode.javamain (1657))-Failed to start NameNode java.net.BindException:Port in use:host1:50070