Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 94053 invoked from network); 15 Dec 2009 22:55:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Dec 2009 22:55:42 -0000 Received: (qmail 62930 invoked by uid 500); 15 Dec 2009 22:55:41 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 62834 invoked by uid 500); 15 Dec 2009 22:55:41 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 62804 invoked by uid 99); 15 Dec 2009 22:55:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 22:55:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 22:55:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5451C234C4A8 for ; Tue, 15 Dec 2009 14:55:18 -0800 (PST) Message-ID: <123459167.1260917718340.JavaMail.jira@brutus> Date: Tue, 15 Dec 2009 22:55:18 +0000 (UTC) From: "Jean-Daniel Cryans (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-2041) Change WAL default configuration values In-Reply-To: <1630867977.1260581838097.JavaMail.jira@brutus> 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/HBASE-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Daniel Cryans updated HBASE-2041: -------------------------------------- Attachment: HBASE-2041-interrupt-fix.patch Lots of debugging later, I learned that not using awaitNanos on Condition, with a small waiting time and multiple threads, can actually completely hide interrupts. This patches changes that, checks the status of the Thread and also changes some comments. BTW even when calling this.isInterrupted() with the await(1000, MILLIS) didn't work, always returned false. > Change WAL default configuration values > --------------------------------------- > > Key: HBASE-2041 > URL: https://issues.apache.org/jira/browse/HBASE-2041 > Project: Hadoop HBase > Issue Type: Task > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Fix For: 0.21.0 > > Attachments: HBASE-2041-interrupt-fix.patch, HBASE-2041.patch > > > My last email on the thread "Should we change the default value of hbase.regionserver.flushlogentries for 0.21?" > {quote} > Ok to make sure I get this right: > - we enable deferred log flush by default > - we set flushlogentries=1 > Also since 10 seconds is kind of a huge window I propose that: > - we set optionalLogFlush=1000 > which is the MySQL default. We also have to update the wiki (there's > already an entry on deferred log flush) by adding the configuration of > flushlogentries. > {quote} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.