Skip to content

[SPARK-16432] Empty blocks fail to serialize due to assert in ChunkedByteBuffer #14099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

ericl
Copy link
Contributor

@ericl ericl commented Jul 8, 2016

What changes were proposed in this pull request?

It's possible to also change the callers to not pass in empty chunks, but it seems cleaner to just allow ChunkedByteBuffer to handle empty arrays. cc @JoshRosen

How was this patch tested?

Unit tests, also checked that the original reproduction case in #11748 (comment) is resolved.

@SparkQA
Copy link

SparkQA commented Jul 8, 2016

Test build #61944 has finished for PR 14099 at commit 9ce8146.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Jul 8, 2016

LGTM pending Jenkins rerun.

@SparkQA
Copy link

SparkQA commented Jul 8, 2016

Test build #3170 has finished for PR 14099 at commit 9ce8146.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@ericl
Copy link
Contributor Author

ericl commented Jul 8, 2016

Jenkins test this please

@SparkQA
Copy link

SparkQA commented Jul 9, 2016

Test build #62001 has finished for PR 14099 at commit 9ce8146.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Jul 9, 2016

Merging in master/2.0.

@asfgit asfgit closed this in d8b06f1 Jul 9, 2016
asfgit pushed a commit that referenced this pull request Jul 9, 2016
…ByteBuffer

## What changes were proposed in this pull request?

It's possible to also change the callers to not pass in empty chunks, but it seems cleaner to just allow `ChunkedByteBuffer` to handle empty arrays. cc JoshRosen

## How was this patch tested?

Unit tests, also checked that the original reproduction case in #11748 (comment) is resolved.

Author: Eric Liang <ekl@databricks.com>

Closes #14099 from ericl/spark-16432.

(cherry picked from commit d8b06f1)
Signed-off-by: Reynold Xin <rxin@databricks.com>
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.

3 participants