You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Kai Sasaki (JIRA)" <ji...@apache.org> on 2015/06/30 11:34:05 UTC

[jira] [Resolved] (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:all-tabpanel ]

Kai Sasaki resolved HDFS-8699.
------------------------------
    Resolution: Duplicate

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