Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7DDCC200B9D for ; Wed, 28 Sep 2016 18:49:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7CB86160AD3; Wed, 28 Sep 2016 16:49:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C4705160AB8 for ; Wed, 28 Sep 2016 18:49:21 +0200 (CEST) Received: (qmail 82392 invoked by uid 500); 28 Sep 2016 16:49:20 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 82361 invoked by uid 99); 28 Sep 2016 16:49:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2016 16:49:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9CB6F2C2A62 for ; Wed, 28 Sep 2016 16:49:20 +0000 (UTC) Date: Wed, 28 Sep 2016 16:49:20 +0000 (UTC) From: "Kihwal Lee (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10919) Provide admin/debug tool to dump out info of a given block MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 28 Sep 2016 16:49:22 -0000 [ 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