You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "kavita sharma (Created) (JIRA)" <ji...@apache.org> on 2011/12/13 14:11:30 UTC

[jira] [Created] (MAPREDUCE-3539) possible Cases for NullPointerException

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.21.0, 0.20.205.0, 0.20.2, 1.0.0
            Reporter: kavita sharma
            Priority: Trivial
             Fix For: 1.0.0, 0.20.205.0


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

        

[jira] [Updated] (MAPREDUCE-3539) possible Cases for NullPointerException

Posted by "kavita sharma (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kavita sharma updated MAPREDUCE-3539:
-------------------------------------

    Status: Patch Available  (was: Open)
    
> 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.21.0, 0.20.205.0, 0.20.2, 1.0.0
>            Reporter: kavita sharma
>            Priority: Trivial
>             Fix For: 1.0.0, 0.20.205.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

        

[jira] [Commented] (MAPREDUCE-3539) possible Cases for NullPointerException

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172295#comment-13172295 ] 

Hadoop QA commented on MAPREDUCE-3539:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12507870/MAPREDUCE-3539-branch-1.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1476//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1476//console

This message is automatically generated.
                
> 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

        

[jira] [Commented] (MAPREDUCE-3539) possible Cases for NullPointerException

Posted by "kavita sharma (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Updated] (MAPREDUCE-3539) possible Cases for NullPointerException

Posted by "Matt Foley (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated MAPREDUCE-3539:
----------------------------------

    Target Version/s: 1.1.0
       Fix Version/s:     (was: 1.0.0)
                          (was: 0.20.205.0)

No commits have been made, but 1.0.0 has been released.  Moving the target versions from "Fixed Version" to "Target Version" field, and changing to 1.1.0.
                
> 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

        

[jira] [Commented] (MAPREDUCE-3539) possible Cases for NullPointerException

Posted by "kavita sharma (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Commented] (MAPREDUCE-3539) possible Cases for NullPointerException

Posted by "kavita sharma (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172040#comment-13172040 ] 

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

        

[jira] [Updated] (MAPREDUCE-3539) possible Cases for NullPointerException

Posted by "kavita sharma (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kavita sharma updated MAPREDUCE-3539:
-------------------------------------

    Attachment: MAPREDUCE-3539-branch-1.patch
                MAPREDUCE-3539.patch
    
> 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