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