GitHub user keypointt opened a pull request:

    [SPARK-17628][Streaming][Examples] change name "StreamingExamples" to be 
"StreamingExamplesUtils", more descriptive
    ## What changes were proposed in this pull request?
    `object StreamingExamples` is more of a utility object, and the name is too 
general. here changing it to be `StreamingExamplesUtils `
    /** Utility functions for Spark Streaming examples. */
    object StreamingExamples extends Logging {
      /** Set reasonable logging levels for streaming if the user has not 
configured log4j. */
      def setStreamingLogLevels() {
        val log4jInitialized = 
        if (!log4jInitialized) {
          // We first log something to initialize Spark's default logging, then 
we override the
          // logging level.
          logInfo("Setting log level to [WARN] for streaming example." +
            " To override add a custom to the classpath.")
    ## How was this patch tested?
    Tested manually on local laptop

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

    $ git pull SPARK-17628

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15191
commit 79533fda30b171fc54466e9da3d7eab08ce0b7db
Author: Xin Ren <>
Date:   2016-09-22T00:34:17Z

    [SPARK-17628] change name StreamingExamples to be StreamingExamplesUtils, 
more descriptive


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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to