You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jiang Xingbo (JIRA)" <ji...@apache.org> on 2017/07/11 14:32:00 UTC

[jira] [Commented] (SPARK-14151) Propose to refactor and expose Metrics Sink and Source interface

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

Jiang Xingbo commented on SPARK-14151:
--------------------------------------

Since this is purposed to add a set of public API, it would make more sense to start a SPIP for the topic. [~jerryshao] Would you like to do that?

> Propose to refactor and expose Metrics Sink and Source interface
> ----------------------------------------------------------------
>
>                 Key: SPARK-14151
>                 URL: https://issues.apache.org/jira/browse/SPARK-14151
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Saisai Shao
>            Priority: Minor
>
> MetricsSystem is designed for plug-in different sources and sinks, user could write their own sources and sinks and configured through metrics.properties, MetricsSystem will register it through reflection. But current Source and Sink interface is private, which means user cannot create their own sources and sinks unless using the same package.
> So here propose to expose source and sink interface, this will let user build and maintain their own source and sink, alleviate the maintenance overhead of spark codebase. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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