Xinran commented on a change in pull request #22290: [SPARK-25285][CORE] Add 
executor task metrics, successfulTasks and threadpool.startedTasks
URL: https://github.com/apache/spark/pull/22290#discussion_r254771567
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/executor/ExecutorSource.scala
 ##########
 @@ -75,6 +80,7 @@ class ExecutorSource(threadPool: ThreadPoolExecutor, 
executorId: String) extends
 
   // Expose executor task metrics using the Dropwizard metrics system.
   // The list is taken from TaskMetrics.scala
+  val SUCCESSFUL_TASKS = 
metricRegistry.counter(MetricRegistry.name("successfulTasks"))
 
 Review comment:
   This is successfulTasks, and on Line57 is startedTasks, are they the same?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to