hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-2041) Change WAL default configuration values
Date Tue, 15 Dec 2009 22:55:18 GMT

     [ 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.

View raw message