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

Task metrics are not aggregated correctly in local mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.1.0
    • 1.1.1, 1.2.0
    • Spark Core
    • None

    Description

      In local mode, after onExecutorMetricsUpdate(), t.taskMetrics will be the same object with that in TaskContext (because there is no serialization for MetricsUpdate in local mode), then all the upcoming changes in metrics will be lost, because updateAggregateMetrics() only counts the difference in these two.

      This bug was introduced in https://issues.apache.org/jira/browse/SPARK-2099, cc sandyr]

      Attachments

        Activity

          People

            davies Davies Liu
            davies Davies Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: