Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 388D01762D for ; Tue, 31 Mar 2015 07:19:52 +0000 (UTC) Received: (qmail 7910 invoked by uid 500); 31 Mar 2015 07:18:53 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 7855 invoked by uid 500); 31 Mar 2015 07:18:53 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 7842 invoked by uid 99); 31 Mar 2015 07:18:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2015 07:18:53 +0000 Date: Tue, 31 Mar 2015 07:18:53 +0000 (UTC) From: "Xiaoyu Yao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-7933) fsck should also report decommissioning replicas. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-7933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HDFS-7933: ----------------------------- Attachment: HDFS-7933.02.patch Thanks [~jnp] for reviewing the patch. I've updated the patch based on your feedback. Summary of changes: 1) adding NumberReplicas#decommissioned and NumberReplicas#decommissioning to track the decommissioned and decommissioning replicas, respectively. 2) deprecating NumberReplicas#decommissionedReplicas() by NumberReplicas#decommissionedAndDecommissioning() to avoid the misleading name. 3) Display decommissioning and decommissioned replica separately in NamenodeFsck#check(). > fsck should also report decommissioning replicas. > -------------------------------------------------- > > Key: HDFS-7933 > URL: https://issues.apache.org/jira/browse/HDFS-7933 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Reporter: Jitendra Nath Pandey > Assignee: Xiaoyu Yao > Attachments: HDFS-7933.00.patch, HDFS-7933.01.patch, HDFS-7933.02.patch > > > Fsck doesn't count replicas that are on decommissioning nodes. If a block has all replicas on the decommissioning nodes, it will be marked as missing, which is alarming for the admins, although the system will replicate them before nodes are decommissioned. > Fsck output should also show decommissioning replicas along with the live replicas. -- This message was sent by Atlassian JIRA (v6.3.4#6332)