Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE65710F4F for ; Mon, 19 Aug 2013 23:26:52 +0000 (UTC) Received: (qmail 82438 invoked by uid 500); 19 Aug 2013 23:26:52 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 82389 invoked by uid 500); 19 Aug 2013 23:26:52 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 82345 invoked by uid 99); 19 Aug 2013 23:26:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Aug 2013 23:26:52 +0000 Date: Mon, 19 Aug 2013 23:26:52 +0000 (UTC) From: "Himanshu Vashishtha (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9195) TestFSHDFSUtils is too aggressive 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/HBASE-9195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13744497#comment-13744497 ] Himanshu Vashishtha commented on HBASE-9195: -------------------------------------------- So, 10ms wait was a red herring. The root cause was tests were getting re-ordered (java 7), and the property hbase.lease.recovery.dfs.timeout was getting overwritten by testIsFileClosed. Attached is the patch that fixes the issue. I will update the description of the jira. > TestFSHDFSUtils is too aggressive > --------------------------------- > > Key: HBASE-9195 > URL: https://issues.apache.org/jira/browse/HBASE-9195 > Project: HBase > Issue Type: Bug > Components: test > Affects Versions: 0.95.1 > Reporter: Himanshu Vashishtha > Priority: Minor > Attachments: HBase-9195.patch, HBase-9195.patch > > > The recoverLease test in this class sets hbase.lease.recovery.pause to 10ms. It causes that after every 10 ms, it calls isFileClosed (if it is available). Though the test takes only 3-4 sec, but it makes about 270 isFileClosed calls. This cause test to become somewhat flaky in our internal testing. > The proposed fix is to just to increase the pause interval to 100 ms. This reduces the number of calls to about 30. -- 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