Github user sameeragarwal commented on a diff in the pull request:
https://github.com/apache/spark/pull/17244#discussion_r105779991
--- Diff: core/src/main/scala/org/apache/spark/TaskContext.scala ---
@@ -105,7 +105,11 @@ abstract class TaskContext extends Serializable {
/**
* Adds a (Java friendly) listener to be executed on task completion.
- * This will be called in all situation - success, failure, or
cancellation.
+ * This will be called in all situation - success, failure, or
cancellation. Adding a listener
+ * to an already completed task will result in that listeners being
called immediately.
--- End diff --
micro nit: s/listeners/listener here and below
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]