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 "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2016/06/07 13:41:21 UTC

[jira] [Commented] (MAPREDUCE-6682) TestMRCJCFileOutputCommitter fais intermittently

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

Akira AJISAKA commented on MAPREDUCE-6682:
------------------------------------------

It looks like another test put files in the directory and then {{testAbort()}} asserted that there is no file in the directory. I reproduced this failure by the following steps:
{code}
$ mvn test -Dtest=TestMRTimelineEventHandling#testMapreduceJobTimelineServiceEnabled
$ mvn test -Dtest=TestMRCJCFileOutputCommitter#testAbort 
{code}
We should remove {{outDir}} before {{testAbort()}} and cleanup temporary directories after {{TestMRTimelineEventHandling#testMapreduceJobTimelineServiceEnabled}}.

> TestMRCJCFileOutputCommitter fais intermittently
> ------------------------------------------------
>
>                 Key: MAPREDUCE-6682
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6682
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>            Reporter: Brahma Reddy Battula
>            Assignee: Haibo Chen
>
> {noformat}
> java.lang.AssertionError: Output directory not empty expected:<0> but was:<4>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:555)
> 	at org.apache.hadoop.mapred.TestMRCJCFileOutputCommitter.testAbort(TestMRCJCFileOutputCommitter.java:153)
> {noformat}
> *PreCommit Report* 
> https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/6434/testReport/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org