GitHub user ericl opened a pull request:
https://github.com/apache/spark/pull/14099
[SPARK-16432] Empty blocks fail to serialize due to assert in
ChunkedByteBuffer
## 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
https://github.com/apache/spark/pull/11748#issuecomment-230760283 is resolved.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ericl/spark spark-16432
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14099.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 #14099
----
commit 9ce81468b41c7515c6ce3fd4791e0ecc03a7de19
Author: Eric Liang <[email protected]>
Date: 2016-07-08T00:18:29Z
Thu Jul 7 17:18:29 PDT 2016
----
---
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]