hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ryan rawson (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1245) hfile meta block handling bugs
Date Fri, 06 Mar 2009 06:41:59 GMT

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

ryan rawson updated HBASE-1245:
-------------------------------

    Status: Patch Available  (was: Open)

> hfile meta block handling bugs
> ------------------------------
>
>                 Key: HBASE-1245
>                 URL: https://issues.apache.org/jira/browse/HBASE-1245
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>         Environment: all
>            Reporter: ryan rawson
>            Assignee: ryan rawson
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1240.patch
>
>
> HFile doesn't handle 'get meta block' when there are no meta blocks.  It throws an unhelpful
exception "meta index not loaded", which is not the case.  No meta blocks = no meta index.
 It should return null instead.
> Additionally, hfile doesn't even get all meta names properly, due to the incorrect use
of the file's comparator, instead of using just a bytes comparator in the index.  This is
manifested by NPEs in some tests.

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