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 "Jonathan Eagles (JIRA)" <ji...@apache.org> on 2013/10/17 17:17:42 UTC

[jira] [Commented] (MAPREDUCE-5587) TestTextOutputFormat fails on JDK7

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

Jonathan Eagles commented on MAPREDUCE-5587:
--------------------------------------------

Through experimentation, only two different test method orders were shown to succeed.
|testFormatWithCustomSeparator|
|testCompress|
|testFormat|

|testFormat|
|testFormatWithCustomSeparator|
|testCompress|

All other orders produced failures. Thus the inter-dependency is that _testCompress_ must be run *immediately after* _testFormatWithCustomSeparator_.

*Dependencies Identified*
* All tests verify success by reading input from the same test file test.txt
* _testCompress_ relies on having the same custom separator as _testFormatWithCustomSeparator_
* _testCompress_ actually writes a file name test.txt.deflate

> TestTextOutputFormat fails on JDK7
> ----------------------------------
>
>                 Key: MAPREDUCE-5587
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5587
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>
> the test method run order on JDK7 is not fixed causing test method inter-dependencies to show themselves.



--
This message was sent by Atlassian JIRA
(v6.1#6144)