Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/5788#discussion_r30446130
--- Diff: core/src/main/scala/org/apache/spark/SparkConf.scala ---
@@ -131,6 +131,11 @@ class SparkConf(loadDefaults: Boolean) extends
Cloneable with Logging {
set("spark.home", home)
}
+ /** Set the metrics configuration property */
+ def setMetricsProperty(name: String, value: String): SparkConf = {
--- End diff --
I'm a little unsure about adding these metric-specific methods here.
They're very particular to a specific scenario, while SparkConf is supposed to
be a generic configuration class. I'd rather not add these (since I expect most
people to set these via config files anyway).
---
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]