[ https://issues.apache.org/jira/browse/SPARK-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17466171#comment-17466171 ]
Guillaume Desforges commented on SPARK-2421: -------------------------------------------- It seems that the issue was indeed resolved with the introduction of SerializableWritable https://spark.apache.org/docs/3.2.0/api/java/org/apache/spark/SerializableWritable.html > 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 > Priority: Major > > 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 (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org