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] Created: (HBASE-1245) hfile meta block handling bugs
Date Fri, 06 Mar 2009 06:17:56 GMT
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
             Fix For: 0.20.0

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.

View raw message