Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.4.0
-
None
-
None
Description
When the scheduler response contains NaN values for capacity and maxCapacity the UI2 hangs on the Queues page. The console log shows the following error:
SyntaxError: Unexpected token N in JSON at position 666
The scheduler response:
"maxCapacity": NaN, "absoluteMaxCapacity": NaN,
NaN, infinity, -infinity is not valid in JSON syntax: https://www.json.org/json-en.html
This might be related as well: YARN-10452
I managed to reproduce this with AQCv1, where I set the parent queue's capacity in absolute mode, then I used percentage mode on the leaf-queue-template. I'm not sure if this is a valid configuration, however there is no error or warning in RM logs about any configuration error. To trigger the issue the DominantResourceCalculator must be used. (When using absolute mode on the leaf-queue-template this issue is not re-producible, further details on: YARN-10922).
Reproduction steps:
- Start the cluster with the attached configuration
- Check the Queues page on UI2 (it should work at this point)
- Send an example job (yarn jar hadoop-mapreduce-examples-3.4.0-SNAPSHOT.jar pi 1 10)
- Check the Queues page on UI2 (it should not be working at this point)
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-18954 Filter NaN values from JMX json interface
- Resolved