From hdfs-issues-return-222818-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Sat Jun 2 23:42:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CA9F1180676 for ; Sat, 2 Jun 2018 23:42:03 +0200 (CEST) Received: (qmail 1560 invoked by uid 500); 2 Jun 2018 21:42:02 -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 1549 invoked by uid 99); 2 Jun 2018 21:42:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jun 2018 21:42:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 77D51C0024 for ; Sat, 2 Jun 2018 21:42:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id F0f8WAq6wg2G for ; Sat, 2 Jun 2018 21:42:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 172BA5F582 for ; Sat, 2 Jun 2018 21:42:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7EC4BE08C7 for ; Sat, 2 Jun 2018 21:42:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 35C4921096 for ; Sat, 2 Jun 2018 21:42:00 +0000 (UTC) Date: Sat, 2 Jun 2018 21:42:00 +0000 (UTC) From: "Zsolt Venczel (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-13339) Volume reference can't be released and leads to deadlock when DataXceiver does a check volume MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-13339?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Zsolt Venczel updated HDFS-13339: --------------------------------- Attachment: (was: HDFS-13339.004.patch) > Volume reference can't be released and leads to deadlock when DataXceiver= does a check volume > -------------------------------------------------------------------------= -------------------- > > Key: HDFS-13339 > URL: https://issues.apache.org/jira/browse/HDFS-13339 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode > Environment: os: Linux 2.6.32-358.el6.x86_64 > hadoop version: hadoop-3.2.0-SNAPSHOT > unit: mvn test -Pnative -Dtest=3DTestDataNodeVolumeFailureReporting#testV= olFailureStatsPreservedOnNNRestart > Reporter: liaoyuxiangqin > Assignee: liaoyuxiangqin > Priority: Critical > Labels: DataNode, volumes > Attachments: HDFS-13339.001.patch, HDFS-13339.002.patch, HDFS-133= 39.003.patch > > > When i execute Unit Test of > TestDataNodeVolumeFailureReporting#testVolFailureStatsPreservedOnNNResta= rt, the process blocks on=C2=A0waitReplication, detail information as follo= ws: > [INFO] ------------------------------------------------------- > [INFO] T E S T S > [INFO] ------------------------------------------------------- > [INFO] Running org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolume= FailureReporting > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: = 307.492 s <<< FAILURE! - in org.apache.hadoop.hdfs.server.datanode.TestData= NodeVolumeFailureReporting > [ERROR] testVolFailureStatsPreservedOnNNRestart(org.apache.hadoop.hdfs.s= erver.datanode.TestDataNodeVolumeFailureReporting) Time elapsed: 307.206 s = <<< ERROR! > java.util.concurrent.TimeoutException: Timed out waiting for /test1 to r= each 2 replicas > at org.apache.hadoop.hdfs.DFSTestUtil.waitReplication(DFSTestUtil.java:8= 00) > at org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureRepor= ting.testVolFailureStatsPreservedOnNNRestart(TestDataNodeVolumeFailureRepor= ting.java:283) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.= java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework= Method.java:47) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal= lable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMe= thod.java:44) > at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMet= hod.java:17) > at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.= java:26) > at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja= va:27) > at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.r= un(FailOnTimeout.java:74) -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org