[
https://issues.apache.org/jira/browse/SPARK-25277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16597136#comment-16597136
]
Luca Canali commented on SPARK-25277:
-------------------------------------
This looks like an unintended side effect of using the start method of
[[MetricsSystem]].
A possible solution is to introduce startNoRegisterSources to avoid these
additional registrations of static sources and of JVM sources in the case of
YARN applicationMaster metrics (this could be useful for other metrics that may
be added in the future).
> YARN applicationMaster metrics should not register static and JVM metrics
> -------------------------------------------------------------------------
>
> Key: SPARK-25277
> URL: https://issues.apache.org/jira/browse/SPARK-25277
> Project: Spark
> Issue Type: Bug
> Components: YARN
> Affects Versions: 2.4.0
> Reporter: Luca Canali
> Priority: Minor
>
> YARN applicationMaster metrics registration introduced in SPARK-24594 causes
> further registration of static metrics (Codegenerator and
> HiveExternalCatalog) and of JVM metrics, which I believe do not belong in
> this context.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]