[
https://issues.apache.org/jira/browse/HADOOP-10541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989869#comment-13989869
]
Swarnim Kulkarni commented on HADOOP-10541:
-------------------------------------------
Thanks Chris and sorry for that. Is there an eclipse formatter that I can use
for my future contributions? I tried hunting one here [1] but I couldn't find
one. Only one I found was here[2]. Is it ok to use that?
Thanks again.
[1] http://wiki.apache.org/hadoop/EclipseEnvironment
[2] https://github.com/cloudera/blog-eclipse/blob/master/hadoop-format.xml
> 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
> Components: test
> Affects Versions: 3.0.0, 2.4.0
> Reporter: Ted Yu
> Assignee: Swarnim Kulkarni
> Priority: Minor
> Attachments: HADOOP-10541.1.patch.txt, HADOOP-10541.2.patch.txt,
> HADOOP-10541.3.patch.txt, HADOOP-10541.4.patch
>
>
> 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)