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 D2A87DC40 for ; Wed, 19 Dec 2012 00:08:15 +0000 (UTC) Received: (qmail 40571 invoked by uid 500); 19 Dec 2012 00:08:15 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 40532 invoked by uid 500); 19 Dec 2012 00:08:15 -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 40522 invoked by uid 99); 19 Dec 2012 00:08:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2012 00:08:15 +0000 Date: Wed, 19 Dec 2012 00:08:15 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7376) Acquiring readLock does not apply timeout in HRegion#flushcache 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-7376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535487#comment-13535487 ] Hudson commented on HBASE-7376: ------------------------------- Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #302 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/302/]) HBASE-7376 Acquiring readLock does not apply timeout in HRegion#flushcache (binlijin) (Revision 1423551) Result = FAILURE jxiang : Files : * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java > Acquiring readLock does not apply timeout in HRegion#flushcache > --------------------------------------------------------------- > > Key: HBASE-7376 > URL: https://issues.apache.org/jira/browse/HBASE-7376 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 0.96.0, 0.94.4 > Reporter: binlijin > Assignee: binlijin > Fix For: 0.96.0, 0.94.4 > > Attachments: HBASE-7376-94.patch, HBASE-7376-trunk.patch > > > {code} > HRegion > public boolean flushcache() throws IOException { > lock(lock.readLock()); > } > {code} > The HRegion.flushcache is called by the normal flush cache, so if we use a timeout, the MemStoreFlusher may be get a RegionTooBusyException, it is safe to do not use a timeout. -- 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