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

Flaky test: TestOnFileSortedOutput fails in jenkins server with OOM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.5.0
    • None
    • None
    • Reviewed

    Description

      Works on local machine, but fails on Jenkins machine (low mem machine?)

      Running org.apache.tez.runtime.library.output.TestOnFileSortedOutput
      java.lang.OutOfMemoryError: Java heap space
      Dumping heap to java_pid31888.hprof ...
      Heap dump file created [740277112 bytes in 0.802 secs]
      Tests run: 24, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 4.776 sec <<< FAILURE!
      testAllEmptyPartition[test[true, 1, -1]](org.apache.tez.runtime.library.output.TestOnFileSortedOutput) Time elapsed: 1.07 sec <<< ERROR!
      java.lang.OutOfMemoryError: Java heap space
      at org.apache.tez.runtime.library.common.sort.impl.dflt.DefaultSorter.<init>(DefaultSorter.java:137)
      at org.apache.tez.runtime.library.output.OnFileSortedOutput.start(OnFileSortedOutput.java:105)
      at org.apache.tez.runtime.library.output.TestOnFileSortedOutput.startSortedOutput(TestOnFileSortedOutput.java:153)
      at org.apache.tez.runtime.library.output.TestOnFileSortedOutput.testAllEmptyPartition(TestOnFileSortedOutput.java:213)

      baseTest[test[false, 2, 0]](org.apache.tez.runtime.library.output.TestOnFileSortedOutput) Time elapsed: 0.385 sec <<< ERROR!
      java.lang.OutOfMemoryError: Java heap space
      at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39)
      at java.nio.ByteBuffer.allocate(ByteBuffer.java:312)
      at org.apache.tez.runtime.library.common.sort.impl.PipelinedSorter.<init>(PipelinedSorter.java:122)
      at org.apache.tez.runtime.library.output.OnFileSortedOutput.start(OnFileSortedOutput.java:102)
      at org.apache.tez.runtime.library.output.TestOnFileSortedOutput.startSortedOutput(TestOnFileSortedOutput.java:153)
      at org.apache.tez.runtime.library.output.TestOnFileSortedOutput.baseTest(TestOnFileSortedOutput.java:159)

      Attachments

        1. TEZ-1333.1.patch
          1 kB
          Rajesh Balamohan

        Activity

          People

            rajesh.balamohan Rajesh Balamohan
            rajesh.balamohan Rajesh Balamohan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: