Error "502 Bad Gateway" Is Reported During the Access to MRS Manager
Issue
Error 502 Bad Gateway is reported when a user attempts to access MRS Manager.
Symptom
In an MRS cluster with Kerberos authentication disabled, an error message is displayed when you access the MRS Manager page.

Cause Analysis
The MRS domain name is changed from console-emr to mrs. As a result, the link between the common cluster and MRS Manager is incorrect.
Procedure
- Log in to each Master node as user root.
- Go to the /opt/knox/conf/ directory and find the ext.properties file.
- Change the value of console-emr in the ext.properties file on all Master nodes to mrs.
- Go to the /opt/knox/bin/ directory and run the su - omm command to switch to user omm.
- Run the restart-knox.sh script to restart the knox service.
- Try to access MRS Manager again.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.