GitHub user jerryshao opened a pull request:
https://github.com/apache/spark/pull/11994
[SPARK-14151] Expose metrics Source and Sink interface
## What changes were proposed in this pull request?
This patch tries to expose metrics Source and Sink interface for external
developers, this will:
1. Let user to define their own Sink and Source implementation and plug
into `MetricsSystem`.
2. Alleviate the maintenance overhead of Spark code base. Spark itself
doesn't need to maintain several different sinks and sources.
## How was this patch tested?
Unit test is added and local integrated test is done.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jerryshao/apache-spark SPARK-14151
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11994.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11994
----
commit fecc7f659293c8657b2c089a4aae15d6c762a169
Author: jerryshao <[email protected]>
Date: 2016-03-28T02:01:43Z
Refactor and expose metrics system Source and Sink interface
commit 29bf76eef68eec31ef2109c7a7d41a136c0711da
Author: jerryshao <[email protected]>
Date: 2016-03-28T07:31:41Z
Fix bug and add unit test
----
---
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]