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 9CBE07CF1 for ; Mon, 29 Aug 2011 23:02:02 +0000 (UTC) Received: (qmail 76678 invoked by uid 500); 29 Aug 2011 23:02:02 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 76589 invoked by uid 500); 29 Aug 2011 23:02:01 -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 76578 invoked by uid 99); 29 Aug 2011 23:02:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 23:02:01 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Mon, 29 Aug 2011 23:01:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0081BD59A3 for ; Mon, 29 Aug 2011 23:01:38 +0000 (UTC) Date: Mon, 29 Aug 2011 23:01:37 +0000 (UTC) From: "Aaron T. Myers (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1972451129.5337.1314658897998.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <386243305.34777.1313186727209.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2258) TestLeaseRecovery2 fails as lease hard limit is not reset to default 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-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093286#comment-13093286 ] Aaron T. Myers commented on HDFS-2258: -------------------------------------- +1, the latest patch looks good to me. TestOfflineEditsViewer and TestDfsOverAvroRpc are currently failing on trunk. I feel confident the other test failures are unrelated to this patch. > TestLeaseRecovery2 fails as lease hard limit is not reset to default > -------------------------------------------------------------------- > > Key: HDFS-2258 > URL: https://issues.apache.org/jira/browse/HDFS-2258 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node, test > Affects Versions: 0.22.0 > Reporter: Konstantin Shvachko > Assignee: Konstantin Shvachko > Fix For: 0.22.0, 0.23.0 > > Attachments: leaseRecovery2-trunk.patch, leaseRecovery2-trunk.patch, leaseRecovery2-trunk.patch, leaseRecovery2.patch > > > TestLeaseRecovery2.testSoftLeaseRecovery() fails as lease hard limit remains set to 1 sec from the previous test case. If initial file creation in testSoftLeaseRecovery() takes longer than 1 sec, NN correctly reassigns the lease to itself and starts recovery. The test fails as the client cannot hflush() and close the file. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira