hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6719) Fix findbugs warnings in SLSCapacityScheduler.java
Date Mon, 19 Jun 2017 07:34:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-6719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16053556#comment-16053556
] 

Akira Ajisaka commented on YARN-6719:
-------------------------------------

Thanks!

> 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
>             Fix For: 2.7.4, 2.8.2, 2.9
>
>         Attachments: YARN-6719-branch-2.01.patch, YARN-6719-branch-2.8-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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message