Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-22681

Accumulator should only be updated once for each task in result stage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • Spark Core
    • None

    Description

      As the doc says "For accumulator updates performed inside actions only, Spark guarantees that each task’s update to the accumulator will only be applied once, i.e. restarted tasks will not update the value."
      But currently the code doesn't guarantee this.

      Attachments

        Activity

          People

            carsonwang Carson Wang
            carsonwang Carson Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: