Github user kayousterhout commented on a diff in the pull request:
https://github.com/apache/spark/pull/15505#discussion_r89886595
--- Diff: core/src/main/scala/org/apache/spark/executor/Executor.scala ---
@@ -232,6 +225,13 @@ private[spark] class Executor(
}
override def run(): Unit = {
+ val taskId = taskDesc.taskId
+ val attemptNumber = taskDesc.attemptNumber
+ val taskName = taskDesc.name
+ val taskFiles = taskDesc.taskFiles
+ val taskJars = taskDesc.taskJars
+ val taskProps = taskDesc.taskProperties
--- End diff --
Rather than defining all of these variable names here, can you use them
directly below? It's a little confusing to have all of these up here, and it's
easier to read if you just directly use "taskDesc.taskId" below, for example,
rather than "taskId".
---
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]