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

DataNode could meet deadlock if invoke refreshNameNode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.2.0
    • 3.2.2, 3.3.1, 3.4.0, 3.2.3
    • datanode
    • 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

            wanghongbing Hongbing Wang
            wanghongbing Hongbing Wang
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: