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

2020-06-01 Thread Anil Sadineni (Jira)


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

Anil Sadineni updated HBASE-24472:
--
Attachment: HBASE-24472.001.patch
Status: Patch Available  (was: Open)

Attached patch container modified version of 
DelimitedKeyPrefixRegionSplitPolicy.

Summary of change - Introduced new attribute for ordinal of delimiter - 
"DelimitedKeyPrefixRegionSplitPolicy.delimiterOrdinal"

Please review and suggest if any changes needed. 

> 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
> Attachments: HBASE-24472.001.patch
>
>
> 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 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] [Updated] (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:all-tabpanel
 ]

Anil Sadineni updated HBASE-24472:
--
Issue Type: Improvement  (was: Test)

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


[jira] [Updated] (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:all-tabpanel
 ]

Anil Sadineni updated HBASE-24472:
--
Summary: Enhanced version of KeyPrefixRegionSplitPolicy  (was: Enhanced 
version of KeyPrefixRegionSplitPolicy and DelimitedKeyPrefixRegionSplitPolicy)

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


[jira] [Created] (HBASE-24472) Enhanced version of KeyPrefixRegionSplitPolicy and DelimitedKeyPrefixRegionSplitPolicy

2020-05-29 Thread Anil Sadineni (Jira)
Anil Sadineni created HBASE-24472:
-

 Summary: Enhanced version of KeyPrefixRegionSplitPolicy and 
DelimitedKeyPrefixRegionSplitPolicy
 Key: HBASE-24472
 URL: https://issues.apache.org/jira/browse/HBASE-24472
 Project: HBase
  Issue Type: Test
  Components: regionserver
Reporter: Anil Sadineni


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)