warrenzhu25 opened a new pull request #28941:
URL: https://github.com/apache/spark/pull/28941


   ### What changes were proposed in this pull request?
   Fix bug of exception when parse event log of fetch failed task end reason 
without `Map Index` 
   
   ### Why are the changes needed?
   When Spark history server read event log produced by older version of spark 
2.4 (which don't have `Map Index` field), parsing of TaskEndReason will fail. 
This will cause TaskEnd event being ignored.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   JsonProtocolSuite.test("FetchFailed Map Index backwards compatibility")
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to