Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6269

Missing synchronization for defaultResources in Configuration.addResource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.20.1
    • 0.20.2
    • conf
    • None
    • Reviewed

    Description

      Configuration.defaultResources is a simple ArrayList. In two places in Configuration it is accessed without appropriate synchronization, which we've seen to occasionally result in ConcurrentModificationExceptions.

      Attachments

        1. HADOOP-6269-2v20.patch
          1 kB
          Christopher Douglas
        2. HADOOP-6269-2.patch
          1 kB
          Sreekanth Ramakrishnan
        3. HADOOP-6269-1.patch
          2 kB
          Sreekanth Ramakrishnan
        4. hadoop-6269.txt
          1 kB
          Todd Lipcon
        5. hadoop-6269.txt
          3 kB
          Todd Lipcon

        Issue Links

          Activity

            People

              sreekanth Sreekanth Ramakrishnan
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: