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-9070) Allow fsck display pending replica location information for being-written blocks
Date Mon, 28 Sep 2015 23:11:04 GMT

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

Jing Zhao commented on HDFS-9070:
---------------------------------

Thanks for updating the patch, [~demongaorui]! The new patch looks pretty good to me. Only
one minor: it may be better to call {{append(DatanodeInfoWithStorage)}} for the last uc block
in order to be consistent with the complete block case. Also let's also add a simple check
{{lastBlock != null}}. 
{code}
sb.append(new DatanodeInfoWithStorage(dnDesc, storage.getStorageID(), storage
    .getStorageType()));
{code}

> Allow fsck display pending replica location information for being-written blocks
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-9070
>                 URL: https://issues.apache.org/jira/browse/HDFS-9070
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: GAO Rui
>            Assignee: GAO Rui
>         Attachments: HDFS-9070--HDFS-7285.00.patch, HDFS-9070-HDFS-7285.00.patch, HDFS-9070-HDFS-7285.01.patch,
HDFS-9070-HDFS-7285.02.patch
>
>
> When a EC file is being written, it can be helpful to allow fsck display datanode information
of the being-written EC file block group. 



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

Mime
View raw message