srowen commented on a change in pull request #26984: [SPARK-27641][CORE] Fix
MetricsSystem to remove metrics of the specif…
URL: https://github.com/apache/spark/pull/26984#discussion_r368232941
##########
File path: core/src/main/scala/org/apache/spark/metrics/MetricsSystem.scala
##########
@@ -155,6 +156,12 @@ private[spark] class MetricsSystem private (
} else { defaultName }
}
+ private[spark] def getRegisteredNames(source: Source): mutable.Set[String] =
{
Review comment:
Does not need to be mutable, or a Set. Just Seq?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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]