When creating an EMR cluster, if you do not check Enable Public Network Access for Cluster Master Node, you cannot access the WebUIs of relevant components through the native WebUI access addresses on the component management page. This document describes how to view native component WebUIs in a cluster where the public network access to master node is not enabled.
Private Network Access
You can use a browser to access a component's WebUI over the private network. Below are the links to native WebUIs of each component:
|
| http://{cluster private IP}:4008
|
| http://{cluster private IP}:5004
|
| http://{cluster private IP}:6001
|
| http://{cluster private IP}:7003
|
| http://{cluster private IP}:13000
|
| http://{cluster private IP}:6080
|
| http://{cluster private IP}:15001
|
| http://{cluster private IP}:12000
|
| http://{cluster private IP}:1800
|
| http://{cluster private IP}:9000
|
| http://{cluster private IP}:19999
|
Binding an EIP
You can bind an elastic public IP (EIP) to the master node by following the steps below to access component WebUIs from a browser over the public network:
1. Log in to the EMR Console, select Cluster List, and click the ID/Name of the target cluster to enter the cluster details page. Select the primary node to which an EIP binds in Cluster Resources ->Resource Management and click its Instance ID/Resource Name to enter the CVM Console. 2. Adjust the network bandwidth settings of the CVM instance to which the EIP will be bound and make sure that its bandwidth is not 0; otherwise, the node cannot be connected.
In the CVM instance list in the CVM Console, select More > Resource Adjustment > Adjust Network for the target instance.
Adjust the bandwidth upper limit to an appropriate value to ensure that the bandwidth of the CVM instance is greater than 0. 3. Click the ID of the CVM instance to enter its basic information page and switch to the ENI tab.
4. Click Bind to bind an existing EIP to the current CVM instance or create an EIP for binding.
After binding the EIP, in the ENI tab, you can see that there is EIP information in the "Bound Public IP" section of the primary ENI.
5. Check whether the CVM instance can be accessed over the public network.
You can use the ping
or ssh
command to check whether the EIP has taken effect. Make sure that the inbound rules of the security group allow ICMP and port 22.
6. Access the native WebUIs of components.
EMR v1.3.1, v2.0.1, v2.1.0, and v3.00 support Apache Knox, and access requests to native component WebUIs over the public network will pass through Knox by default. For specific UI links to each component and Knox usage, please see Knox Development Guide. Note
After an EIP is bound, the access addresses of native component WebUIs in the EMR Console will stay unchanged. If you need to change the addresses in the console, please submit a ticket for assistance.
Was this page helpful?