[ 
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. 
[~r...@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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to