Help Center> MapReduce Service> Troubleshooting> Using Yarn> Error "ERROR 500" Is Displayed When Queue Information Is Queried on the Yarn Web UI
Updated on 2023-11-30 GMT+08:00

Error "ERROR 500" Is Displayed When Queue Information Is Queried on the Yarn Web UI

Symptom

When Yarn uses the Capacity scheduler, ERROR 500 is reported after a user clicks a queue name on the Yarn web UI.

HTTP ERROR 500 javax.servlet.ServletException: javax.servlet.ServletException: java.lang.IllegalArgu mentException:
Illegal character in queryat index 81: https://XXX:20026/Yarn/ResourceManager/21/cluster/scheduler?
openQueues= ^default$

Cause Analysis

Symbol ^ in the URL cannot be identified. As a result, the page access fails.

Procedure

  1. Log in to Manager and choose Cluster > Services > Yarn > Configurations > All Configurations.
  2. Search for yarn.resourcemanager.webapp.pagination.enable in the search box.
  3. If the value is true (default), change it to false and save the configuration.
  4. On the Yarn page, click Instance, select all ResourceManager instances, click More, and select Instance Rolling Restart. Wait until the instances are started.