[ https://issues.apache.org/jira/browse/YARN-6719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akira Ajisaka updated YARN-6719: -------------------------------- Attachment: YARN-6719-branch-2.01.patch Attaching a patch for branch-2. > Fix findbugs warnings in SLSCapacityScheduler.java > -------------------------------------------------- > > Key: YARN-6719 > URL: https://issues.apache.org/jira/browse/YARN-6719 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Akira Ajisaka > Assignee: Akira Ajisaka > Labels: release-blocker > Attachments: YARN-6719-branch-2.01.patch > > > There are 2 findbugs warnings in branch-2. > https://builds.apache.org/job/PreCommit-HADOOP-Build/12560/artifact/patchprocess/branch-findbugs-hadoop-tools_hadoop-sls-warnings.html > {noformat} > Dm Found reliance on default encoding in > org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler.initMetrics(): new > java.io.FileWriter(String) > Bug type DM_DEFAULT_ENCODING (click for details) > In class org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler > In method > org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler.initMetrics() > Called method new java.io.FileWriter(String) > At SLSCapacityScheduler.java:[line 464] > Dm Found reliance on default encoding in new > org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler$MetricsLogRunnable(SLSCapacityScheduler): > new java.io.FileWriter(String) > Bug type DM_DEFAULT_ENCODING (click for details) > In class > org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler$MetricsLogRunnable > In method new > org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler$MetricsLogRunnable(SLSCapacityScheduler) > Called method new java.io.FileWriter(String) > At SLSCapacityScheduler.java:[line 669] > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org