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 "Swarnim Kulkarni (JIRA)" <ji...@apache.org> on 2014/05/02 07:36:14 UTC
[jira] [Commented] (HADOOP-10541) InputStream in
MiniKdc#initKDCServer for minikdc.ldiff is not closed
[ https://issues.apache.org/jira/browse/HADOOP-10541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987356#comment-13987356 ]
Swarnim Kulkarni commented on HADOOP-10541:
-------------------------------------------
[~tedyu] If you are ok with it, I'll like to take a stab at this.
> InputStream in MiniKdc#initKDCServer for minikdc.ldiff is not closed
> --------------------------------------------------------------------
>
> Key: HADOOP-10541
> URL: https://issues.apache.org/jira/browse/HADOOP-10541
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Ted Yu
> Priority: Minor
>
> The same InputStream variable is used for minikdc.ldiff and minikdc-krb5.conf :
> {code}
> InputStream is = cl.getResourceAsStream("minikdc.ldiff");
> ...
> is = cl.getResourceAsStream("minikdc-krb5.conf");
> {code}
> Before the second assignment, is should be closed.
--
This message was sent by Atlassian JIRA
(v6.2#6252)