Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9230

TestUniformSizeInputFormat fails intermittently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2-alpha
    • 2.1.0-beta, 0.23.11
    • test

    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)
      

      Attachments

        1. hadoop-9230.patch
          4 kB
          Karthik Kambatla

        Activity

          People

            kasha Karthik Kambatla
            kasha Karthik Kambatla
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: