[ https://issues.apache.org/jira/browse/YARN-9915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prabhu Joseph updated YARN-9915: -------------------------------- Attachment: YARN-9915-01.patch > 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 > 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