hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Duxbury (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-694) HStore.rowAtOrBeforeFromMapFile() fails to locate the row if # of mapfiles >= 2
Date Wed, 18 Jun 2008 01:42:45 GMT

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

Bryan Duxbury updated HBASE-694:
--------------------------------

    Priority: Critical  (was: Major)

This is a pretty big issue. If META is flushing often enough, then you'll get really mixed
up results at times. 

I think part of the problem here is that the rowAtOrBeforeFromMapfile method is far too large
and unruly. Maybe it should be factored into a few smaller methods?

I'm going to run the unit tests later tonight and possibly take a crack at the refactoring.

> HStore.rowAtOrBeforeFromMapFile() fails to locate the row if # of mapfiles >= 2
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-694
>                 URL: https://issues.apache.org/jira/browse/HBASE-694
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.2.0
>         Environment: Hadoop 0.17.0 release + HBase trunk 
>            Reporter: Rong-En Fan
>            Assignee: Bryan Duxbury
>            Priority: Critical
>             Fix For: 0.2.0
>
>         Attachments: 694.diff
>
>
> After HBASE-528 committed, a misplaced return statement and } cause 
> rowAtOrBeforeFromMapFile() never look into 2nd (and latter) MapFile
> if candidateKeys.firstKey() <= map.finalKey().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message