This topic describes how to access the web UI of Flink-VVP.

Prerequisites

A Dataflow cluster in Flink mode is created. For more information, see Create a cluster.

Limits

The version of the Dataflow cluster must be earlier than E-MapReduce (EMR) V3.36.X.

Procedure

  1. In the Alibaba Cloud EMR console, select an existing RAM user as an EMR user account. For more information, see Add a user account.
  2. Configure a security group rule.
    1. Obtain the public IP address of your on-premises machine.
      For security purposes, we recommend that you allow only access from the current public IP address when you configure a security group rule. You can visit http://myip.ipip.net/ to view your public IP address.
    2. Enable port 8443.
      1. In the Network Info section of the Cluster Overview page, click the link of Security Group ID.
      2. Click Add Security Group Rule.
      3. In the Add Security Group Rule dialog box, configure the parameters.
        1. Set Port Range to 8443/8443.
        2. Set Authorization Object to the public IP address obtained in Step a.
      4. Click OK.
  3. Add the EMR cluster to an existing security group. For more information, see Add an instance to a security group.
  4. Access the web UI of Flink-VVP.
    1. Log on to the Alibaba Cloud EMR console.
    2. In the top navigation bar, select the region where your cluster resides and select a resource group based on your business requirements.
    3. Click the Cluster Management tab.
    4. On the Cluster Management page, find your cluster and click Details in the Actions column.
    5. In the left-side navigation pane of the Cluster Overview page, click Connect Strings.
    6. On the Public Connect Strings page, find the Flink-VVP component and click its link to access the web UI.

FAQ

  • Q: What do I do if an error with HTTP status code 500 or the following error message appears when I access the web UI of Flink-VVP? Error 1
  • A: Perform the following steps:
    1. Go to the Configure tab on the HDFS service page in the EMR console. Search for the hadoop.http.authentication.simple.anonymous.allowed parameter in the Configuration Filter section and change the value of this parameter to true. hdfs
    2. Restart the YARN service.
      1. On the YARN service page, choose Actions > Restart ResourceManager in the upper-right corner.
      2. In the Cluster Activities dialog box, specify Description and click OK.
      3. In the Confirm message, click OK.
    3. Restart the Flink service.
      1. On the Flink service page, choose Actions > Restart All Components in the upper-right corner.
      2. In the Cluster Activities dialog box, specify Description and click OK.
      3. In the Confirm message, click OK.