[ https://issues.apache.org/jira/browse/YARN-10694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17302174#comment-17302174 ]
Qi Zhu edited comment on YARN-10694 at 3/16/21, 3:19 AM: --------------------------------------------------------- Thanks [~aajisaka] for finding. YARN-10689 already existed for this fix. Here is the Pull Request: [https://github.com/apache/hadoop/pull/2760] Could you help review this? was (Author: zhuqi): Thanks [~aajisaka] for finding. YARN-10689 should handle this. Here is the Pull Request: [https://github.com/apache/hadoop/pull/2760] Could you help review this? > 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