aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2014-10-24 15:06:15 -0700
committerJosh Rosen <joshrosen@databricks.com>2014-10-24 15:06:15 -0700
commit6c98c29ae0033556fd4424f41d1de005c509e511 (patch)
treeeeaae15f90955ef04a1794f7c966960bcdbbf3fd /pom.xml
parent3a906c6631a914da8ede3111c63f89a0dac3f369 (diff)
downloadspark-6c98c29ae0033556fd4424f41d1de005c509e511.tar.gz
spark-6c98c29ae0033556fd4424f41d1de005c509e511.tar.bz2
spark-6c98c29ae0033556fd4424f41d1de005c509e511.zip
[SPARK-4080] Only throw IOException from [write|read][Object|External]
If classes implementing Serializable or Externalizable interfaces throw exceptions other than IOException or ClassNotFoundException from their (de)serialization methods, then this results in an unhelpful "IOException: unexpected exception type" rather than the actual exception that produced the (de)serialization error. This patch fixes this by adding a utility method that re-wraps any uncaught exceptions in IOException (unless they are already instances of IOException). Author: Josh Rosen <joshrosen@databricks.com> Closes #2932 from JoshRosen/SPARK-4080 and squashes the following commits: cd3a9be [Josh Rosen] [SPARK-4080] Only throw IOException from [write|read][Object|External].
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions