hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8254) Avoid assigning a leading streamer in StripedDataStreamer to tolerate datanode failure
Date Fri, 19 Jun 2015 17:25:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jing Zhao updated HDFS-8254:
----------------------------
    Summary: Avoid assigning a leading streamer in StripedDataStreamer to tolerate datanode
failure  (was: In StripedDataStreamer, it is hard to tolerate datanode failure in the leading
streamer)

> Avoid assigning a leading streamer in StripedDataStreamer to tolerate datanode failure
> --------------------------------------------------------------------------------------
>
>                 Key: HDFS-8254
>                 URL: https://issues.apache.org/jira/browse/HDFS-8254
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>         Attachments: h8254_20150526.patch, h8254_20150526b.patch, h8254_20150616.patch,
h8254_20150618.patch
>
>
> StripedDataStreamer javadoc is shown below.
> {code}
>  * The StripedDataStreamer class is used by {@link DFSStripedOutputStream}.
>  * There are two kinds of StripedDataStreamer, leading streamer and ordinary
>  * stream. Leading streamer requests a block group from NameNode, unwraps
>  * it to located blocks and transfers each located block to its corresponding
>  * ordinary streamer via a blocking queue.
> {code}
> Leading streamer is the streamer with index 0.  When the datanode of the leading streamer
fails, the other steamers cannot continue since no one will request a block group from NameNode
anymore.



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

Mime
View raw message