Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/19383#discussion_r147569226
--- Diff: core/src/main/scala/org/apache/spark/status/api/v1/api.scala ---
@@ -129,9 +129,13 @@ class RDDDataDistribution private[spark](
val memoryUsed: Long,
val memoryRemaining: Long,
val diskUsed: Long,
+ @JsonDeserialize(contentAs = classOf[JLong])
--- End diff --
See jackson documentation. It tells jackson to deserialize the contents of
a container as a specific type.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]