hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-8170) HbaseAdmin.createTable cannot handle creating three regions
Date Tue, 26 Mar 2013 16:51:15 GMT

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

Anoop Sam John updated HBASE-8170:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.94.7
                   0.98.0
                   0.95.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Integrated to 0.94, 0.95 and Trunk. Thanks for the patch JM. Thanks for the review Ted, Ram,
Stack and Lars
                
> HbaseAdmin.createTable cannot handle creating three regions
> -----------------------------------------------------------
>
>                 Key: HBASE-8170
>                 URL: https://issues.apache.org/jira/browse/HBASE-8170
>             Project: HBase
>          Issue Type: Bug
>          Components: Admin
>    Affects Versions: 0.94.5
>            Reporter: Edward C. Skoviak
>            Assignee: Jean-Marc Spaggiari
>            Priority: Minor
>             Fix For: 0.95.0, 0.98.0, 0.94.7
>
>         Attachments: HBASE-8170_94.patch, HBASE-8170-v0-trunk.patch, HBASE-8170-v1-trunk.patch,
HBASE-8170-v2-trunk.patch
>
>
> createTable(HTableDescriptor desc, byte [] startKey, byte [] endKey, int numRegions)
(line #370) dictates that you must specify a minimum of three regions, however is not able
to handle being fed a value three. This is a result of line #379 where it attempts to create
the key splits, and calls Bytes.Split with a value of 0 for the third parameter. createTable
should instead just create a byte[][] with the startKey and endKey in this scenario.

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

Mime
View raw message