diff options
author | zsxwing <zsxwing@gmail.com> | 2014-10-28 17:59:10 -0700 |
---|---|---|
committer | Aaron Davidson <aaron@databricks.com> | 2014-10-28 17:59:10 -0700 |
commit | 1536d70331e9a4f5b5ea9dabfd72592ca1fc8e35 (patch) | |
tree | 8bc09d016bb146a9917f5ce25e9f3a4feccad1c8 /sql/hive/compatibility/src/test | |
parent | 84e5da87e32256ba4f3dee6f8bf532ce88322028 (diff) | |
download | spark-1536d70331e9a4f5b5ea9dabfd72592ca1fc8e35.tar.gz spark-1536d70331e9a4f5b5ea9dabfd72592ca1fc8e35.tar.bz2 spark-1536d70331e9a4f5b5ea9dabfd72592ca1fc8e35.zip |
[SPARK-4008] Fix "kryo with fold" in KryoSerializerSuite
`zeroValue` will be serialized by `spark.closure.serializer` but `spark.closure.serializer` only supports the default Java serializer. So it must not be `ClassWithoutNoArgConstructor`, which can not be serialized by the Java serializer.
This PR changed `zeroValue` to null and updated the test to make it work correctly.
Author: zsxwing <zsxwing@gmail.com>
Closes #2856 from zsxwing/SPARK-4008 and squashes the following commits:
51da655 [zsxwing] [SPARK-4008] Fix "kryo with fold" in KryoSerializerSuite
Diffstat (limited to 'sql/hive/compatibility/src/test')
0 files changed, 0 insertions, 0 deletions