Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
Bug type DM_BOXED_PRIMITIVE_FOR_PARSING (click for details)
In class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacitySchedulerConfiguration
In method org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacitySchedulerConfiguration.extractFloatValueFromWeightConfig(String)
Called method Float.floatValue()
Should call Float.parseFloat(String) instead
At CapacitySchedulerConfiguration.java:[line 778]
Attachments
Issue Links
- duplicates
-
YARN-10689 Fix the findbugs issues in extractFloatValueFromWeightConfig.
- Resolved
- is caused by
-
YARN-10504 Implement weight mode in Capacity Scheduler
- Resolved
- relates to
-
HADOOP-16870 Use spotbugs-maven-plugin instead of findbugs-maven-plugin
- Resolved