You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Akira Ajisaka (Jira)" <ji...@apache.org> on 2021/03/16 00:33:00 UTC

[jira] [Created] (YARN-10694) Fix spotbugs warning in CapacitySchedulerConfiguration.java

Akira Ajisaka created YARN-10694:
------------------------------------

             Summary: Fix spotbugs warning in CapacitySchedulerConfiguration.java
                 Key: YARN-10694
                 URL: https://issues.apache.org/jira/browse/YARN-10694
             Project: Hadoop YARN
          Issue Type: Bug
          Components: capacity scheduler
            Reporter: Akira Ajisaka


https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/447/artifact/out/branch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-warnings.html
	
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]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org