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 "Tom White (JIRA)" <ji...@apache.org> on 2010/11/10 20:44:14 UTC

[jira] Updated: (MAPREDUCE-2034) TestSubmitJob triggers NPE instead of permissions error

     [ https://issues.apache.org/jira/browse/MAPREDUCE-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated MAPREDUCE-2034:
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.22.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I've just committed this. Thanks Todd!

> TestSubmitJob triggers NPE instead of permissions error
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-2034
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2034
>             Project: Hadoop Map/Reduce
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Trivial
>             Fix For: 0.22.0
>
>         Attachments: mapreduce-2034.txt
>
>
> TestSubmitJob.testSecureJobExecution catches _any_ IOException and assumes a permissions error has been caught. In fact, it was passing an invalid path name to the NameNode and triggering an NPE, not a Permission denied error, in one case, but the test was not specific enough to detect this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.