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 7EA8118755 for ; Mon, 26 Oct 2015 21:30:28 +0000 (UTC) Received: (qmail 11573 invoked by uid 500); 26 Oct 2015 21:30:28 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 11402 invoked by uid 500); 26 Oct 2015 21:30:28 -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 10969 invoked by uid 99); 26 Oct 2015 21:30:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2015 21:30:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C466C2C1F62 for ; Mon, 26 Oct 2015 21:30:27 +0000 (UTC) Date: Mon, 26 Oct 2015 21:30:27 +0000 (UTC) From: "Xiao Chen (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-9231) fsck doesn't explicitly list when Bad Replicas/Blocks are in a snapshot 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-9231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiao Chen updated HDFS-9231: ---------------------------- Attachment: HDFS-9231.009.patch Patch 009 fixes the check style warning of comments ending in '.'. Test failures, findbugs warning and other check style errors are unrelated. > fsck doesn't explicitly list when Bad Replicas/Blocks are in a snapshot > ----------------------------------------------------------------------- > > Key: HDFS-9231 > URL: https://issues.apache.org/jira/browse/HDFS-9231 > Project: Hadoop HDFS > Issue Type: Bug > Components: snapshots > Reporter: Xiao Chen > Assignee: Xiao Chen > Attachments: HDFS-9231.001.patch, HDFS-9231.002.patch, HDFS-9231.003.patch, HDFS-9231.004.patch, HDFS-9231.005.patch, HDFS-9231.006.patch, HDFS-9231.007.patch, HDFS-9231.008.patch, HDFS-9231.009.patch > > > Currently for snapshot files, {{fsck -list-corruptfileblocks}} shows corrupt blocks with the original file dir instead of the snapshot dir, and {{fsck -list-corruptfileblocks -includeSnapshots}} behave the same. > This can be confusing because even when the original file is deleted, fsck will still show that deleted file as corrupted, although what's actually corrupted is the snapshot. > As a side note, {{fsck -files -includeSnapshots}} shows the snapshot dirs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)