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

vjasani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 301659d  HBASE-24426 : Provide regionName in warning during failure to 
move region from CLOSING to CLOSED (#1772)
301659d is described below

commit 301659dcc747f6984a3e46ebc53ade9a102fe967
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]>
---
 .../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());

Reply via email to