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

Missing synchronization for defaultResources in Configuration.addResource

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.1
    • Fix Version/s: 0.20.2
    • Component/s: conf
    • Labels:
      None
    • Hadoop Flags:
      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.txt
          3 kB
          Todd Lipcon
        2. hadoop-6269.txt
          1 kB
          Todd Lipcon
        3. HADOOP-6269-1.patch
          2 kB
          Sreekanth Ramakrishnan
        4. HADOOP-6269-2.patch
          1 kB
          Sreekanth Ramakrishnan
        5. HADOOP-6269-2v20.patch
          1 kB
          Chris Douglas

          Issue Links

            Activity

              People

              • Assignee:
                sreekanth Sreekanth Ramakrishnan
                Reporter:
                tlipcon Todd Lipcon
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: