[
https://issues.apache.org/jira/browse/HBASE-7748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13569847#comment-13569847
]
Ted Yu commented on HBASE-7748:
-------------------------------
{code}
+ * I.e. rows can be co-located in a regionb by their prefix.
{code}
Typo: regionb
{code}
+ * As and example, if you have row keys delimited with <code>_</code>, like
{code}
Typo: and
{code}
+ * ensures that all rows staring with the same userid, belongs to the same
region.
{code}
Typo: staring, belongs
Please add stability annotation.
{code}
+ //find the first occurrence of delimiter in split point
{code}
The above comment should be explicitly mentioned in class javadoc where
delimiter appears twice in rowkey:
{code}
+ * <code>userid_eventtype_eventid</code>, and use prefix delimiter _, this
split policy
{code}
> Add DelimitedKeyPrefixRegionSplitPolicy
> ---------------------------------------
>
> Key: HBASE-7748
> URL: https://issues.apache.org/jira/browse/HBASE-7748
> Project: HBase
> Issue Type: New Feature
> Reporter: Enis Soztutar
> Assignee: Enis Soztutar
> Fix For: 0.96.0, 0.94.6
>
> Attachments: hbase-7748_v1.patch, hbase-7748_v2.patch
>
>
> DelimitedKeyPrefixRegionSplitPolicy similar to KeyPrefixRegionSplitPolicy,
> but with a delimiter for the key, instead of a fixed prefix.
> Can be used for META regions, since we are doing
> table_name,start_key,region_id.encoded_region_name.
--
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