huaxiangsun commented on a change in pull request #2454:
URL: https://github.com/apache/hbase/pull/2454#discussion_r498979097



##########
File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
##########
@@ -1924,70 +1907,17 @@ public boolean normalizeRegions(final 
NormalizeTableFilterParams ntfp) throws IO
       return false;
     }
 
-    if (!normalizationInProgressLock.tryLock()) {
-      // Don't run the normalizer concurrently
-      LOG.info("Normalization already in progress. Skipping request.");
-      return true;
-    }
-
-    int affectedTables = 0;
-    try {
-      final Set<TableName> matchingTables = getTableDescriptors(new 
LinkedList<>(),

Review comment:
       Thanks, this is very helpful.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to