diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java index 7f9736fc23e..44a5879aa40 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java @@ -8082,7 +8082,9 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi // MetricsRegionWrapperImpl is already init and not close, // add region close when open failed try { - this.close(); + // It is not required to write sequence id file when region open is failed. + // Passing true to skip the sequence id file write. + this.close(true); } catch (Throwable e) { LOG.warn("Open region: {} failed. Try close region but got exception ", this.getRegionInfo(), e);