You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "ryan rawson (JIRA)" <ji...@apache.org> on 2009/03/19 01:49:50 UTC

[jira] Updated: (HBASE-1267) binary keys broken in trunk (again).

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

ryan rawson updated HBASE-1267:
-------------------------------

    Attachment: HBASE-1267.patch

Turns out we werent using the correct comparator in the scanner for all contexts.  IF we dont use the meta comparator then we run into issues where we have 2 rows like so:

table,,1234
table,\0,12345

without the meta comparator, we compare the ',' and the '\0' and the scanner thinks the underlying store file is out of order.

> binary keys broken in trunk (again).
> ------------------------------------
>
>                 Key: HBASE-1267
>                 URL: https://issues.apache.org/jira/browse/HBASE-1267
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: ryan rawson
>            Assignee: ryan rawson
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1267.patch
>
>
> Binary keys, specifically ones where the first byte of the key is nul '\0' don't work:
> - Splits happen
> - Logfile indicates everything normal
> But the .META. doesnt list all the regions.  It only lists the 'basic' regions: 'table,,1234'.  The other regions with the binary keys in the middle just dont seem to be in .META....

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