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 635CF10332 for ; Thu, 12 Sep 2013 03:50:53 +0000 (UTC) Received: (qmail 41568 invoked by uid 500); 12 Sep 2013 03:50:53 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 41538 invoked by uid 500); 12 Sep 2013 03:50:52 -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 41527 invoked by uid 99); 12 Sep 2013 03:50:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2013 03:50:52 +0000 Date: Thu, 12 Sep 2013 03:50:52 +0000 (UTC) From: "Harsh J (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-5189) Rename the "CorruptBlocks" metric to "CorruptReplicas" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Harsh J created HDFS-5189: ----------------------------- Summary: Rename the "CorruptBlocks" metric to "CorruptReplicas" Key: HDFS-5189 URL: https://issues.apache.org/jira/browse/HDFS-5189 Project: Hadoop HDFS Issue Type: Improvement Components: namenode Affects Versions: 2.1.0-beta Reporter: Harsh J Assignee: Harsh J Priority: Minor The NameNode increments a "CorruptBlocks" metric even if only one of the block's replicas is reported corrupt (genuine checksum fail, or even if a replica has a bad genstamp). In cases where this is incremented, fsck still reports a healthy state. This is confusing to users and causes false alarm as they feel this is to be monitored (instead of MissingBlocks). The metric is truly trying to report only corrupt replicas, not whole blocks, and ought to be renamed. FWIW, the "dfsadmin -report" reports a proper string of "Blocks with corrupt replicas:" when printing this count. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira