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

Varun Saxena commented on YARN-2937:
------------------------------------


{code}
} finally {
  if (pw != null) {
  boolean hasError = pw.checkError();
  pw.close();
  if(hasError) {
    throw new IOException("Unable to set " + param + "=" + value + " for cgroup 
at: " + path); 
  }
  if(pw.checkError()) {
    throw new IOException("Error while closing cgroup file " + path); }
 }
}
{code}

> Fix new findbugs warnings in hadoop-yarn-nodemanager
> ----------------------------------------------------
>
>                 Key: YARN-2937
>                 URL: https://issues.apache.org/jira/browse/YARN-2937
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>             Fix For: 2.7.0
>
>         Attachments: YARN-2937.001.patch, YARN-2937.002.patch, 
> YARN-2937.003.patch, YARN-2937.004.patch, YARN-2937.005.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to