on-internet
← Community

Shuffle map stage failure with indeterminate output: eliminate the indeterminacy by checkpointing the RDD before repartition

Stack Overflow ·

I'm running into an issue with a Spark job that fails roughly every 2nd time with the following error message: org.apache.spark.SparkException: Job aborted due to stage failure: A shuffle map stage with indeterminate output was failed and retried. However, Spark cannot rollback the ResultStage XYZ to re-process the input data, and has to fail this job. Please eliminate the indeterminacy by checkpointing the RDD before repartition and try again. This happens on Databricks 13.3 LTS (based on Apache Spark 3.4.1). I started out by step-wise eliminating calls to repartition(...) until there was non

Comments

Sign in or sign up to comment and upvote.

No comments yet.