hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13964) Skip region normalization for tables under namespace quota
Date Fri, 26 Jun 2015 17:00:16 GMT

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

Ted Yu commented on HBASE-13964:

Thinking more on this subject, region merge should be allowed even if namespace quota is enforced.
I have a patch which does the following:
1. introduce enum NormalizationPlan.PlanType for split and merge
1. in HMaster#normalizeRegions(), pass List of NormalizationPlan.PlanType's which are allowed
for the table. When namespace quota is enforced, the List contains PlanType.MERGE
1. in SimpleRegionNormalizer#computePlanForTable(), adhere to the List of NormalizationPlan.PlanType's
which are allowed.

If the above sounds reasonable, I can open a new JIRA and attach my patch there.

> Skip region normalization for tables under namespace quota
> ----------------------------------------------------------
>                 Key: HBASE-13964
>                 URL: https://issues.apache.org/jira/browse/HBASE-13964
>             Project: HBase
>          Issue Type: Task
>          Components: Balancer, Usability
>            Reporter: Mikhail Antonov
>            Assignee: Ted Yu
>             Fix For: 2.0.0, 1.2.0, 1.3.0
>         Attachments: 13964-branch-1-v2.txt, 13964-branch-1-v3.txt, 13964-v1.txt
> As [~tedyu@apache.org] pointed out in HBASE-13103, we need to discuss how to normalize
regions of tables under namespace control. What was proposed is to disable normalization of
such tables.

This message was sent by Atlassian JIRA

View raw message