GitHub user tdas opened a pull request:

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

    [SPARK-10210] [STREAMING] Filter out non-existent blocks before creating 
BlockRDD

    When write ahead log is not enabled, a recovered streaming driver still 
tries to run jobs using pre-failure block ids, and fails as the block do not 
exists in-memory any more (and cannot be recovered as receiver WAL is not 
enabled).
    
    This occurs because the driver-side WAL of ReceivedBlockTracker is recovers 
that past block information, and ReceiveInputDStream creates BlockRDDs even if 
those blocks do not exist.
    
    The solution in this PR is to filter out block ids that do not exist before 
creating the BlockRDD. In addition, it adds unit tests to verify other logic in 
ReceiverInputDStream.


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

    $ git pull https://github.com/tdas/spark SPARK-10210

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

    https://github.com/apache/spark/pull/8405.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 #8405
    
----
commit 89aaf9bcc51592c305ce24f64592268ecdaf2c6d
Author: Tathagata Das <[email protected]>
Date:   2015-08-25T00:26:55Z

    Filtered out non-existent blocks before creating BlockRDD

----


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