cloud-fan commented on a change in pull request #28289:
URL: https://github.com/apache/spark/pull/28289#discussion_r412853464



##########
File path: core/src/main/scala/org/apache/spark/rdd/ReliableCheckpointRDD.scala
##########
@@ -199,8 +199,7 @@ private[spark] object ReliableCheckpointRDD extends Logging 
{
 
     val finalOutputName = 
ReliableCheckpointRDD.checkpointFileName(ctx.partitionId())
     val finalOutputPath = new Path(outputDir, finalOutputName)
-    val tempOutputPath = new Path(outputDir,
-      
s".$finalOutputName-attempt-${ctx.stageAttemptNumber()}-${ctx.attemptNumber()}")
+    val tempOutputPath = new Path(outputDir, 
s".$finalOutputName-attempt-${ctx.taskAttemptId()}")

Review comment:
       ```
   private[spark] class TaskDescription(
       val taskId: Long,
       val attemptNumber: Int,
   ...
   ```
   I believe `taskAttempId` is some kind of historic name in `TaskContext`.




----------------------------------------------------------------
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