You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (Commented) (JIRA)" <ji...@apache.org> on 2012/03/13 01:40:37 UTC

[jira] [Commented] (HBASE-5559) --presplit option creates a first split with rowkey-end=0

    [ https://issues.apache.org/jira/browse/HBASE-5559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228093#comment-13228093 ] 

Lars Hofhansl commented on HBASE-5559:
--------------------------------------

Shouldn't this rather be [20, 40, 60, 80] to demarcate 5 regions?
The first region holds keys <20, the 2nd [20, 40), and so on, and the last one holds key >= 80.

                
> --presplit option creates a first split with rowkey-end=0
> ---------------------------------------------------------
>
>                 Key: HBASE-5559
>                 URL: https://issues.apache.org/jira/browse/HBASE-5559
>             Project: HBase
>          Issue Type: Bug
>          Components: util
>            Reporter: Sujee Maniyam
>            Assignee: Sujee Maniyam
>            Priority: Trivial
>              Labels: benchmark
>         Attachments: 5559_v1.patch
>
>
> HBASE-4440 adds a 'presplit' option to PerformanceEvaluation utility.
> when the splits are generated, the first split has row-end-key=0 (zero).  Hence this split doesn't get any data.
> For example, 
> if total keyspace is 100, and splits requested are 5, 
> generated splits => [0, 20, 40, 60, 80]
> it should be => [20, 40, 60, 80, 100]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira