Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 54567 invoked from network); 17 Apr 2011 20:28:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Apr 2011 20:28:44 -0000 Received: (qmail 87386 invoked by uid 500); 17 Apr 2011 20:28:44 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 87346 invoked by uid 500); 17 Apr 2011 20:28:44 -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 87338 invoked by uid 99); 17 Apr 2011 20:28:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Apr 2011 20:28:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Apr 2011 20:28:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CA5C9A61A1 for ; Sun, 17 Apr 2011 20:28:05 +0000 (UTC) Date: Sun, 17 Apr 2011 20:28:05 +0000 (UTC) From: "Matt Foley (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1679637730.63509.1303072085825.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2007810911.36040.1302039666097.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-1808) TestBalancer waits forever, errs without giving information 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-1808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Foley updated HDFS-1808: ----------------------------- Status: Patch Available (was: Open) > TestBalancer waits forever, errs without giving information > ----------------------------------------------------------- > > Key: HDFS-1808 > URL: https://issues.apache.org/jira/browse/HDFS-1808 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node, name-node > Affects Versions: 0.22.0 > Reporter: Matt Foley > Assignee: Matt Foley > Attachments: 1808_TestBalancer_v3.patch, TestBalancer.java.patch > > > In three locations in the code, TestBalancer waits forever on a condition. Failures result in Hudson/Jenkins "Timeout occurred" error message with no information about where or why. Need to replace with TimeoutExceptions that throw a stack trace and useful info about the failure mode. > In waitForHeartBeat(), it is waiting on an exact match for a value that may be coarsely quantized -- i.e., significant deviation from the exact "expected" result may occur. Replace with an allowed range of result. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira