You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "karan kumar (JIRA)" <ji...@apache.org> on 2016/03/03 18:50:18 UTC

[jira] [Commented] (SPARK-10610) Using AppName instead of AppId in the name of all metrics

    [ https://issues.apache.org/jira/browse/SPARK-10610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15178228#comment-15178228 ] 

karan kumar commented on SPARK-10610:
-------------------------------------

Rather than using appName, I think it may be better to allow a user to set the name of the metrics to be reported. 
One approach can be to set a property via the spark client. If that property is set, use the property value to report metrics else use the current implementation of reporting metrics on appid. 
[~rxin@databricks.com] based on the conversion we had on the mailing list, going ahead with the implementation.


> Using AppName instead of AppId in the name of all metrics
> ---------------------------------------------------------
>
>                 Key: SPARK-10610
>                 URL: https://issues.apache.org/jira/browse/SPARK-10610
>             Project: Spark
>          Issue Type: New Feature
>          Components: Spark Core
>    Affects Versions: 1.5.0
>            Reporter: Yi Tian
>            Priority: Minor
>
> When we using {{JMX}} to monitor spark system,  We have to configure the name of target metrics in the monitor system. But the current name of metrics is {{appId}} + {{executorId}} + {{source}} . So when the spark program restarted, we have to update the name of metrics in the monitor system.
> We should add an optional configuration property to control whether using the appName instead of appId in spark metrics system.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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