spark-instrumented-optimizer/core/src/test
Xingbo Jiang d76633e3ca [SPARK-18406][CORE] Race between end-of-task and completion iterator read lock release
## What changes were proposed in this pull request?

When a TaskContext is not propagated properly to all child threads for the task, just like the reported cases in this issue, we fail to get to TID from TaskContext and that causes unable to release the lock and assertion failures. To resolve this, we have to explicitly pass the TID value to the `unlock` method.

## How was this patch tested?

Add new failing regression test case in `RDDSuite`.

Author: Xingbo Jiang <xingbo.jiang@databricks.com>

Closes #18076 from jiangxb1987/completion-iterator.
2017-05-24 15:43:23 +08:00
..
java [MINOR][BUILD] Fix lint-java breaks in Java 2017-02-27 08:44:26 +00:00
resources [SPARK-20355] Add per application spark version on the history server headerpage 2017-05-09 09:30:09 -05:00
scala/org/apache [SPARK-18406][CORE] Race between end-of-task and completion iterator read lock release 2017-05-24 15:43:23 +08:00