hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8365) Erasure Coding: Badly treated when short of Datanode in StripedDataStreamer
Date Mon, 11 May 2015 06:27:00 GMT

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

Rakesh R commented on HDFS-8365:
--------------------------------

Thanks [~walter.k.su] for reporting this issue. It looks like duplicate of HDFS-8220. It would
be great if you can help to make HDFS-8220 issue resolved.

> Erasure Coding: Badly treated when short of Datanode in StripedDataStreamer
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-8365
>                 URL: https://issues.apache.org/jira/browse/HDFS-8365
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Walter Su
>            Assignee: Walter Su
>
> Currently, each innerBlock of blockGroup should put on different node. One node can't
has 2 innerBlock. 
> If one node has 2 innerBlock, we have blockReport issue. The first reported innerBlock
will be added to triplets, but the second won't.
> If we decide to not to support 2 innerBlock in one node. We should handle this situation,
and output warning friendly.
> When there are only 8 DN, and ECSchema is RS-6-3
> {noformat}
>  # bin/hdfs dfs -put README.txt /ecdir
> 15/05/11 13:48:30 WARN hdfs.DataStreamer: DataStreamer Exception
> java.lang.NullPointerException
>         at java.util.concurrent.LinkedBlockingQueue.offer(LinkedBlockingQueue.java:410)
>         at org.apache.hadoop.hdfs.DFSStripedOutputStream$Coordinator.putStripedBlock(DFSStripedOutputStream.java:115)
>         at org.apache.hadoop.hdfs.StripedDataStreamer.locateFollowingBlock(StripedDataStreamer.java:120)
>         at org.apache.hadoop.hdfs.DataStreamer.nextBlockOutputStream(DataStreamer.java:1360)
>         at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:457)
>         at org.apache.hadoop.hdfs.StripedDataStreamer.run(StripedDataStreamer.java:48)
> 15/05/11 13:48:30 WARN hdfs.DFSOutputStream: Failed: closeImpl, DFSStripedOutputStream:#0:
isFailed? f, null@null
> java.io.IOException: java.lang.NullPointerException
>         at org.apache.hadoop.hdfs.DataStreamer$LastExceptionInStreamer.set(DataStreamer.java:183)
>         at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:571)
>         at org.apache.hadoop.hdfs.StripedDataStreamer.run(StripedDataStreamer.java:48)
> Caused by: java.lang.NullPointerException
>         at java.util.concurrent.LinkedBlockingQueue.offer(LinkedBlockingQueue.java:410)
>         at org.apache.hadoop.hdfs.DFSStripedOutputStream$Coordinator.putStripedBlock(DFSStripedOutputStream.java:115)
>         at org.apache.hadoop.hdfs.StripedDataStreamer.locateFollowingBlock(StripedDataStreamer.java:120)
>         at org.apache.hadoop.hdfs.DataStreamer.nextBlockOutputStream(DataStreamer.java:1360)
>         at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:457)
>         ... 1 more
> 15/05/11 13:48:30 WARN hdfs.DFSOutputStream: Failed: closeImpl, DFSStripedOutputStream:#1:
isFailed? f, null@null
> java.nio.channels.ClosedChannelException
>         at org.apache.hadoop.hdfs.DataStreamer$LastExceptionInStreamer.throwException4Close(DataStreamer.java:208)
>         at org.apache.hadoop.hdfs.DFSOutputStream.checkClosed(DFSOutputStream.java:146)
>         at org.apache.hadoop.hdfs.DFSOutputStream.flushInternal(DFSOutputStream.java:713)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message