From 301659dcc747f6984a3e46ebc53ade9a102fe967 Mon Sep 17 00:00:00 2001 From: Viraj Jasani Date: Mon, 25 May 2020 17:33:15 +0530 Subject: [PATCH] HBASE-24426 : Provide regionName in warning during failure to move region from CLOSING to CLOSED (#1772) Signed-off-by: Anoop Sam John Signed-off-by: Jan Hentschel --- .../hbase/master/procedure/HBCKServerCrashProcedure.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/HBCKServerCrashProcedure.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/HBCKServerCrashProcedure.java index a12b853e919..9690c18405e 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/HBCKServerCrashProcedure.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/HBCKServerCrashProcedure.java @@ -154,7 +154,8 @@ public class HBCKServerCrashProcedure extends ServerCrashProcedure { MetaTableAccessor.updateRegionState(this.connection, hrl.getRegion(), RegionState.State.CLOSED); } catch (IOException ioe) { - LOG.warn("Failed moving {} from CLOSING to CLOSED", ioe); + LOG.warn("Failed moving {} from CLOSING to CLOSED", + hrl.getRegion().getRegionNameAsString(), ioe); } } else if (rs.isOpening() || rs.isOpened()) { this.reassigns.add(hrl.getRegion());