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

Kevin Chen closed SPARK-10438.
------------------------------
    Resolution: Not A Problem

Can use Jackson with DefaultScalaModule; annotations aren't necessary.

> 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
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> [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]

Reply via email to