hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-2034) TestSubmitJob triggers NPE instead of permissions error
Date Wed, 10 Nov 2010 20:19:13 GMT

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

Hudson commented on MAPREDUCE-2034:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #534 (See [https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/534/])
    MAPREDUCE-2034. TestSubmitJob triggers NPE instead of permissions error. Contributed by
Todd Lipcon.


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


Mime
View raw message