[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Description: Currently both region split and merge actions are carried out during normalization for underlying table. However, for certain use case(s) (see https://issues.apache.org/jira/browse/HBASE-13103?focusedCommentId=14366255=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14366255), it would be desirable to perform only one type of action. There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that enables normalization. To provide finer grained control, we have several options: 1. introduce another per table flag to indicate which type(s) of actions are allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" for both split and merge) 2. introduce another global flag to indicate which type(s) of actions are allowed 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so that it indicates type(s) of actions was: Currently both region split and merge actions are carried out during normalization for underlying table. However, for certain use case(s), it would be desirable to perform only one type of action. There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that enables normalization. To provide finer grained control, we have several options: 1. introduce another per table flag to indicate which type(s) of actions are allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" for both split and merge) 2. introduce another global flag to indicate which type(s) of actions are allowed 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so that it indicates type(s) of actions > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task > Components: regionserver >Reporter: Ted Yu >Assignee: Ted Yu > Attachments: 15073-v1.txt, 15073-v2.txt, 15073-v2.txt, 15073-v3.txt, > 15073-v4.txt, 15073-v5.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s) (see > https://issues.apache.org/jira/browse/HBASE-13103?focusedCommentId=14366255=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14366255), > it would be desirable to perform only one type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Fix Version/s: (was: 1.3.0) (was: 1.2.0) (was: 2.0.0) Release Note: (was: The NORMALIZATION_ENABLED_KEY attribute for table has been renamed NORMALIZATION_MODE whose value represents the types of action allowed for normalization. To enable normalization for the table, you can specify 'M' for merging, 'S' for splitting or "MS" for splitting / merging. Leave empty to disable normalization.) > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task > Components: regionserver >Reporter: Ted Yu >Assignee: Ted Yu > Attachments: 15073-v1.txt, 15073-v2.txt, 15073-v2.txt, 15073-v3.txt, > 15073-v4.txt, 15073-v5.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Attachment: 15073-v1.txt Patch v1 adopts option #3 I moved NormalizationPlan.java to hbase-client module so that HTableDescriptor has access to it Needs to figure out how to properly generate diff. > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task >Reporter: Ted Yu >Assignee: Ted Yu > Attachments: 15073-v1.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Attachment: 15073-v2.txt > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task >Reporter: Ted Yu >Assignee: Ted Yu > Attachments: 15073-v1.txt, 15073-v2.txt, 15073-v2.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Attachment: 15073-v2.txt > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task >Reporter: Ted Yu >Assignee: Ted Yu > Attachments: 15073-v1.txt, 15073-v2.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Status: Patch Available (was: Open) > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task >Reporter: Ted Yu >Assignee: Ted Yu > Attachments: 15073-v1.txt, 15073-v2.txt, 15073-v2.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Hadoop Flags: Incompatible change > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task >Reporter: Ted Yu >Assignee: Ted Yu > Attachments: 15073-v1.txt, 15073-v2.txt, 15073-v2.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Attachment: 15073-v3.txt Patch v3 enhanced TestSimpleRegionNormalizer with test where single type of action is passed to normalizer#computePlanForTable() > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task > Components: regionserver >Reporter: Ted Yu >Assignee: Ted Yu > Fix For: 2.0.0, 1.2.0, 1.3.0 > > Attachments: 15073-v1.txt, 15073-v2.txt, 15073-v2.txt, 15073-v3.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey updated HBASE-15073: Component/s: regionserver > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task > Components: regionserver >Reporter: Ted Yu >Assignee: Ted Yu > Fix For: 2.0.0, 1.2.0, 1.3.0 > > Attachments: 15073-v1.txt, 15073-v2.txt, 15073-v2.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey updated HBASE-15073: Fix Version/s: 1.3.0 1.2.0 2.0.0 > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task > Components: regionserver >Reporter: Ted Yu >Assignee: Ted Yu > Fix For: 2.0.0, 1.2.0, 1.3.0 > > Attachments: 15073-v1.txt, 15073-v2.txt, 15073-v2.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Release Note: The NORMALIZATION_ENABLED_KEY attribute for table has been renamed NORMALIZATION_MODE whose value represents the types of action allowed for normalization. To enable normalization for the table, you can specify 'M' for merging, 'S' for splitting or "MS" for splitting / merging. Leave empty to disable normalization. > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task > Components: regionserver >Reporter: Ted Yu >Assignee: Ted Yu > Fix For: 2.0.0, 1.2.0, 1.3.0 > > Attachments: 15073-v1.txt, 15073-v2.txt, 15073-v2.txt, 15073-v3.txt, > 15073-v4.txt, 15073-v5.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Hadoop Flags: Incompatible change,Reviewed (was: Incompatible change) > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task > Components: regionserver >Reporter: Ted Yu >Assignee: Ted Yu > Fix For: 2.0.0, 1.2.0, 1.3.0 > > Attachments: 15073-v1.txt, 15073-v2.txt, 15073-v2.txt, 15073-v3.txt, > 15073-v4.txt, 15073-v5.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Attachment: 15073-v4.txt Patch v4 address Mikhail's comment w.r.t. renaming NORMALIZATION_ENABLED flag. HTD#getDesiredNormalizationTypes() returning null is kept - null is immutable :-) > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task > Components: regionserver >Reporter: Ted Yu >Assignee: Ted Yu > Fix For: 2.0.0, 1.2.0, 1.3.0 > > Attachments: 15073-v1.txt, 15073-v2.txt, 15073-v2.txt, 15073-v3.txt, > 15073-v4.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Attachment: 15073-v5.txt Patch v5 removes the remnant of NORMALIZATION_ENABLED > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task > Components: regionserver >Reporter: Ted Yu >Assignee: Ted Yu > Fix For: 2.0.0, 1.2.0, 1.3.0 > > Attachments: 15073-v1.txt, 15073-v2.txt, 15073-v2.txt, 15073-v3.txt, > 15073-v4.txt, 15073-v5.txt > > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Description: Currently both region split and merge actions are carried out during normalization for underlying table. However, for certain use case(s), it would be desirable to perform only one type of action. There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that enables normalization. To provide finer grained control, we have several options: 1. introduce another per table flag to indicate which type(s) of actions are allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" for both split and merge) 2. introduce another global flag to indicate which type(s) of actions are allowed 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so that it indicates type(s) actions was: Currently both region split and merge actions are carried out during normalization for underlying table. However, for certain use case(s), it would be desirable to perform only one type of action. There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that enables normalization. To provide finer grained control, we have several options: 1. introduce another per table flag to indicate which type(s) of actions are allowed ("S" for split only, "M" for merge only and "MS" for both split and merge) 2. introduce another global flag to indicate which type(s) of actions are allowed 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so that it indicates type(s) actions > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task >Reporter: Ted Yu >Assignee: Ted Yu > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-15073) Finer grained control over normalization actions for RegionNormalizer
[ https://issues.apache.org/jira/browse/HBASE-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15073: --- Description: Currently both region split and merge actions are carried out during normalization for underlying table. However, for certain use case(s), it would be desirable to perform only one type of action. There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that enables normalization. To provide finer grained control, we have several options: 1. introduce another per table flag to indicate which type(s) of actions are allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" for both split and merge) 2. introduce another global flag to indicate which type(s) of actions are allowed 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so that it indicates type(s) of actions was: Currently both region split and merge actions are carried out during normalization for underlying table. However, for certain use case(s), it would be desirable to perform only one type of action. There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that enables normalization. To provide finer grained control, we have several options: 1. introduce another per table flag to indicate which type(s) of actions are allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" for both split and merge) 2. introduce another global flag to indicate which type(s) of actions are allowed 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so that it indicates type(s) actions > Finer grained control over normalization actions for RegionNormalizer > - > > Key: HBASE-15073 > URL: https://issues.apache.org/jira/browse/HBASE-15073 > Project: HBase > Issue Type: Task >Reporter: Ted Yu >Assignee: Ted Yu > > Currently both region split and merge actions are carried out during > normalization for underlying table. > However, for certain use case(s), it would be desirable to perform only one > type of action. > There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that > enables normalization. > To provide finer grained control, we have several options: > 1. introduce another per table flag to indicate which type(s) of actions are > allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" > for both split and merge) > 2. introduce another global flag to indicate which type(s) of actions are > allowed > 3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so > that it indicates type(s) of actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)