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 7A20B18AD4 for ; Thu, 12 Nov 2015 13:15:14 +0000 (UTC) Received: (qmail 40897 invoked by uid 500); 12 Nov 2015 13:15:14 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 40847 invoked by uid 500); 12 Nov 2015 13:15:14 -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 40824 invoked by uid 99); 12 Nov 2015 13:15:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2015 13:15:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F3AA42C1F56 for ; Thu, 12 Nov 2015 13:15:10 +0000 (UTC) Date: Thu, 12 Nov 2015 13:15:10 +0000 (UTC) From: "Masatake Iwasaki (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-9358) TestNodeCount#testNodeCount timed out 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-9358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Masatake Iwasaki updated HDFS-9358: ----------------------------------- Attachment: HDFS-9358.001.patch Thanks for reporting this, [~jojochuang]. The testNodeCount expects number of excess replica to be increased to 2 by excessReplicateMap. (live, excess) could be changed in the case as {noformat} (live, excess): (3, 1) -> (2, 2) {noformat} If invalidation of existing excess replica is executed before excessReplicateMap is updated, number of excess replica never be 2. {noformat} (live, excess): (3, 1) -> (3, 0) -> (2, 1) {noformat} Attached 001 fix the test to wait for invalidation of the 1st excess replica then check the 2nd excess replica is detected. > TestNodeCount#testNodeCount timed out > ------------------------------------- > > Key: HDFS-9358 > URL: https://issues.apache.org/jira/browse/HDFS-9358 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Wei-Chiu Chuang > Assignee: Masatake Iwasaki > Attachments: HDFS-9358.001.patch > > > I have seen this test failure occurred a few times in trunk: > Error Message > Timeout: excess replica count not equal to 2 for block blk_1073741825_1001 after 20000 msec. Last counts: live = 2, excess = 0, corrupt = 0 > Stacktrace > java.util.concurrent.TimeoutException: Timeout: excess replica count not equal to 2 for block blk_1073741825_1001 after 20000 msec. Last counts: live = 2, excess = 0, corrupt = 0 > at org.apache.hadoop.hdfs.server.blockmanagement.TestNodeCount.checkTimeout(TestNodeCount.java:152) > at org.apache.hadoop.hdfs.server.blockmanagement.TestNodeCount.checkTimeout(TestNodeCount.java:146) > at org.apache.hadoop.hdfs.server.blockmanagement.TestNodeCount.__CLR4_0_39bdgm666uf(TestNodeCount.java:130) > at org.apache.hadoop.hdfs.server.blockmanagement.TestNodeCount.testNodeCount(TestNodeCount.java:54) -- This message was sent by Atlassian JIRA (v6.3.4#6332)