Details
- 
    
Bug
 - 
    Status: Closed
 - 
    
Major
 - 
    Resolution: Fixed
 - 
    2.0.2-alpha
 
- 
        Reviewed
 
Description
TestUniformSizeFileInputFormat fails intermittently. I ran the test 50 times and noticed 5 failures.
Haven't noticed any particular pattern to which runs fail.
A sample stack trace is as follows:
java.lang.AssertionError: expected:<1944> but was:<1820>
        at org.junit.Assert.fail(Assert.java:91)
        at org.junit.Assert.failNotEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:126)
        at org.junit.Assert.assertEquals(Assert.java:470)
        at org.junit.Assert.assertEquals(Assert.java:454)
        at org.apache.hadoop.tools.mapred.TestUniformSizeInputFormat.checkAgainstLegacy(TestUniformSizeInputFormat.java:244)
        at org.apache.hadoop.tools.mapred.TestUniformSizeInputFormat.testGetSplits(TestUniformSizeInputFormat.java:126)
        at org.apache.hadoop.tools.mapred.TestUniformSizeInputFormat.testGetSplits(TestUniformSizeInputFormat.java:252)