Github user yuanboliu commented on the issue: https://github.com/apache/spark/pull/21690 The first pause is used to stop poll() in the method paranoidPoll The second one is attached because of p.partition(). I'm not sure whether the state of pause will be rewritten after these methods are called, so I use pause repeatedly.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org