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 E0F02220B for ; Thu, 21 Apr 2011 16:48:46 +0000 (UTC) Received: (qmail 53944 invoked by uid 500); 21 Apr 2011 16:48:46 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 53913 invoked by uid 500); 21 Apr 2011 16:48:46 -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 53904 invoked by uid 99); 21 Apr 2011 16:48:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 16:48:46 +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; Thu, 21 Apr 2011 16:48:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C0986AC787 for ; Thu, 21 Apr 2011 16:48:05 +0000 (UTC) Date: Thu, 21 Apr 2011 16:48:05 +0000 (UTC) From: "Matt Foley (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1385665680.73819.1303404485785.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2007810911.36040.1302039666097.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-1808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022825#comment-13022825 ] Matt Foley commented on HDFS-1808: ---------------------------------- The javadoc error is due to HDFS-1857, and unrelated to this patch. The unit test failure on TestFileConcurrentReader is unrelated to this patch. Ready to commit. > 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 > Fix For: 0.23.0 > > Attachments: 1808_TestBalancer_v3.patch, 1808_TestBalancer_v4.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