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

JobHistory applications synchronized is invalid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.1.1
    • None
    • Spark Core
    • None

    Description

      FsHistoryProvider has some threads to mergeApplicationListing.
      mergeApplicationListing function has code like this:
      applications.synchronized {
      ...
      applications = mergedApps
      ...
      }

      applications object is changed, so the synchronized do not work.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ffbin fangfengbin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: