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 1EF29200BA7 for ; Fri, 7 Oct 2016 01:00:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1D72C160ADB; Thu, 6 Oct 2016 23:00:29 +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 83FCB160AE0 for ; Fri, 7 Oct 2016 01:00:28 +0200 (CEST) Received: (qmail 78892 invoked by uid 500); 6 Oct 2016 23:00:27 -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 78536 invoked by uid 99); 6 Oct 2016 23:00:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2016 23:00:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E97492C2A6A for ; Thu, 6 Oct 2016 23:00:26 +0000 (UTC) Date: Thu, 6 Oct 2016 23:00:26 +0000 (UTC) From: "Wei-Chiu Chuang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10975) fsck -list-corruptfileblocks does not report corrupt EC files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 06 Oct 2016 23:00:29 -0000 [ https://issues.apache.org/jira/browse/HDFS-10975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15553483#comment-15553483 ] Wei-Chiu Chuang commented on HDFS-10975: ---------------------------------------- It is also worth noting that without any parameters, the corrupt EC file is also reported as having an underr replicated block. An EC block should not be called under replicated if it misses 4 "replicas". > fsck -list-corruptfileblocks does not report corrupt EC files > ------------------------------------------------------------- > > Key: HDFS-10975 > URL: https://issues.apache.org/jira/browse/HDFS-10975 > Project: Hadoop HDFS > Issue Type: Sub-task > Affects Versions: 3.0.0-alpha2 > Reporter: Wei-Chiu Chuang > > HDFS-10826 fix fsck for corrupt EC files if no parameters are specified. > However, if I change the test case added in HDFS-10826 (TestFsck#testFsckCorruptECFile) to run "fsck -list-corruptfileblocks", the same test test failed because fsck reports no corrupt files. > Interestingly, if I run "fsck -files -blocks -replicaDetails" then the test passed and shows the corrupt file. > Need to fix the discrepancy. -- 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