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

aggregate doesn't make copies of zeroValue in local mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 1.0.2, 1.1.0, 1.2.0
    • None
    • Spark Core
    • None

    Description

      RDD.aggregate makes a copy of zeroValue to collect the task result. However, it doesn't make copies of zeroValue for each partition. In local mode, this causes race conditions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mengxr Xiangrui Meng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: