spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-3031) Create JsonSerializable and move JSON serialization from JsonProtocol into each class
Date Thu, 14 Aug 2014 06:49:12 GMT

    [ https://issues.apache.org/jira/browse/SPARK-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14096664#comment-14096664
] 

Reynold Xin commented on SPARK-3031:
------------------------------------

cc [~andrewor14] [~adav]

> Create JsonSerializable and move JSON serialization from JsonProtocol into each class
> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-3031
>                 URL: https://issues.apache.org/jira/browse/SPARK-3031
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>            Reporter: Reynold Xin
>
> It is really, really weird that we have a single file JsonProtocol that handles the JSON
serialization/deserialization for a bunch of classes. This is very error prone because it
is easy to add a new field to a class, and forget to update the JSON part of it. Or worse,
add a new event class and forget to add one, as evidenced by https://issues.apache.org/jira/browse/SPARK-3028



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message