hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (Jira)" <j...@apache.org>
Subject [jira] [Created] (YARN-10694) Fix spotbugs warning in CapacitySchedulerConfiguration.java
Date Tue, 16 Mar 2021 00:33:00 GMT
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message