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 C4CBC200BA0 for ; Fri, 14 Oct 2016 23:39:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BEC81160AF4; Fri, 14 Oct 2016 21:39:22 +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 10D57160AD3 for ; Fri, 14 Oct 2016 23:39:21 +0200 (CEST) Received: (qmail 13844 invoked by uid 500); 14 Oct 2016 21:39:21 -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 13790 invoked by uid 99); 14 Oct 2016 21:39:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2016 21:39:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E7C742C0086 for ; Fri, 14 Oct 2016 21:39:20 +0000 (UTC) Date: Fri, 14 Oct 2016 21:39:20 +0000 (UTC) From: "Kihwal Lee (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10960) TestDataNodeHotSwapVolumes#testRemoveVolumeBeingWritten fails at disk error verification after volume remove MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 14 Oct 2016 21:39:22 -0000 [ https://issues.apache.org/jira/browse/HDFS-10960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15576572#comment-15576572 ] Kihwal Lee commented on HDFS-10960: ----------------------------------- Reverted from branch-2 and branch-2.8. Please rework the patch for these branches. > TestDataNodeHotSwapVolumes#testRemoveVolumeBeingWritten fails at disk error verification after volume remove > ------------------------------------------------------------------------------------------------------------ > > Key: HDFS-10960 > URL: https://issues.apache.org/jira/browse/HDFS-10960 > Project: Hadoop HDFS > Issue Type: Bug > Components: hdfs > Affects Versions: 3.0.0-alpha2 > Reporter: Manoj Govindassamy > Assignee: Manoj Govindassamy > Priority: Minor > Fix For: 2.8.0, 2.9.0, 3.0.0-alpha2 > > Attachments: HDFS-10960.01.patch, HDFS-10960.02.patch > > > TestDataNodeHotSwapVolumes#testRemoveVolumeBeingWritten fails occasionally in the following verification. > {code} > 700 // If an IOException thrown from BlockReceiver#run, it triggers > 701 // DataNode#checkDiskError(). So we can test whether checkDiskError() is called, > 702 // to see whether there is IOException in BlockReceiver#run(). > 703 assertEquals(lastTimeDiskErrorCheck, dn.getLastDiskErrorCheck()); > 704 > {code} > {noformat} > Error Message > expected:<0> but was:<6498109> > Stacktrace > java.lang.AssertionError: expected:<0> but was:<6498109> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:555) > at org.junit.Assert.assertEquals(Assert.java:542) > at org.apache.hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes.testRemoveVolumeBeingWrittenForDatanode(TestDataNodeHotSwapVolumes.java:703) > at org.apache.hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes.testRemoveVolumeBeingWritten(TestDataNodeHotSwapVolumes.java:620) > {noformat} -- 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