Help Center> MapReduce Service> Troubleshooting> Using Hue> Failed to Access the Hue Web UI
Updated on 2023-11-30 GMT+08:00

Failed to Access the Hue Web UI

Issue

An error page is displayed when the Hue web UI is accessed.

Symptom

The following error information is displayed for access to the Hue web UI:

503 Service Unavailable
The server is temporarily unable to service your requster due to maintenance downtime or capacity problems.Please try again later.

Cause Analysis

The floating IP address of Hue is faulty.

Procedure

  1. Log in to Manager, choose Cluster > Services > Hue > Configurations, search for HUE_FLOAT_IP, and view the floating IP address configured for Hue.
  2. Connect to the active Hue instance node and check whether the active instance is bound to the NIC of the floating IP address.

    ifconfig | grep -A2 HUE | grep <Floating IP address>

    • If yes, the command output is not empty and the active instance is bound to the floating IP address. Then, go to 4.
    • If no, the command output is empty and the active instance is not bound to the floating IP address. Then, go to 3.

  3. Connect to the active Hue instance node and bind it to the NIC of the floating IP address. You can obtain the NIC, floating IP address, and subnet mask of the node from the NIC information corresponding to the local IP address in the ifconfig command output.

    ifconfig <NIC of the node>:HUE <Floating IP address> netmask <Subnet mask>

  4. Connect to the active OMS node, try to connect to the floating IP address, and check whether the current host name is the name of the active Hue instance node.

    su - omm

    ssh <Floating IP address>

    • If yes, the floating IP address is normal. If the Hue web UI still cannot be accessed, contact technical support.
    • If no, the floating IP address is occupied. Go to 5.

  5. Log in to all other nodes except the active Hue instance in the cluster and run the following command to check whether they occupy the floating IP address of Hue:

    ifconfig | grep -B2 <Floating IP address>

    • If yes, run the ifconfig <NIC name > down command to unbind the NIC and then go to 6.
    • If no, contact technical support.

  6. Repeat 4 to 5 until you can connect to the active Hue instance using the floating IP address and access the Hue web UI.