GitHub user lovexi opened a pull request:

    https://github.com/apache/spark/pull/14428

    [SPARK-16810] Refactor registerSinks with multiple constructos

    ## What changes were proposed in this pull request?
    
    For some metrics, it may require some **app detailed information** from 
`SparkConf`. So for those sinks, we need to pass `SparkConf` via sink 
constructor. Refactored registerSink class reflection part to allow multiple 
types of sink constructor to be initialized.
    
    ## How was this patch tested?
    
    Using existing tests.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lovexi/spark metrics-system

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/14428.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 #14428
    
----
commit 74ff37b9ddef5733ddb2e967ca5d39335de9d542
Author: Yangyang Liu <[email protected]>
Date:   2016-07-31T08:48:52Z

    Refactor registerSinks with multiple constructos

----


---
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]

Reply via email to