[ 
https://issues.apache.org/jira/browse/YARN-10694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akira Ajisaka resolved YARN-10694.
----------------------------------
    Resolution: Duplicate

Closing as dup. Thank you [~zhuqi] for the information.

> 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
>            Priority: Major
>              Labels: newbie
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to