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 9A96410FD8 for ; Fri, 16 Aug 2013 07:48:51 +0000 (UTC) Received: (qmail 97117 invoked by uid 500); 16 Aug 2013 07:48:51 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 97084 invoked by uid 500); 16 Aug 2013 07:48:50 -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 97054 invoked by uid 99); 16 Aug 2013 07:48:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Aug 2013 07:48:48 +0000 Date: Fri, 16 Aug 2013 07:48:48 +0000 (UTC) From: "Hadoop QA (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-3493) Replication is not happened for the block (which is recovered and in finalized) to the Datanode which has got the same block with old generation timestamp in RBW 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-3493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13742010#comment-13742010 ] Hadoop QA commented on HDFS-3493: --------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12598367/HDFS-3493.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs: org.apache.hadoop.hdfs.server.namenode.TestProcessCorruptBlocks org.apache.hadoop.hdfs.server.blockmanagement.TestRBWBlockInvalidation {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/4841//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/4841//console This message is automatically generated. > Replication is not happened for the block (which is recovered and in finalized) to the Datanode which has got the same block with old generation timestamp in RBW > ----------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HDFS-3493 > URL: https://issues.apache.org/jira/browse/HDFS-3493 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.0.0-alpha, 2.0.5-alpha > Reporter: J.Andreina > Assignee: Vinay > Attachments: HDFS-3493.patch > > > replication factor= 3, block report interval= 1min and start NN and 3DN > Step 1:Write a file without close and do hflush (Dn1,DN2,DN3 has blk_ts1) > Step 2:Stopped DN3 > Step 3:recovery happens and time stamp updated(blk_ts2) > Step 4:close the file > Step 5:blk_ts2 is finalized and available in DN1 and Dn2 > Step 6:now restarted DN3(which has got blk_ts1 in rbw) > From the NN side there is no cmd issued to DN3 to delete the blk_ts1 . But ask DN3 to make the block as corrupt . > Replication of blk_ts2 to DN3 is not happened. > NN logs: > ======== > {noformat} > INFO org.apache.hadoop.hdfs.StateChange: BLOCK NameSystem.addToCorruptReplicasMap: duplicate requested for blk_3927215081484173742 to add as corrupt on XX.XX.XX.XX:50276 by /XX.XX.XX.XX because reported RWR replica with genstamp 1007 does not match COMPLETE block's genstamp in block map 1008 > INFO org.apache.hadoop.hdfs.StateChange: BLOCK* processReport: from DatanodeRegistration(XX.XX.XX.XX, storageID=DS-443871816-XX.XX.XX.XX-50276-1336829714197, infoPort=50275, ipcPort=50277, storageInfo=lv=-40;cid=CID-e654ac13-92dc-4f82-a22b-c0b6861d06d7;nsid=2063001898;c=0), blocks: 2, processing time: 1 msecs > INFO org.apache.hadoop.hdfs.StateChange: BLOCK* Removing block blk_3927215081484173742_1008 from neededReplications as it has enough replicas. > INFO org.apache.hadoop.hdfs.StateChange: BLOCK NameSystem.addToCorruptReplicasMap: duplicate requested for blk_3927215081484173742 to add as corrupt on XX.XX.XX.XX:50276 by /XX.XX.XX.XX because reported RWR replica with genstamp 1007 does not match COMPLETE block's genstamp in block map 1008 > INFO org.apache.hadoop.hdfs.StateChange: BLOCK* processReport: from DatanodeRegistration(XX.XX.XX.XX, storageID=DS-443871816-XX.XX.XX.XX-50276-1336829714197, infoPort=50275, ipcPort=50277, storageInfo=lv=-40;cid=CID-e654ac13-92dc-4f82-a22b-c0b6861d06d7;nsid=2063001898;c=0), blocks: 2, processing time: 1 msecs > WARN org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy: Not able to place enough replicas, still in need of 1 to reach 1 > For more information, please enable DEBUG log level on org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy > {noformat} > fsck Report > =========== > {noformat} > /file21: Under replicated BP-1008469586-XX.XX.XX.XX-1336829603103:blk_3927215081484173742_1008. Target Replicas is 3 but found 2 replica(s). > .Status: HEALTHY > Total size: 495 B > Total dirs: 1 > Total files: 3 > Total blocks (validated): 3 (avg. block size 165 B) > Minimally replicated blocks: 3 (100.0 %) > Over-replicated blocks: 0 (0.0 %) > Under-replicated blocks: 1 (33.333332 %) > Mis-replicated blocks: 0 (0.0 %) > Default replication factor: 1 > Average block replication: 2.0 > Corrupt blocks: 0 > Missing replicas: 1 (14.285714 %) > Number of data-nodes: 3 > Number of racks: 1 > FSCK ended at Sun May 13 09:49:05 IST 2012 in 9 milliseconds > The filesystem under path '/' is HEALTHY > {noformat} -- 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