You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2020/04/17 19:21:33 UTC
[hbase] branch branch-2 updated: HBASE-24182 log when the region is
set to closing status (#1509)
This is an automated email from the ASF dual-hosted git repository.
stack pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new c775adf HBASE-24182 log when the region is set to closing status (#1509)
c775adf is described below
commit c775adfc066fbdcff0193fd2e07b02a26b3441ea
Author: Joseph295 <51...@qq.com>
AuthorDate: Sat Apr 18 03:20:12 2020 +0800
HBASE-24182 log when the region is set to closing status (#1509)
Signed-off-by: stack <st...@apache.org>
---
.../src/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 f791aac..578caf1 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
@@ -1639,6 +1639,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()) {