This is an automated email from the ASF dual-hosted git repository.
vjasani pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.2 by this push:
new 9a0a24f HBASE-24426 : Provide regionName in warning during failure to
move region from CLOSING to CLOSED (#1772)
9a0a24f is described below
commit 9a0a24f6277baef99fed7ee4d10ece493dac4f5e
Author: Viraj Jasani <[email protected]>
AuthorDate: Mon May 25 17:33:15 2020 +0530
HBASE-24426 : Provide regionName in warning during failure to move region
from CLOSING to CLOSED (#1772)
Signed-off-by: Anoop Sam John <[email protected]>
Signed-off-by: Jan Hentschel <[email protected]>
Signed-off-by: Viraj Jasani <[email protected]>
---
.../apache/hadoop/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 eec820c..de26e06 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
@@ -153,7 +153,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());