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

clockfly commented on HBASE-7876:
---------------------------------

I also tested a customized SplitPolicy. With this patch, the split will succeed 
at customized point even if there is no store files in the region.

In short, the split decision should be made by upper level SplitPolicy, which 
knows more about application logic, instead of low level CompactSplitThread.
                
> Got exception when manually triggers a split on an empty region
> ---------------------------------------------------------------
>
>                 Key: HBASE-7876
>                 URL: https://issues.apache.org/jira/browse/HBASE-7876
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.94.5
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>            Priority: Minor
>         Attachments: HBASE-7876-0.94.patch
>
>
> We should allow a region to split successfully even if it does not yet have 
> storefiles.

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

Reply via email to