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

NPE at TestPreemption.testPreemptionWithoutSession

    XMLWordPrintableJSON

Details

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

    Description

      Some issues with multithreading
      mockApp.getContext().getCurrentDAG() returns non-null value after 200-300ms.

      $ mvn clean package
      ...
      Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.566 sec <<< FAILURE!
      testPreemptionWithoutSession(org.apache.tez.dag.app.TestPreemption)  Time elapsed: 0.182 sec  <<< ERROR!
      java.lang.NullPointerException: null
      	at org.apache.tez.dag.app.TestPreemption.testPreemptionWithoutSession(TestPreemption.java:105)
      
      Running org.apache.tez.client.TestLocalMode
      

      Attachments

        1. TEZ-1632.1.patch
          0.9 kB
          Alexander Pivovarov

        Activity

          People

            apivovarov Alexander Pivovarov
            apivovarov Alexander Pivovarov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: