diff options
author | Sean Owen <sowen@cloudera.com> | 2014-12-09 16:38:27 -0800 |
---|---|---|
committer | Aaron Davidson <aaron@databricks.com> | 2014-12-09 16:38:49 -0800 |
commit | b0d64e57255e5ca545c90f18bd9d10a07ae43759 (patch) | |
tree | 726314d1af9c46d0386f6e4a40bd8e03ad7796fd /LICENSE | |
parent | 51da2c557b98aec8309db01ecf8dd0f39c494d28 (diff) | |
download | spark-b0d64e57255e5ca545c90f18bd9d10a07ae43759.tar.gz spark-b0d64e57255e5ca545c90f18bd9d10a07ae43759.tar.bz2 spark-b0d64e57255e5ca545c90f18bd9d10a07ae43759.zip |
SPARK-4805 [CORE] BlockTransferMessage.toByteArray() trips assertion
Allocate enough room for type byte as well as message, to avoid tripping assertion about capacity of the buffer
Author: Sean Owen <sowen@cloudera.com>
Closes #3650 from srowen/SPARK-4805 and squashes the following commits:
9e1d502 [Sean Owen] Allocate enough room for type byte as well as message, to avoid tripping assertion about capacity of the buffer
(cherry picked from commit d8f84f26e388055ca7459810e001d05ab60af15b)
Signed-off-by: Aaron Davidson <aaron@databricks.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions