[ https://issues.apache.org/jira/browse/SPARK-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-2296. --------------------------------- Resolution: Incomplete > 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 > Priority: Major > Labels: bulk-closed > > 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 (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org