hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10919) Provide admin/debug tool to dump out info of a given block
Date Wed, 28 Sep 2016 17:31:20 GMT

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

Yongjun Zhang commented on HDFS-10919:

Many thanks [~kihwal]!

I was not aware of this fsck switch -blockId.   
Just searched, found it in
but not 
doesn't show.
So it seems a new feature added to 2.7.2.

Sure let's extend it to provide more info.

> Provide admin/debug tool to dump out info of a given block
> ----------------------------------------------------------
>                 Key: HDFS-10919
>                 URL: https://issues.apache.org/jira/browse/HDFS-10919
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: hdfs
>            Reporter: Yongjun Zhang
> We have fsck to find out blocks associated with a file, which is nice. Sometimes, we
saw trouble with a specific block, we'd like to collect info about this block, such as
> * what file this block belong to, 
> * where the replicas of this block are located, 
> * whether the block is EC coded; 
> * if a block is EC coded, whether it's a data block, or code
> * if a block is EC coded, what's the codec.
> * if a block is EC coded, what's the block group
> * for the block group, what are the other blocks
> Create this jira to provide such a util, as dfsadmin, or a debug tool.
> Thanks.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message