You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Rakesh R (JIRA)" <ji...@apache.org> on 2015/06/30 10:28:04 UTC

[jira] [Commented] (HDFS-8699) DFSClient hang up when there are not sufficient DataNodes in EC cluster.

    [ https://issues.apache.org/jira/browse/HDFS-8699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14607938#comment-14607938 ] 

Rakesh R commented on HDFS-8699:
--------------------------------

Thanks [~kaisasak] for reporting this issue. Actually there is another jira HDFS-8220 open which talks about similar case. If you feel its same, can we continue the  discussion there ?

> 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)