Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None

      Description

      The heartbeat monitor thread encounters a ConcurrentModificationException while iterating over the "heartbeats" data structure. This occurs when the namenode was getting restarted. There are actuallt two bugs here:

      1. The Heartbeat Monitor thread needs to catch Exceptions and continue, instead of exiting.
      2. The heartbeats data structures is protected by the heartbeats lock. The registerDatanode() method invokes removeDatanode() without acquiring the heartbeats monitor lock. This causes the ConcurrentModificationException.

      1. heartbeatmonitor3.patch
        3 kB
        dhruba borthakur
      2. heartbeatmonitor-0.12.3.patch
        3 kB
        dhruba borthakur

        Issue Links

          Activity

          dhruba borthakur created issue -
          dhruba borthakur made changes -
          Field Original Value New Value
          Summary heartbeat monitor thread goea away heartbeat monitor thread goes away
          dhruba borthakur made changes -
          Link This issue is related to HADOOP-1255 [ HADOOP-1255 ]
          Koji Noguchi made changes -
          Priority Major [ 3 ] Blocker [ 1 ]
          dhruba borthakur made changes -
          Attachment heartbeatmonitor.patch [ 12356587 ]
          dhruba borthakur made changes -
          Attachment heartbeatmonitor2.patch [ 12356658 ]
          dhruba borthakur made changes -
          Assignee dhruba borthakur [ dhruba ]
          Status Open [ 1 ] Patch Available [ 10002 ]
          dhruba borthakur made changes -
          Attachment heartbeatmonitor3.patch [ 12356662 ]
          dhruba borthakur made changes -
          Attachment heartbeatmonitor.patch [ 12356587 ]
          dhruba borthakur made changes -
          Attachment heartbeatmonitor2.patch [ 12356658 ]
          Doug Cutting made changes -
          Resolution Fixed [ 1 ]
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.13.0 [ 12312348 ]
          dhruba borthakur made changes -
          Attachment heartbeatmonitor-0.12.3.patch [ 12356809 ]
          Doug Cutting made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Owen O'Malley made changes -
          Component/s dfs [ 12310710 ]

            People

            • Assignee:
              dhruba borthakur
              Reporter:
              dhruba borthakur
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development