From ce2bbaf30a58fcf8bfe0c9181a702a13ad766ffa Mon Sep 17 00:00:00 2001 From: Xiaolin Ha Date: Wed, 5 Jan 2022 11:10:16 +0800 Subject: [PATCH] HBASE-26578 CompactedHFilesDischarger should be shutdown when aborting regionserver (#3946) Signed-off-by: Duo Zhang --- .../java/org/apache/hadoop/hbase/regionserver/HRegionServer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java index 16e88fcafe1..73bc9e8b21e 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java @@ -3542,6 +3542,7 @@ public class HRegionServer extends HBaseServerBase protected void stopChores() { shutdownChore(nonceManagerChore); shutdownChore(compactionChecker); + shutdownChore(compactedFileDischarger); shutdownChore(periodicFlusher); shutdownChore(healthCheckChore); shutdownChore(executorStatusChore);