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 5FE7E200CC3 for ; Sat, 1 Jul 2017 03:34:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 53CB7160BF6; Sat, 1 Jul 2017 01:34:04 +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 97763160BEB for ; Sat, 1 Jul 2017 03:34:03 +0200 (CEST) Received: (qmail 98004 invoked by uid 500); 1 Jul 2017 01:34:02 -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 97993 invoked by uid 99); 1 Jul 2017 01:34:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Jul 2017 01:34:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 350CEC347F for ; Sat, 1 Jul 2017 01:34:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 9Ovu6NEfSjJC for ; Sat, 1 Jul 2017 01:34:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 64A295FDA3 for ; Sat, 1 Jul 2017 01:34:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C2C97E08A0 for ; Sat, 1 Jul 2017 01:34:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 110FF245DC for ; Sat, 1 Jul 2017 01:34:00 +0000 (UTC) Date: Sat, 1 Jul 2017 01:34:00 +0000 (UTC) From: "Manoj Govindassamy (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-11986) Dfsadmin should report erasure coding related information separately MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 01 Jul 2017 01:34:04 -0000 [ https://issues.apache.org/jira/browse/HDFS-11986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manoj Govindassamy updated HDFS-11986: -------------------------------------- Attachment: HDFS-11986.01.patch Attached v01 patch to add Erasure Coded Block Groups stats in {{dfsadmin --report}} command. Updated {{TestDFSAdmin#testReportCommand}} to verify the newly added stats. [~eddyxu], [~andrew.wang], can you please take a look ? > Dfsadmin should report erasure coding related information separately > --------------------------------------------------------------------- > > Key: HDFS-11986 > URL: https://issues.apache.org/jira/browse/HDFS-11986 > Project: Hadoop HDFS > Issue Type: Improvement > Components: erasure-coding, hdfs > Affects Versions: 3.0.0-alpha1 > Reporter: Manoj Govindassamy > Assignee: Manoj Govindassamy > Labels: hdfs-ec-3.0-nice-to-have > Attachments: HDFS-11986.01.patch > > > dfsadmin -report command currently reports only the aggregated block stats like below. > {noformat} > # hdfs dfsadmin -report > Configured Capacity: 1498775814144 (1.36 TB) > Present Capacity: 931852427264 (867.86 GB) > DFS Remaining: 931805765632 (867.81 GB) > DFS Used: 46661632 (44.50 MB) > DFS Used%: 0.01% > Under replicated blocks: 0 > Blocks with corrupt replicas: 0 > Missing blocks: 0 > Missing blocks (with replication factor 1): 0 > Pending deletion blocks: 0 > {noformat} > Just like fsck, the proposal is to make dfsadmin command to report erasure coding blockgroups stats separately, like below > {noformat} > # hdfs dfsadmin -report > Configured Capacity: 1498775814144 (1.36 TB) > Present Capacity: 931852427264 (867.86 GB) > DFS Remaining: 931805765632 (867.81 GB) > DFS Used: 46661632 (44.50 MB) > DFS Used%: 0.01% > Replicated Blocks: > Under replicated blocks: 0 > Blocks with corrupt replicas: 0 > Missing blocks: 0 > Missing blocks (with replication factor 1): 0 > Pending deletion blocks: 0 > Erasure Coded Block Groups: > Under ec block groups: 0 > EC block groups with corrupt internal blocks: 0 > Missing ec block groups: 0 > Pending deletion ec block groups: 0 > {noformat} > Erasure coding specific details needed for this enhancements are already made available as part of HDFS-10999. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org