hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Dunning (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-3778) HBaseAdmin.create doesn't create empty boundary keys
Date Wed, 13 Apr 2011 21:00:05 GMT
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
            Reporter: Ted Dunning


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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message