[ https://issues.apache.org/jira/browse/HBASE-25276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guanghao Zhang resolved HBASE-25276. ------------------------------------ Fix Version/s: 2.3.4 2.2.7 2.4.0 3.0.0-alpha-1 Resolution: Fixed Pushed to branch-2.2+. Thanks [~niuyulin] for contributing. > 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 > Assignee: niuyulin > Priority: Major > Fix For: 3.0.0-alpha-1, 2.4.0, 2.2.7, 2.3.4 > > > {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)