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 2022/06/21 10:13:18 UTC

[GitHub] [spark] HyukjinKwon commented on pull request #36564: [SPARK-39195][SQL] Spark OutputCommitCoordinator should abort stage when committed file not consistent with task status

HyukjinKwon commented on PR #36564:
URL: https://github.com/apache/spark/pull/36564#issuecomment-1161545527

   Hm, I think the test here seems flaky:
   
   ```
   [info] OutputCommitCoordinatorSuite:
   [info] - Only one of two duplicate commit tasks should commit (80 milliseconds)
   [info] - If commit fails, if task is retried it should not be locked, and will succeed. *** FAILED *** (69 milliseconds)
   [info]   org.apache.spark.SparkException: Job aborted due to stage failure: Authorized committer (attemptNumber=0, stage=0, partition=0) failed; but task commit success, data duplication may happen.
   [info]   at org.apache.spark.scheduler.DAGScheduler.failJobAndIndependentStages(DAGScheduler.scala:2706)
   [info]   at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2(DAGScheduler.scala:2642)
   [info]   at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2$adapted(DAGScheduler.scala:2641)
   [info]   at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
   [info]   at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
   [info]   at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
   [info]   at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:2641)
   [info]   at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleStageFailed$1(DAGScheduler.scala:1182)
   [info]   at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleStageFailed$1$adapted(DAGScheduler.scala:1182)
   [info]   at scala.Option.foreach(Option.scala:407)
   [info]   at org.apache.spark.scheduler.DAGScheduler.handleStageFailed(DAGScheduler.scala:1182)
   [info]   at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:2894)
   ```


-- 
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-unsubscribe@spark.apache.org

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