[jira] [Commented] (HBASE-24472) Enhanced version of KeyPrefixRegionSplitPolicy

2020-05-31 Thread Anil Sadineni (Jira)


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

Anil Sadineni commented on HBASE-24472:
---

Thanks [~anoop.hbase] for response. I will work on patch and upload it here for 
review. 

> Enhanced version of KeyPrefixRegionSplitPolicy
> --
>
> Key: HBASE-24472
> URL: https://issues.apache.org/jira/browse/HBASE-24472
> Project: HBase
>  Issue Type: Improvement
>  Components: regionserver
>Reporter: Anil Sadineni
>Priority: Major
>
> With KeyPrefixRegionSplitPolicy and DelimitedKeyPrefixRegionSplitPolicy, 
> splitting regions policy is limited to either fixed length or based on 
> delimiter. With Yarn Application Timeline Server V2, as discussed in 
> YARN-10077, it will be nice to have enhanced version of 
> DelimitedKeyPrefixRegionSplitPolicy that will give more flexibility to users 
> to define the ordinance of delimiter to consider.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-24472) Enhanced version of KeyPrefixRegionSplitPolicy

2020-05-31 Thread Anoop Sam John (Jira)


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

Anoop Sam John commented on HBASE-24472:


It make sense.  You might not need new Split policy. To existing policy 
DelimitedKeyPrefixRegionSplitPolicy can add n optional param regarding the 
ordinal of the delimiter (Default is 1 anyways)

> Enhanced version of KeyPrefixRegionSplitPolicy
> --
>
> Key: HBASE-24472
> URL: https://issues.apache.org/jira/browse/HBASE-24472
> Project: HBase
>  Issue Type: Improvement
>  Components: regionserver
>Reporter: Anil Sadineni
>Priority: Major
>
> With KeyPrefixRegionSplitPolicy and DelimitedKeyPrefixRegionSplitPolicy, 
> splitting regions policy is limited to either fixed length or based on 
> delimiter. With Yarn Application Timeline Server V2, as discussed in 
> YARN-10077, it will be nice to have enhanced version of 
> DelimitedKeyPrefixRegionSplitPolicy that will give more flexibility to users 
> to define the ordinance of delimiter to consider.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-24472) Enhanced version of KeyPrefixRegionSplitPolicy

2020-05-29 Thread Anil Sadineni (Jira)


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

Anil Sadineni commented on HBASE-24472:
---

Proposed solution - New DelimitedOrdinalKeyPrefixRegionSplitPolicy will have 
below parameters - 

DelimitedOrdinalKeyPrefixRegionSplitPolicy.delimiter - Delimiter used to 
identify the prefix

DelimitedOrdinalKeyPrefixRegionSplitPolicy.delimiterOrdinal - occurrence number 
to which and prefix to be defined.

If this looks ok, will upload patch for review.  Appreciate your thoughts on 
this. 

 

 

> Enhanced version of KeyPrefixRegionSplitPolicy
> --
>
> Key: HBASE-24472
> URL: https://issues.apache.org/jira/browse/HBASE-24472
> Project: HBase
>  Issue Type: Test
>  Components: regionserver
>Reporter: Anil Sadineni
>Priority: Major
>
> With KeyPrefixRegionSplitPolicy and DelimitedKeyPrefixRegionSplitPolicy, 
> splitting regions policy is limited to either fixed length or based on 
> delimiter. With Yarn Application Timeline Server V2, as discussed in 
> YARN-10077, it will be nice to have enhanced version of 
> DelimitedKeyPrefixRegionSplitPolicy that will give more flexibility to users 
> to define the ordinance of delimiter to consider.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)