diff --git a/core/src/main/scala/org/apache/spark/deploy/JsonProtocol.scala b/core/src/main/scala/org/apache/spark/deploy/JsonProtocol.scala index 7212696166570..acd1612d9ed97 100644 --- a/core/src/main/scala/org/apache/spark/deploy/JsonProtocol.scala +++ b/core/src/main/scala/org/apache/spark/deploy/JsonProtocol.scala @@ -80,6 +80,7 @@ private[deploy] object JsonProtocol { ("starttime" -> obj.startTime) ~ ("name" -> obj.desc.name) ~ ("cores" -> obj.coresGranted) ~ + ("request_cores" -> obj.desc.maxCores.getOrElse(0)) ~ ("user" -> obj.desc.user) ~ ("memoryperslave" -> obj.desc.memoryPerExecutorMB) ~ ("submitdate" -> obj.submitDate.toString) ~