Hadoop Common
  1. Hadoop Common
  2. HADOOP-6269

Missing synchronization for defaultResources in Configuration.addResource

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

      1. HADOOP-6269-2v20.patch
        1 kB
        Chris 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

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development