hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kay Kay (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1155) Streaming tests swallow exceptions
Date Wed, 30 Dec 2009 19:50:29 GMT

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

Kay Kay commented on MAPREDUCE-1155:

Quick look at a test case(  TestStreamingExitStatus )  means it is doing the cleanup in the
setUp() method to make sure things are ok ( like deleting directories etc.) . 

There is a missing tearDown() method that needs to handle the unwinding of the changes, and
setUp() would probably just assert its assumptions before starting afresh. 

Also this patch seems to address more than one issue at hand. 

If this makes the build green - can we place have it committed on the trunk now and revisit
piecemeal, since the trunk build has been broken for quite some time. 

> Streaming tests swallow exceptions
> ----------------------------------
>                 Key: MAPREDUCE-1155
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1155
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.20.1, 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: mapreduce-1155.patch, mapreduce-1155.patch, mapreduce-1155.txt,
> Many of the streaming tests (including TestMultipleArchiveFiles) catch exceptions and
print their stack trace rather than failing the job. This means that tests do not fail even
when the job fails.

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

View raw message