hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kavita sharma (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3539) possible Cases for NullPointerException
Date Mon, 19 Dec 2011 05:58:30 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172039#comment-13172039
] 

kavita sharma commented on MAPREDUCE-3539:
------------------------------------------

Hi,
No testcase is present because for closing streams i have used IOUtils that is a exiting and
tested utility.

Thanks
Kavita Sharma
                
> 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
>             Fix For: 0.20.205.0, 1.0.0
>
>         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

        

Mime
View raw message