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

Jesse Yates commented on HBASE-5304:
------------------------------------

bq. I can add a section to the HBase book (reference guide) with 
PrefixSplitKeyPolicy as an example

Can you do both? This would be a good start to that Tips and Tricks section 
that has been mentioned recently.

bq. The splitKey is always validated against the region before the actual 
split. If it is not valid you get an error message (see HRegion.checkSplit and 
SplitTransaction.prepare) and the split is not performed. Falling back to the 
default instead might invalidate other assumptions that the application code 
had based on the provided SplitPolicy. 

Good call. +1 on that and everything else.
                
> Pluggable split key policy
> --------------------------
>
>                 Key: HBASE-5304
>                 URL: https://issues.apache.org/jira/browse/HBASE-5304
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 0.94.0
>
>         Attachments: 5304-v4.txt
>
>
> We need a way to specify custom policies to determine split keys.

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

        

Reply via email to