Hadoop 3.1.1 Cannot access the Web interface of HDFs (50070)

Source: Internet
Author: User

1. Start Hadoop. Then Netstat-nltp|grep 50070, if the process is not found, the port modification without configuring the Web interface is hdfs-site,xml with the following configuration

If you use the hostname: port number, go first to check the hostname under/etc/hosts IP, whether configured and your current IP is the same, and then restart Hadoop

2. Now in the virtual machine to try to access hadoop002:50070, if not access, it is estimated that the sellinux problem is to execute the following command Setenforce 0 (set to permissive mode) and then re-access within the virtual machine, this should be able to access the normal

3. However, the external host is inaccessible at this time, indicating that the Linux firewall does not open 50070 ports, the simple and brutal way is to turn off the firewall sudo service iptables Stop also one way is to modify the firewall configuration file open 50070 port execute the following command

sudo vi/etc/sysconfig/iptables, plus this line-I input-m State--state new-m tcp-p TCP--dport 50070-j ACCEPT

sudo service iptables Restart Restart Firewall services after modification is complete

4. Enter the host name in the host browser at this time: Port can be accessed, if not, to modify the hosts in the host file C:\Windows\System32\drivers\etc\hosts IP, Remain consistent with the host IP in the virtual machine and then re-access it

Hadoop 3.1.1 Cannot access the Web interface of HDFs (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.