Kai Sasaki created HDFS-8699:
--------------------------------

             Summary: DFSClient hang up when there are not sufficient DataNodes 
in EC cluster.
                 Key: HDFS-8699
                 URL: https://issues.apache.org/jira/browse/HDFS-8699
             Project: Hadoop HDFS
          Issue Type: Sub-task
    Affects Versions: HDFS-7285
            Reporter: Kai Sasaki
            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)

Reply via email to