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: [email protected]
For additional commands, e-mail: [email protected]