hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5559) --presplit option creates a first split with rowkey-end=0
Date Thu, 15 Mar 2012 23:24:38 GMT

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

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

Patch looks good.
(If I wanted to split hairs I'd say that if the number of splits is approaching the size of
the keyspace you'd run into funky integer arithmetic.
Say the keyspace is 100 and presplits is 30. You'd get 29 regions of size 3 and one of size
10... But do not want to split hairs :) )

                
> --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-5559-v2.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

        

Mime
View raw message