[
https://issues.apache.org/jira/browse/HDFS-9070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14956012#comment-14956012
]
GAO Rui commented on HDFS-9070:
-------------------------------
Hi, [~andreina],[~jingzhao]! I have refactored related code, and attached the
patch: [^HDFS-9070-trunk.05.patch]. There are some overlap codes outside and
inside the new created method {{collectBlocksDetails}}. These overlap codes
seems to be needed to get {{BlockManager}},{{ExtendedBlock}},{{BlockInfo}} for
displaying block related infos. If you got ideas which could make the code more
pretty, please let me know, thanks a lot!
> 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, HDFS-9070-trunk.03.patch,
> HDFS-9070-trunk.04.patch, HDFS-9070-trunk.05.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)