Github user JoshRosen commented on a diff in the pull request:
https://github.com/apache/spark/pull/4029#discussion_r22963608
--- Diff: core/src/main/scala/org/apache/spark/util/JsonProtocol.scala ---
@@ -469,6 +471,7 @@ private[spark] object JsonProtocol {
def jobStartFromJson(json: JValue): SparkListenerJobStart = {
val jobId = (json \ "Job ID").extract[Int]
+ val submissionTime = (json \ "Submission Time").extractOpt[Long]
--- End diff --
For backwards-compatibility, you should use `Utils.json` option here; see
the block comment at
https://github.com/sarutak/spark/blob/SPARK-5231/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala#L46,
plus the examples elsewhere in this file.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]