Github user vanzin commented on the issue:

    https://github.com/apache/spark/pull/20888
  
    Sounds like this approach is just racy by nature. There's a similar test in 
SparkContextSuite ("Cancelling stages/jobs with custom reasons") where I fixed 
a similar issue using a semaphore. Sounds like you need something similar here.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to