You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by vj...@apache.org on 2020/05/25 12:07:53 UTC

[hbase] branch branch-2 updated: HBASE-24426 : Provide regionName in warning during failure to move region from CLOSING to CLOSED (#1772)

This is an automated email from the ASF dual-hosted git repository.

vjasani 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 9d364af  HBASE-24426 : Provide regionName in warning during failure to move region from CLOSING to CLOSED (#1772)
9d364af is described below

commit 9d364af79628898d167ac83ecff38bad21e7848f
Author: Viraj Jasani <vj...@apache.org>
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 <an...@apache.org>
    Signed-off-by: Jan Hentschel <ja...@ultratendency.com>
---
 .../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 a12b853..9690c18 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());