Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-3924

TestDefaultSorter fails intermittently due random keys and interaction with RLE and partition collisions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2, 0.10.0
    • None
    • None

    Description

      The random keys chosen have a probability that they will fall into the same partition and therefore will invalidate the test assumption of how many empty partitions there are.

      Example of failure stack trace

      Failed
      org.apache.tez.runtime.library.common.sort.impl.dflt.TestDefaultSorter.testEmptyCaseFileLengths
      
      Failing for the past 1 build (Since Failed#671 )
      Took 67 ms.
      (no description)
      Error Message
      Number of empty partitions did not match!
      Stacktrace
      java.lang.AssertionError: Number of empty partitions did not match!
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.apache.tez.runtime.library.common.sort.impl.dflt.TestDefaultSorter.testEmptyCaseFileLengthsHelper(TestDefaultSorter.java:321)
      	at org.apache.tez.runtime.library.common.sort.impl.dflt.TestDefaultSorter.testEmptyCaseFileLengths(TestDefaultSorter.java:288)
      

      Attachments

        1. TEZ-3924.001.patch
          13 kB
          Jonathan Turner Eagles

        Activity

          People

            jeagles Jonathan Turner Eagles
            jeagles Jonathan Turner Eagles
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: