Skip to content

Conversation

@zsxwing
Copy link
Member

@zsxwing zsxwing commented May 23, 2015

In the old implementation, if a batch has no block, areWALRecordHandlesPresent will be true and it will return WriteAheadLogBackedBlockRDD.

This PR handles this case by returning WriteAheadLogBackedBlockRDD or BlockRDD according to the configuration.

@zsxwing
Copy link
Member Author

zsxwing commented May 23, 2015

The review link that ignores space changes: https://github.com/apache/spark/pull/6372/files?w=1

@zsxwing
Copy link
Member Author

zsxwing commented May 23, 2015

cc @tdas

@SparkQA
Copy link

SparkQA commented May 23, 2015

Test build #33388 has finished for PR 6372 at commit 788f895.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • "public class " + className + extendsText + " implements java.io.Serializable

@tdas
Copy link
Contributor

tdas commented May 23, 2015

LGTM. Merging into master and branch-1.4.

@pwendell
Copy link
Contributor

@tdas FYI you didn't merge this. Did you intend to?

@tdas
Copy link
Contributor

tdas commented May 23, 2015

Yes, I intended to but my internet connection was flaky at that point and didnt get through.
Merging it right now.

asfgit pushed a commit that referenced this pull request May 23, 2015
…atch

In the old implementation, if a batch has no block, `areWALRecordHandlesPresent` will be `true` and it will return `WriteAheadLogBackedBlockRDD`.

This PR handles this case by returning `WriteAheadLogBackedBlockRDD` or `BlockRDD` according to the configuration.

Author: zsxwing <[email protected]>

Closes #6372 from zsxwing/SPARK-7777 and squashes the following commits:

788f895 [zsxwing] Handle the case when there is no block in a batch

(cherry picked from commit ad0badb)
Signed-off-by: Tathagata Das <[email protected]>
@asfgit asfgit closed this in ad0badb May 23, 2015
@zsxwing zsxwing deleted the SPARK-7777 branch May 25, 2015 08:35
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request May 28, 2015
…atch

In the old implementation, if a batch has no block, `areWALRecordHandlesPresent` will be `true` and it will return `WriteAheadLogBackedBlockRDD`.

This PR handles this case by returning `WriteAheadLogBackedBlockRDD` or `BlockRDD` according to the configuration.

Author: zsxwing <[email protected]>

Closes apache#6372 from zsxwing/SPARK-7777 and squashes the following commits:

788f895 [zsxwing] Handle the case when there is no block in a batch
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request Jun 12, 2015
…atch

In the old implementation, if a batch has no block, `areWALRecordHandlesPresent` will be `true` and it will return `WriteAheadLogBackedBlockRDD`.

This PR handles this case by returning `WriteAheadLogBackedBlockRDD` or `BlockRDD` according to the configuration.

Author: zsxwing <[email protected]>

Closes apache#6372 from zsxwing/SPARK-7777 and squashes the following commits:

788f895 [zsxwing] Handle the case when there is no block in a batch
nemccarthy pushed a commit to nemccarthy/spark that referenced this pull request Jun 19, 2015
…atch

In the old implementation, if a batch has no block, `areWALRecordHandlesPresent` will be `true` and it will return `WriteAheadLogBackedBlockRDD`.

This PR handles this case by returning `WriteAheadLogBackedBlockRDD` or `BlockRDD` according to the configuration.

Author: zsxwing <[email protected]>

Closes apache#6372 from zsxwing/SPARK-7777 and squashes the following commits:

788f895 [zsxwing] Handle the case when there is no block in a batch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants