Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15641

DataNode could meet deadlock if invoke refreshNameNode

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.2, 3.3.1, 3.4.0, 3.2.3
    • Component/s: None
    • Labels:
      None

      Description

      DataNode could meet deadlock when invoke `hdfs dfsadmin -refreshNamenodes hostname:50020` to register a new namespace in federation env.

      The jstack is shown in jstack.log
      The specific process is shown in Figure deadlock.png

        Attachments

        1. jstack.log
          7 kB
          Hongbing Wang
        2. HDFS-15641.003.patch
          4 kB
          Hongbing Wang
        3. HDFS-15641.002.patch
          4 kB
          Hongbing Wang
        4. HDFS-15641.001.patch
          5 kB
          Hongbing Wang
        5. deadlock.png
          166 kB
          Hongbing Wang
        6. deadlock_fixed.png
          175 kB
          Hongbing Wang

          Activity

            People

            • Assignee:
              wanghongbing Hongbing Wang
              Reporter:
              wanghongbing Hongbing Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: