HBASE-24426 : Provide regionName in warning during failure to move region from CLOSING to CLOSED (#1772)
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org> Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
This commit is contained in:
parent
92673342ec
commit
301659dcc7
|
@ -154,7 +154,8 @@ public class HBCKServerCrashProcedure extends ServerCrashProcedure {
|
||||||
MetaTableAccessor.updateRegionState(this.connection, hrl.getRegion(),
|
MetaTableAccessor.updateRegionState(this.connection, hrl.getRegion(),
|
||||||
RegionState.State.CLOSED);
|
RegionState.State.CLOSED);
|
||||||
} catch (IOException ioe) {
|
} 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()) {
|
} else if (rs.isOpening() || rs.isOpened()) {
|
||||||
this.reassigns.add(hrl.getRegion());
|
this.reassigns.add(hrl.getRegion());
|
||||||
|
|
Loading…
Reference in New Issue