[
https://issues.apache.org/jira/browse/HBASE-26744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiaolin Ha resolved HBASE-26744.
--------------------------------
Fix Version/s: 1.8.0
Resolution: Fixed
Merged to branch-1, thanks [~mnpoonia] for contributing.
> 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.8.0
>
>
> 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.1#820001)