Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.23.3
-
None
-
Incompatible change, Reviewed
Description
if capacity scheduler capacity or max capacity set with decimal it errors:
- Error starting ResourceManager
java.lang.NumberFormatException: For input string: "10.5"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:458)
at java.lang.Integer.parseInt(Integer.java:499)
at org.apache.hadoop.conf.Configuration.getInt(Configuration.java:713)
at
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacitySchedulerConfiguration.getCapacity(CapacitySchedulerConfiguration.java:147)
at
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue.<init>(LeafQueue.java:147)
at
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.parseQueue(CapacityScheduler.java:297)
at
0.20 used to take decimal and this could be an issue on large clusters that would have queues with small allocations.
Attachments
Attachments
Issue Links
- is depended upon by
-
MAPREDUCE-4341 add types to capacity scheduler properties documentation
- Closed