You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2013/05/04 01:34:16 UTC

[jira] [Updated] (HBASE-3778) HBaseAdmin.create doesn't create empty boundary keys

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

Jean-Daniel Cryans updated HBASE-3778:
--------------------------------------

    Status: Open  (was: Patch Available)

Patch doesn't apply anymore, unmarking as available.
                
> HBaseAdmin.create doesn't create empty boundary keys
> ----------------------------------------------------
>
>                 Key: HBASE-3778
>                 URL: https://issues.apache.org/jira/browse/HBASE-3778
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.2
>            Reporter: Ted Dunning
>         Attachments: HBASE-3778.patch
>
>
> In my ycsb stuff, I have code that looks like this:
> {code}
>     String startKey = "user1020000000";
>     String endKey = "user940000000";
>     admin.createTable(descriptor, startKey.getBytes(), endKey.getBytes(), regions);
> {code}
> The result, however, is a table where the first and last region has defined first and last keys rather than empty keys.
> The patch I am about to attach fixes this, I think.  I have some worries about other uses of Bytes.split, however, and would like some eyes on this patch.  Perhaps we need a new dialect of split.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira