GitHub user tdas opened a pull request:

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

    [SPARK-3912][Streaming] Fixed flakyFlumeStreamSuite

    @harishreedharan @pwendell 
    See JIRA for diagnosis of the problem 
    https://issues.apache.org/jira/browse/SPARK-3912
    
    The solution was to reimplement it. 
    1. Find a free port (by binding and releasing a server-scoket), and then 
use that port
    2. Remove thread.sleep()s, instead repeatedly try to create a sender and 
send data and check whether data was sent. Use eventually() to minimize waiting 
time.
    3. Check whether all the data was received, without caring about batches.
    


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

    $ git pull https://github.com/tdas/spark flume-test-fix

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

    https://github.com/apache/spark/pull/2773.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 #2773
    
----
commit 93cd7f62bf31c9015f30eb25439d368bac3c57c5
Author: Tathagata Das <tathagata.das1...@gmail.com>
Date:   2014-10-12T00:04:01Z

    Reimplimented FlumeStreamSuite to be more robust.

----


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