[ https://issues.apache.org/jira/browse/YARN-9915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Payne updated YARN-9915: ----------------------------- Fix Version/s: 2.11.0 2.10.1 > Fix FindBug issue in QueueMetrics > --------------------------------- > > Key: YARN-9915 > URL: https://issues.apache.org/jira/browse/YARN-9915 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 3.3.0 > Reporter: Prabhu Joseph > Assignee: Prabhu Joseph > Priority: Minor > Fix For: 3.3.0, 3.2.2, 3.1.4, 2.10.1, 2.11.0 > > Attachments: YARN-9915-01.patch > > > Below FindBug issue appears in the trunk build > {code} > org.apache.hadoop.yarn.server.resourcemanager.scheduler.QueueMetrics.registerCustomResources() > invokes inefficient new Long(long) constructor; use Long.valueOf(long) > instead > Bug type DM_NUMBER_CTOR (click for details) > In class org.apache.hadoop.yarn.server.resourcemanager.scheduler.QueueMetrics > In method > org.apache.hadoop.yarn.server.resourcemanager.scheduler.QueueMetrics.registerCustomResources() > Called method new Long(long) > Should call Long.valueOf(long) instead > At QueueMetrics.java:[line 468] > {code} -- 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