Github user kayousterhout commented on a diff in the pull request:
https://github.com/apache/spark/pull/13603#discussion_r68642776
--- Diff: core/src/main/scala/org/apache/spark/scheduler/TaskInfo.scala ---
@@ -30,6 +30,7 @@ import org.apache.spark.annotation.DeveloperApi
@DeveloperApi
class TaskInfo(
val taskId: Long,
+ /** the index of this task in its TaskSet. *Not* necessarily the same
as the partitionid */
--- End diff --
BTW, at some point a while ago, I attempted to change the naming of these
to make it less confusing, but than ran into issues because there are various
naming artifacts from Mesos, which uses taskId to refer to our taskAttemptId,
so I eventually gave up. It does seem like we should (separately from this PR)
fix all the places the code uses taskId in place of index to say "index"
instead for consistency.
---
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]