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] [Commented] (HDFS-8035) Move checking replication and get client DN to BM and DM respectively
Date Wed, 01 Apr 2015 17:50:53 GMT

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

Jing Zhao commented on HDFS-8035:
---------------------------------

The patch looks good to me. One comment is that now the patch moves {{getDatanodeByHost}}
out of the read lock, thus reading {{host2DatanodeMap}} is no longer lock protected.

> Move checking replication and get client DN to BM and DM respectively
> ---------------------------------------------------------------------
>
>                 Key: HDFS-8035
>                 URL: https://issues.apache.org/jira/browse/HDFS-8035
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>         Attachments: HDFS-8035.000.patch, HDFS-8035.001.patch
>
>
> There are functionality in {{FSNameSystem}} to check replication and to get datanode
based on the client name. This jira proposes to move these functionality to {{BlockManager}}
and {{DatanodeManager}} respectively.



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

Mime
View raw message