You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2014/01/11 00:56:52 UTC
[jira] [Comment Edited] (HADOOP-10223) MiniKdc#main() should close
the FileReader it creates
[ https://issues.apache.org/jira/browse/HADOOP-10223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868484#comment-13868484 ]
Alejandro Abdelnur edited comment on HADOOP-10223 at 1/10/14 11:56 PM:
-----------------------------------------------------------------------
One NIT, for complete correctness the * r = new FileReader(file);* should be done within the try block.
was (Author: tucu00):
One NIT, for complete correctness the * r = new FileReader(file);* should be done within the try/catch block.
> MiniKdc#main() should close the FileReader it creates
> -----------------------------------------------------
>
> Key: HADOOP-10223
> URL: https://issues.apache.org/jira/browse/HADOOP-10223
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Ted Yu
> Priority: Minor
> Attachments: hadoop-10223.txt
>
>
> FileReader is used to read MiniKDC properties.
> This FileReader should be closed after reading.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)