You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kevin Chen (JIRA)" <ji...@apache.org> on 2015/09/03 22:26:46 UTC
[jira] [Created] (SPARK-10438) Can't use Jackson to deserialize
Spark json API output directly into Spark info structs
Kevin Chen created SPARK-10438:
----------------------------------
Summary: Can't use Jackson to deserialize Spark json API output directly into Spark info structs
Key: SPARK-10438
URL: https://issues.apache.org/jira/browse/SPARK-10438
Project: Spark
Issue Type: Bug
Components: Input/Output
Affects Versions: 1.4.1
Reporter: Kevin Chen
[SPARK-3454] added new API endpoints at /api/v1/[path] that are formatted as JSONs corresponding to the structs in org/apache/spark/status/api/v1/api.scala (class ApplicationInfo, ApplicationAttemptInfo, etc...). However, deserialization of the JSON output with Java Jackson/Retrofit fails, because the structs are not Jackson annotated (e.g. @ JacksonProperty). They should be, so that the JSON can be directly deserialized into the api.scala structs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org