Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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