Add way to control the split point of region
--------------------------------------------

                 Key: HBASE-3879
                 URL: https://issues.apache.org/jira/browse/HBASE-3879
             Project: HBase
          Issue Type: Improvement
          Components: regionserver
            Reporter: Ophir Cohen
            Priority: Minor


Currently the split point picked to be the mid key of the HFile. 
>From the code comments: 

"Midkey for this file.  We work with block boundaries only so
     * returned midkey is an approximation only."

It could be good to have a way to override the default option and use other 
method.

Possible implementation:
Create interface (similar to Hadoop's partitioner) that gets StoreFile / 
StoreFile.Reader and return the splitting point.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to