Xuefu Zhang created SPARK-2421:
----------------------------------
Summary: Spark should treat writable as serializable for keys
Key: SPARK-2421
URL: https://issues.apache.org/jira/browse/SPARK-2421
Project: Spark
Issue Type: Improvement
Components: Input/Output, Java API
Affects Versions: 1.0.0
Reporter: Xuefu Zhang
It seems that Spark requires the key be serializable (class implement
Serializable interface). In Hadoop world, Writable interface is used for the
same purpose. A lot of existing classes, while writable, are not considered by
Spark as Serializable. It would be nice if Spark can treate Writable as
serializable and automatically serialize and de-serialize these classes using
writable interface.
This is identified in HIVE-7279, but its benefits are seen global.
--
This message was sent by Atlassian JIRA
(v6.2#6252)