dragon created HDFS-10132: ----------------------------- Summary: CLONE - DFSClient hang up when there are not sufficient DataNodes in EC cluster. Key: HDFS-10132 URL: https://issues.apache.org/jira/browse/HDFS-10132 Project: Hadoop HDFS Issue Type: Sub-task Affects Versions: HDFS-7285 Reporter: dragon Assignee: Kai Sasaki
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. {code} 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) {code} DFSClient should handle insufficient DN error properly just like replication blocks. -- This message was sent by Atlassian JIRA (v6.3.4#6332)