diff options
author | Matei Zaharia <matei@databricks.com> | 2014-05-10 12:10:24 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-05-10 12:11:01 -0700 |
commit | 9fbb22c2011597dec9eddfbf5ea74cf821093293 (patch) | |
tree | ba4f37eb7a4347720d1ef5d4225102757121d06e /docs | |
parent | 7486474d6b9809cd5a6664939343351db4da0e18 (diff) | |
download | spark-9fbb22c2011597dec9eddfbf5ea74cf821093293.tar.gz spark-9fbb22c2011597dec9eddfbf5ea74cf821093293.tar.bz2 spark-9fbb22c2011597dec9eddfbf5ea74cf821093293.zip |
SPARK-1708. Add a ClassTag on Serializer and things that depend on it
This pull request contains a rebased patch from @heathermiller (https://github.com/heathermiller/spark/pull/1) to add ClassTags on Serializer and types that depend on it (Broadcast and AccumulableCollection). Putting these in the public API signatures now will allow us to use Scala Pickling for serialization down the line without breaking binary compatibility.
One question remaining is whether we also want them on Accumulator -- Accumulator is passed as part of a bigger Task or TaskResult object via the closure serializer so it doesn't seem super useful to add the ClassTag there. Broadcast and AccumulableCollection in contrast were being serialized directly.
CC @rxin, @pwendell, @heathermiller
Author: Matei Zaharia <matei@databricks.com>
Closes #700 from mateiz/spark-1708 and squashes the following commits:
1a3d8b0 [Matei Zaharia] Use fake ClassTag in Java
3b449ed [Matei Zaharia] test fix
2209a27 [Matei Zaharia] Code style fixes
9d48830 [Matei Zaharia] Add a ClassTag on Serializer and things that depend on it
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions