You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ophir Cohen (JIRA)" <ji...@apache.org> on 2011/05/12 13:23:47 UTC

[jira] [Created] (HBASE-3879) Add way to control the split point of region

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

[jira] [Updated] (HBASE-3879) Add way to control the split position of region

Posted by "Ophir Cohen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ophir Cohen updated HBASE-3879:
-------------------------------

    Summary: Add way to control the split position of region  (was: Add way to control the split point of region)

> Add way to control the split position 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

[jira] [Resolved] (HBASE-3879) Add way to control the split position of region

Posted by "Lars Hofhansl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Hofhansl resolved HBASE-3879.
----------------------------------

    Resolution: Fixed

We have this now with RegionSplitPolicy
                
> Add way to control the split position 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira