You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2014/08/14 08:49:13 UTC

[jira] [Updated] (SPARK-3031) Create JsonSerializable and move JSON serialization from JsonProtocol into each class

     [ https://issues.apache.org/jira/browse/SPARK-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reynold Xin updated SPARK-3031:
-------------------------------

    Component/s: Spark Core

> 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