Hadoop error Namenode. NameNode (Namenode.javamain (1657))-Failed to start NameNode java.net.BindException:Port in use:host1:50070

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.