Github user kayousterhout commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16959#discussion_r103854313
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/OutputCommitCoordinator.scala ---
    @@ -158,13 +158,17 @@ private[spark] class OutputCommitCoordinator(conf: 
SparkConf, isDriver: Boolean)
           stage: StageId,
           partition: PartitionId,
           attemptNumber: TaskAttemptNumber): Boolean = synchronized {
    -    authorizedCommittersByStage.get(stage) match {
    -      case Some(authorizedCommitters) =>
    -        authorizedCommitters(partition) match {
    +    stageStates.get(stage) match {
    +      case Some(state) if attemptFailed(state, partition, attemptNumber) =>
    +        logInfo(s"Denying attemptNumber=$attemptNumber to commit for 
stage=$stage," +
    +        s" partition=$partition as task attempt $attemptNumber has already 
failed.")
    --- End diff --
    
    can you fix the indentation here? (should be +2 spaces)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to