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 393AF9748 for ; Tue, 11 Sep 2012 01:11:08 +0000 (UTC) Received: (qmail 91714 invoked by uid 500); 11 Sep 2012 01:11:08 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 91670 invoked by uid 500); 11 Sep 2012 01:11:08 -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 91662 invoked by uid 99); 11 Sep 2012 01:11:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 01:11:08 +0000 Date: Tue, 11 Sep 2012 12:11:07 +1100 (NCT) From: "Eli Collins (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1561567496.61189.1347325868037.JavaMail.jiratomcat@arcas> In-Reply-To: <2010332779.58164.1347290647998.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HDFS-3910) DFSTestUtil#waitReplication should timeout 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-3910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated HDFS-3910: ------------------------------ Attachment: hdfs-3910.txt Good points, updated patch addresses both. > DFSTestUtil#waitReplication should timeout > ------------------------------------------ > > Key: HDFS-3910 > URL: https://issues.apache.org/jira/browse/HDFS-3910 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test > Affects Versions: 2.0.0-alpha > Reporter: Eli Collins > Assignee: Eli Collins > Attachments: hdfs-3910.txt, hdfs-3910.txt > > > DFSTestUtil#waitReplication never times out so test execution fails only when the mvn test executor times out. This leaves a stray test process around, an example is HDFS-3902. Let's make waitReplication do something like bail after it has checked block locations 10 times for one file. -- 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