From hdfs-dev-return-36888-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Tue Jun 4 01:26:04 2019 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 18D5D18062F for ; Tue, 4 Jun 2019 03:26:03 +0200 (CEST) Received: (qmail 95899 invoked by uid 500); 4 Jun 2019 01:26:02 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 95778 invoked by uid 99); 4 Jun 2019 01:26:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2019 01:26:01 +0000 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 EE6C1E2CBF for ; Tue, 4 Jun 2019 01:26: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 2FB08245A1 for ; Tue, 4 Jun 2019 01:26:00 +0000 (UTC) Date: Tue, 4 Jun 2019 01:26:00 +0000 (UTC) From: "John Doe (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-14540) Block deletion failure causes an infinite polling in TestDeleteBlockPool MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 John Doe created HDFS-14540: ------------------------------- Summary: Block deletion failure causes an infinite polling in TestDeleteBlockPool Key: HDFS-14540 URL: https://issues.apache.org/jira/browse/HDFS-14540 Project: Hadoop HDFS Issue Type: Bug Affects Versions: 0.23.0 Reporter: John Doe In the testDeleteBlockPool function, when file deletion failure, the while loop hangs. {code:java} fs1.delete(new Path("/alpha"), true); //deletion failure // Wait till all blocks are deleted from the dn2 for bpid1. while ((MiniDFSCluster.getFinalizedDir(dn2StorageDir1, bpid1).list().length != 0) || (MiniDFSCluster.getFinalizedDir( dn2StorageDir2, bpid1).list().length != 0)) { try { Thread.sleep(3000); } catch (Exception ignored) { } } {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org