[
https://issues.apache.org/jira/browse/SPARK-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen updated SPARK-2296:
-----------------------------
Issue Type: Improvement (was: Bug)
> Refactor util.JsonProtocol for evolvability
> -------------------------------------------
>
> Key: SPARK-2296
> URL: https://issues.apache.org/jira/browse/SPARK-2296
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 1.0.0
> Reporter: Andrew Or
>
> The current design is not very evolvable. For backwards compatibility, every
> time we add a new field in one of the relevant objects (e.g. StageInfo) we
> need to add a default value to the field. Otherwise, the test suite still
> passes, but it throws some sort of obscure json exception if the field does
> not exist.
> We should let a common interface (JsonSerializable) handle this logic, so we
> don't need to do it for all classes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]