GitHub user zsxwing opened a pull request:

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

    [SPARK-9479][Streaming][Tests]Fix ReceiverTrackerSuite failure

    See https://issues.apache.org/jira/browse/SPARK-9479 for the failure cause.
    
    The PR includes the following changes:
    1. Make ReceiverTrackerSuite create StreamingContext in the test body.
    2. Fix places that don't stop StreamingContext. I verified no SparkContext 
was stopped in the shutdown hook locally after this fix.
    3. Fix an issue that `ReceiverTracker.endpoint` may be null.
    4. Make sure stopping SparkContext in non-main thread won't fail other 
tests.

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

    $ git pull https://github.com/zsxwing/spark fix-ReceiverTrackerSuite

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

    https://github.com/apache/spark/pull/7797.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 #7797
    
----
commit d7497df154ac8f44662e5511c70d43fd79f9eabb
Author: zsxwing <zsxw...@gmail.com>
Date:   2015-07-30T15:16:53Z

    Fix ReceiverTrackerSuite; make sure StreamingContext in tests is closed

----


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

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to