hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-10223) MiniKdc#main() should close the FileReader it creates
Date Fri, 10 Jan 2014 23:56:52 GMT

    [ 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)

Mime
View raw message