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

EC : File write hanged when DN is shutdown by admin command.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.3.1, 3.4.0, 3.1.5, 3.2.3
    • Component/s: ec
    • Labels:
      None

      Description

      EC Blocks : blk_-9223372036854291632_10668910, blk_-9223372036854291631_10668910, blk_-9223372036854291630_10668910, blk_-9223372036854291629_10668910, blk_-9223372036854291628_10668910

       

      Two block DN restarted : blk_-9223372036854291630_10668910 & blk_-9223372036854291632_10668910

      2020-03-03 18:12:17,074 DEBUG hdfs.DataStreamer: DFSClient seqno: -2 reply: OOB_RESTART downstreamAckTimeNanos: 0 flag: 8
      2020-03-03 18:13:39,469 DEBUG hdfs.DataStreamer: DFSClient seqno: -2 reply: OOB_RESTART downstreamAckTimeNanos: 0 flag: 8 

       

      Restarted streams are stuck in below stacktrace :

      java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at org.apache.hadoop.hdfs.DFSStripedOutputStream$MultipleBlockingQueue.take(DFSStripedOutputStream.java:110) at org.apache.hadoop.hdfs.StripedDataStreamer.setupPipelineInternal(StripedDataStreamer.java:140) at org.apache.hadoop.hdfs.DataStreamer.setupPipelineForAppendOrRecovery(DataStreamer.java:1540) at org.apache.hadoop.hdfs.DataStreamer.processDatanodeOrExternalError(DataStreamer.java:1276) at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:669) at org.apache.hadoop.hdfs.StripedDataStreamer.run(StripedDataStreamer.java:46)
      

        Attachments

        1. dump.txt
          24 kB
          Surendra Singh Lilhore
        2. HDFS-15210.001.patch
          4 kB
          Surendra Singh Lilhore
        3. HDFS-15210.002.patch
          5 kB
          Surendra Singh Lilhore
        4. HDFS-15210.003.patch
          3 kB
          Surendra Singh Lilhore

          Activity

            People

            • Assignee:
              surendrasingh Surendra Singh Lilhore
              Reporter:
              surendrasingh Surendra Singh Lilhore
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: