Github user sitalkedia commented on the issue: https://github.com/apache/spark/pull/16291 @vanzin - Thanks for taking a look and sorry about putting my unfinished sloppy code out there. I updated the bug and the PR with the overall design idea, which hopefully will answer your questions. >> Each listener should process events serially otherwise you risk getting into funny situations like a task end event being processed before the task start event for the same task. You are right, that's why the executor service is single threaded which guarantees ordered processing of the events per listener.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org