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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.1
    • 3.3.1, 3.4.0, 3.2.3
    • ec
    • 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

            surendralilhore Surendra Singh Lilhore
            surendralilhore Surendra Singh Lilhore
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: