[
https://issues.apache.org/jira/browse/MAPREDUCE-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207495#comment-13207495
]
kavita sharma commented on MAPREDUCE-3539:
------------------------------------------
Hi Matt,
No testcase is present because for closing streams i have used IOUtils.cleanup
that is a existing and tested utility.
> possible Cases for NullPointerException
> ---------------------------------------
>
> Key: MAPREDUCE-3539
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3539
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Affects Versions: 0.20.2, 0.20.205.0, 0.21.0, 1.0.0
> Reporter: kavita sharma
> Priority: Trivial
> Attachments: MAPREDUCE-3539-branch-1.patch, MAPREDUCE-3539.patch
>
>
> in DistCh.java
> {noformat}
> in setup method
> opWriter.close();
> if opWriter is null then if we will try to close will throw NPE.
> {noformat}
> {noformat}
> in checkDuplication method
> in.close();
> if in is null then if we will try to close will throw NPE.
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira