Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What if the public network cannot access port 8088 of hadoop yarn in vmware?

Shulou Source: shulou.com Published: 2022-06-03 07:30:52 09月23日 Update

1. Check whether the resourcemanager service is started correctly.

If it is not started, check the yarn-site-xml configuration

2. If it is started

1. Check whether the client and the virtual machine can ping each other.

2. Check whether the virtual machine firewall is turned off

3. Investigation

1. First of all, all virtual machines and clients can communicate with ping before, and virtual machines can be connected to the external network, indicating that there is no problem with the network.

2. The firewall of each virtual machine has been turned off.

3. 22 ports and 50070 ports can be connected in the external network.

4. Solve

Discover by command: netstat-tpnl | grep java

Then it can be accessed through 127.0.0.1 ip 8088 on the local machine, so now it should be changed to the public network.

Description: public network IP:192.168.80.11

Go to the master host: change the / etc/hosts file:

Note: my own configuration is pseudo-distributed, what is configured in the configuration file is localhost, and I change it according to my own configuration. The virtual machine must be restarted after the change

Then restart the hadoop services:

Then use the netstat-tpnl | grep java command to view:

On the client, you can access it through the external network:

Problem solved.

Tags: Configuration check client port command file if yes problem service upper external network host inter distributed client client machine defense fire wall network firewall Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology vpn MariaDB Docker Shulou Information