[ 
https://issues.apache.org/jira/browse/HADOOP-10541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HADOOP-10541:
-----------------------------------

    Assignee: Swarnim Kulkarni

> 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
>            Assignee: Swarnim Kulkarni
>            Priority: Minor
>         Attachments: HADOOP-10541.1.patch.txt
>
>
> 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)

Reply via email to