hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-4294) HLogSplitter sleeps with 1-second granularity
Date Tue, 30 Aug 2011 21:27:12 GMT

     [ https://issues.apache.org/jira/browse/HBASE-4294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Todd Lipcon resolved HBASE-4294.
--------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Committed to trunk and branch. I ran TestHLogSplit under jcarder to make sure there weren't
any lock inversions here

> HLogSplitter sleeps with 1-second granularity
> ---------------------------------------------
>
>                 Key: HBASE-4294
>                 URL: https://issues.apache.org/jira/browse/HBASE-4294
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.90.4
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Trivial
>             Fix For: 0.90.5
>
>         Attachments: 0009-HBASE-4294.-Fix-1-second-sleep-in-HLogSplitter.patch
>
>
> The HLogSplitter writer threads wait in 1-second intervals for data. When data arrives,
notify() is called and they wake up. But when the main thread needs to notify the writers
to shut down, it doesn't notify. Hence, the writers always wait up to a full extra second
for each log split.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message