hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (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 16:49:20 GMT

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

Kihwal Lee commented on HDFS-10919:
-----------------------------------

Given a block ID you can use {{fsck -blockId}} to get the file it belongs to and other information.
We could extend it to provide more information.

> 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
(v6.3.4#6332)

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


Mime
View raw message