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 DF832705C for ; Thu, 25 Aug 2011 15:37:51 +0000 (UTC) Received: (qmail 49382 invoked by uid 500); 25 Aug 2011 15:37:51 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 49272 invoked by uid 500); 25 Aug 2011 15:37:51 -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 49264 invoked by uid 99); 25 Aug 2011 15:37:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 15:37:51 +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; Thu, 25 Aug 2011 15:37:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 27901CF6B4 for ; Thu, 25 Aug 2011 15:37:29 +0000 (UTC) Date: Thu, 25 Aug 2011 15:37:29 +0000 (UTC) From: "Aaron T. Myers (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <129623131.13866.1314286649159.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 [ https://issues.apache.org/jira/browse/HDFS-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091071#comment-13091071 ] Aaron T. Myers commented on HDFS-2258: -------------------------------------- Hey Konst, does an analogous change not also need to be made on trunk? I see that TestLeaseRecovery2 is working on trunk, despite not having this fix. Do you have any explanation for that? > 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 > > Attachments: 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