You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/06/28 21:51:35 UTC
[GitHub] [spark] dongjoon-hyun commented on a change in pull request #28941: [SPARK-25341][CORE][FOLLOWUP] Support rolling back a shuffle map stage and re-generate the shuffle files
dongjoon-hyun commented on a change in pull request #28941:
URL: https://github.com/apache/spark/pull/28941#discussion_r446702623
##########
File path: core/src/main/scala/org/apache/spark/util/JsonProtocol.scala
##########
@@ -1078,7 +1078,10 @@ private[spark] object JsonProtocol {
val blockManagerAddress = blockManagerIdFromJson(json \ "Block Manager Address")
val shuffleId = (json \ "Shuffle ID").extract[Int]
val mapId = (json \ "Map ID").extract[Long]
- val mapIndex = (json \ "Map Index").extract[Int]
+ val mapIndex = (json \ "Map Index") match {
+ case JNothing => 0
Review comment:
So, this is only Spark History Server regression? Is there any side-effect on Spark 3.0.0?
> When Spark history server read event log produced
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org