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
Attachments
Issue Links
- duplicates
-
HDFS-8220 Erasure Coding: StripedDataStreamer fails to handle the blocklocations which doesn't satisfy BlockGroupSize
- Resolved