From 5ff4376d8087651d7c42d093e16308bd8607ecc0 Mon Sep 17 00:00:00 2001 From: Joseph295 <517536891@qq.com> Date: Sat, 18 Apr 2020 03:20:12 +0800 Subject: [PATCH] HBASE-24182 log when the region is set to closing status (#1509) Signed-off-by: stack --- .../main/java/org/apache/hadoop/hbase/regionserver/HRegion.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java index c75e4eef34e..a982c3e8244 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java @@ -1655,6 +1655,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi } } this.closing.set(true); + LOG.info("Closing region {}", this); status.setStatus("Disabling writes for close"); try { if (this.isClosed()) {