You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/11/05 02:36:30 UTC

[jira] [Commented] (HBASE-6336) Split point should not be equal to start row or end row

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

Hudson commented on HBASE-6336:
-------------------------------

Integrated in HBase-0.94-security-on-Hadoop-23 #9 (See [https://builds.apache.org/job/HBase-0.94-security-on-Hadoop-23/9/])
    HBASE-7020 Backport HBASE-6336 Split point should not be equal to start row or end row (Sergey Shelukhin) (Revision 1400359)

     Result = FAILURE
larsh : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java

                
> Split point should not be equal to start row or end row
> -------------------------------------------------------
>
>                 Key: HBASE-6336
>                 URL: https://issues.apache.org/jira/browse/HBASE-6336
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: chunhui shen
>            Assignee: chunhui shen
>             Fix For: 0.96.0
>
>         Attachments: HBASE-6336.patch
>
>
> Should we allow split point equal with region's start row or end row?
> {code}
> // if the midkey is the same as the first and last keys, then we cannot
>         // (ever) split this region.
>         if (this.comparator.compareRows(mk, firstKey) == 0 &&
>             this.comparator.compareRows(mk, lastKey) == 0) {
>           if (LOG.isDebugEnabled()) {
>             LOG.debug("cannot split because midkey is the same as first or " +
>               "last row");
>           }
> {code}
> Here, I think it is a mistake.

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