You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2022/08/02 08:46:00 UTC

[jira] [Updated] (HBASE-26744) Normalizer exits without normalizing all the tables

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

Duo Zhang updated HBASE-26744:
------------------------------
    Fix Version/s: 1.7.2
                       (was: 1.8.0)

> Normalizer exits without normalizing all the tables
> ---------------------------------------------------
>
>                 Key: HBASE-26744
>                 URL: https://issues.apache.org/jira/browse/HBASE-26744
>             Project: HBase
>          Issue Type: Bug
>          Components: Normalizer
>    Affects Versions: 1.7.1
>            Reporter: Aman Poonia
>            Assignee: Aman Poonia
>            Priority: Minor
>             Fix For: 1.7.2
>
>
> Currently if there are multiple tables to normalize, normalizer is exiting even before iterating all the table if there is a table that doesnot require normalization
> here is the offending code
> [https://github.com/apache/hbase/blob/branch-1/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java#L1736]
>  
> {code:java}
> List<NormalizationPlan> plans = this.normalizer.computePlansForTable(table);   
> if (plans == null || plans.isEmpty()) {
>    return true;
> } {code}
> this is running inside loop over tables
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)