Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7285 Erasure Coding Support inside HDFS
  3. HDFS-8699

DFSClient hang up when there are not sufficient DataNodes in EC cluster.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • HDFS-7285
    • None
    • None
    • None

    Description

      6-3 RS schema requires 9 data nodes at least to work properly. However when there are not sufficient DataNodes in EC cluster, writing file fails because of NullPointerException. And also client is hang up.

      java.lang.NullPointerException
              at org.apache.hadoop.hdfs.DataStreamer.nextBlockOutputStream(DataStreamer.java:1463)
              at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:591)
              at org.apache.hadoop.hdfs.StripedDataStreamer.run(StripedDataStreamer.java:49)
      

      DFSClient should handle insufficient DN error properly just like replication blocks.

      Attachments

        Issue Links

          Activity

            People

              kaisasak Kai Sasaki
              kaisasak Kai Sasaki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: