hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5446) TestJobHistoryEvents and TestJobHistoryParsing have race conditions
Date Mon, 05 Aug 2013 15:20:48 GMT

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

Tsuyoshi OZAWA commented on MAPREDUCE-5446:

+1, LGTM. No breaking backward compatibility, and it can avoid race conditions safely.
> TestJobHistoryEvents and TestJobHistoryParsing have race conditions
> -------------------------------------------------------------------
>                 Key: MAPREDUCE-5446
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5446
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2, test
>    Affects Versions: 2.1.0-beta
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>         Attachments: MAPREDUCE-5446.patch
> TestJobHistoryEvents and TestJobHistoryParsing are not properly waiting for MRApp to
finish.  Currently they are polling the service state looking for Service.STATE.STOPPED, but
the service can appear to be in that state *before* it is fully stopped.  This causes tests
to finish with MRApp threads still in-flight, and those threads can conflict with subsequent
tests when they collide in the filesystem.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message