Guanghao Zhang created HBASE-25276:
--------------------------------------
Summary: Need to throw the original exception in
HRegion#openHRegion
Key: HBASE-25276
URL: https://issues.apache.org/jira/browse/HBASE-25276
Project: HBase
Issue Type: Bug
Reporter: Guanghao Zhang
{code:java}
protected HRegion openHRegion(final CancelableProgressable reporter)
throws IOException {
try {
......
} catch(Throwable t) {
// By coprocessor path wrong region will open failed,
// MetricsRegionWrapperImpl is already init and not close,
// add region close when open failed
this.close(); // This may throw IOException too.
throw t;
}
return this;
}
{code}
https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java#L8144
this.close() may throw IOException too. TheĀ original exception will not be
recorded.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)