[
https://issues.apache.org/jira/browse/HDFS-8699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14607940#comment-14607940
]
Walter Su commented on HDFS-8699:
---------------------------------
Thanks [~kaisasak] for reporting. Actually this is duplicated with HDFS-8220.
> 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)