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 C22D3C246 for ; Thu, 24 May 2012 22:48:11 +0000 (UTC) Received: (qmail 41272 invoked by uid 500); 24 May 2012 22:48:11 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 41232 invoked by uid 500); 24 May 2012 22:48:11 -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 41222 invoked by uid 99); 24 May 2012 22:48:11 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2012 22:48:11 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 4836914281C for ; Thu, 24 May 2012 22:48:11 +0000 (UTC) Date: Thu, 24 May 2012 22:48:11 +0000 (UTC) From: "Hadoop QA (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1436518776.195.1337899691301.JavaMail.jiratomcat@issues-vm> In-Reply-To: <321008906.13302.1337332688499.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-3442) Incorrect count for Missing Replicas in FSCK report 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-3442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13282815#comment-13282815 ] Hadoop QA commented on HDFS-3442: --------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12529263/HDFS-3442.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 javadoc. The javadoc tool did not generate any warning messages. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in hadoop-hdfs-project/hadoop-hdfs. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/2514//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2514//console This message is automatically generated. > Incorrect count for Missing Replicas in FSCK report > --------------------------------------------------- > > Key: HDFS-3442 > URL: https://issues.apache.org/jira/browse/HDFS-3442 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.0.0-alpha > Reporter: suja s > Assignee: Andrew Wang > Priority: Minor > Attachments: HDFS-3442.patch > > > Scenario: > Cluster running in HA mode with 2 DNs. Files are written with replication factor as 3. > There are 7 blocks in cluster. > FSCK report is including all blocks in UnderReplicated Blocks as well as Missing Replicas. > HOST-XX-XX-XX-102:/home/Apr4/hadoop-2.0.0-SNAPSHOT/bin # ./hdfs fsck / > Connecting to namenode via http://XX.XX.XX.55:50070 > FSCK started by root (auth:SIMPLE) from /XX.XX.XX.102 for path / at Wed Apr 04 17:28:37 IST 2012 > . > /1: Under replicated BP-534619337-XX.XX.XX.55-1333526344705:blk_2551710840802340037_1002. Target Replicas is 3 but found 2 replica(s). > . > /2: Under replicated BP-534619337-XX.XX.XX.55-1333526344705:blk_-3851276776144500288_1004. Target Replicas is 3 but found 2 replica(s). > . > /3: Under replicated BP-534619337-XX.XX.XX.55-1333526344705:blk_-3210606555285049524_1006. Target Replicas is 3 but found 2 replica(s). > . > /4: Under replicated BP-534619337-XX.XX.XX.55-1333526344705:blk_4028835120510075310_1008. Target Replicas is 3 but found 2 replica(s). > . > /5: Under replicated BP-534619337-XX.XX.XX.55-1333526344705:blk_-5238093749956876969_1010. Target Replicas is 3 but found 2 replica(s). > . > /testrenamed/file1renamed: Under replicated BP-534619337-XX.XX.XX.55-1333526344705:blk_-5669194716756513504_1012. Target Replicas is 3 but found 2 replica(s). > . > /testrenamed/file2: Under replicated BP-534619337-XX.XX.XX.55-1333526344705:blk_8510284478280941311_1014. Target Replicas is 3 but found 2 replica(s). > Status: HEALTHY > Total size: 33215 B > Total dirs: 3 > Total files: 7 (Files currently being written: 1) > Total blocks (validated): 7 (avg. block size 4745 B) > Minimally replicated blocks: 7 (100.0 %) > Over-replicated blocks: 0 (0.0 %) > Under-replicated blocks: 7 (100.0 %) > Mis-replicated blocks: 0 (0.0 %) > Default replication factor: 3 > Average block replication: 2.0 > Corrupt blocks: 0 > Missing replicas: 7 (50.0 %) > Number of data-nodes: 2 > Number of racks: 1 > FSCK ended at Wed Apr 04 17:28:37 IST 2012 in 2 milliseconds > The filesystem under path '/' is HEALTHY > Also it indicates a measure as 50% in brackets (There are only 7 blocks in cluster and so if all 7 are included as Missing replicas it should be 100%) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira