You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2018/12/11 18:57:49 UTC

[GitHub] vanzin commented on a change in pull request #22279: [SPARK-25277][YARN] YARN applicationMaster metrics should not register static metrics

vanzin commented on a change in pull request #22279: [SPARK-25277][YARN] YARN applicationMaster metrics should not register static metrics
URL: https://github.com/apache/spark/pull/22279#discussion_r240746967
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/metrics/MetricsSystem.scala
 ##########
 @@ -103,6 +103,14 @@ private[spark] class MetricsSystem private (
     sinks.foreach(_.start)
   }
 
+  // Same as start but this method only registers sinks
 
 Review comment:
   Just to close the loop here: I like the extra flag to `start` instead of the separate method.
   
   As for AM vs. driver, the way I understand things, in cluster mode, there will be two `MetricSystem` instances - one for the AM and one for the driver, so you shouldn't lose any driver metrics.
   
   JVM metrics for the client-mode AM can be interesting, but that's generally not a source of problems that I've noticed, so we can probably punt on it for now.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org