pan3793 edited a comment on pull request #35076: URL: https://github.com/apache/spark/pull/35076#issuecomment-1005881779
Update: After https://github.com/apache/spark/commit/f6128a6f4215dc45a19209d799dd9bf98fab6d8a, I run 3 rounds of 1T TPC-DS using master branch's code, don't see neither this issue nor the issue mentioned in #34934, but the following issue occurs frequently, it cause stage retry rather than fail the job, and usually the stage can success in retry. ``` FetchFailed(null, shuffleId=15, mapIndex=-1, mapId=-1, reduceId=838, message= org.apache.spark.shuffle.MetadataFetchFailedException: Missing an output location for shuffle 15 partition 838 at org.apache.spark.MapOutputTracker$.validateStatus(MapOutputTracker.scala:1619) at org.apache.spark.MapOutputTracker$.$anonfun$convertMapStatuses$7(MapOutputTracker.scala:1555) at scala.collection.TraversableLike$WithFilter.$anonfun$foreach$1(TraversableLike.scala:985) at scala.collection.Iterator.foreach(Iterator.scala:943) at scala.collection.Iterator.foreach$(Iterator.scala:943) at scala.collection.AbstractIterator.foreach(Iterator.scala:1431) at scala.collection.IterableLike.foreach(IterableLike.scala:74) at scala.collection.IterableLike.foreach$(IterableLike.scala:73) at scala.collection.AbstractIterable.foreach(Iterable.scala:56) at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:984) at org.apache.spark.MapOutputTracker$.$anonfun$convertMapStatuses$4(MapOutputTracker.scala:1554) at org.apache.spark.MapOutputTracker$.$anonfun$convertMapStatuses$4$adapted(MapOutputTracker.scala:1535) at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36) at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33) at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198) at org.apache.spark.MapOutputTracker$.convertMapStatuses(MapOutputTracker.scala:1535) at org.apache.spark.MapOutputTrackerWorker.getMapSizesByExecutorIdImpl(MapOutputTracker.scala:1230) at org.apache.spark.MapOutputTrackerWorker.getPushBasedShuffleMapSizesByExecutorId(MapOutputTracker.scala:1204) at org.apache.spark.shuffle.sort.SortShuffleManager.getReader(SortShuffleManager.scala:136) at org.apache.spark.shuffle.ShuffleManager.getReader(ShuffleManager.scala:63) at org.apache.spark.shuffle.ShuffleManager.getReader$(ShuffleManager.scala:57) at org.apache.spark.shuffle.sort.SortShuffleManager.getReader(SortShuffleManager.scala:73) at org.apache.spark.sql.execution.ShuffledRowRDD.compute(ShuffledRowRDD.scala:208) at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:365) at org.apache.spark.rdd.RDD.iterator(RDD.scala:329) at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52) at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:365) at org.apache.spark.rdd.RDD.iterator(RDD.scala:329) at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52) at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:365) at org.apache.spark.rdd.RDD.iterator(RDD.scala:329) at org.apache.spark.shuffle.ShuffleWriteProcessor.write(ShuffleWriteProcessor.scala:59) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:99) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:52) at org.apache.spark.scheduler.Task.run(Task.scala:136) at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:507) at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1475) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:510) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ``` -- 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. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org