@@ -170,23 +170,23 @@ private[spark] class OutputCommitCoordinator(conf: SparkConf, isDriver: Boolean)
170170 attemptNumber : Int ): Boolean = synchronized {
171171 stageStates.get(stage) match {
172172 case Some (state) if attemptFailed(state, stageAttempt, partition, attemptNumber) =>
173- logInfo(s " Commit denied for stage= $stage/ $attemptNumber , partition= $partition: " +
173+ logInfo(s " Commit denied for stage= $stage/ $stageAttempt , partition= $partition: " +
174174 s " task attempt $attemptNumber already marked as failed. " )
175175 false
176176 case Some (state) =>
177177 val existing = state.authorizedCommitters(partition)
178178 if (existing == null ) {
179- logDebug(s " Commit allowed for stage= $stage/ $attemptNumber , partition= $partition, " +
179+ logDebug(s " Commit allowed for stage= $stage/ $stageAttempt , partition= $partition, " +
180180 s " task attempt $attemptNumber" )
181181 state.authorizedCommitters(partition) = TaskIdentifier (stageAttempt, attemptNumber)
182182 true
183183 } else {
184- logDebug(s " Commit denied for stage= $stage/ $attemptNumber , partition= $partition: " +
184+ logDebug(s " Commit denied for stage= $stage/ $stageAttempt , partition= $partition: " +
185185 s " already committed by $existing" )
186186 false
187187 }
188188 case None =>
189- logDebug(s " Commit denied for stage= $stage/ $attemptNumber , partition= $partition: " +
189+ logDebug(s " Commit denied for stage= $stage/ $stageAttempt , partition= $partition: " +
190190 " stage already marked as completed." )
191191 false
192192 }
0 commit comments