hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6702) DFSClient should create blocks using StorageType
Date Mon, 21 Jul 2014 13:24:39 GMT

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

Tsz Wo Nicholas Sze commented on HDFS-6702:
-------------------------------------------

Thanks Vinay.  I do have new ArrayList with types.length-startIdx in my previous patch (h6702_20140721.patch).
 However, TestDiskError fails so that I change it to types.length.

> DFSClient should create blocks using StorageType 
> -------------------------------------------------
>
>                 Key: HDFS-6702
>                 URL: https://issues.apache.org/jira/browse/HDFS-6702
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode, hdfs-client
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>         Attachments: h6702_20140719.patch, h6702_20140721.patch, h6702_20140721b.patch
>
>
> When DFSClient asks NN for a new block (via addBlock), NN returns a LocatedBlock with
storage type information.  However, DFSClient does not use StorageType to create blocks with
DN.  As a result, the block replicas could possibly be created with a different storage type.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message