[ https://issues.apache.org/jira/browse/HBASE-22361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bahram Chehrazy updated HBASE-22361: ------------------------------------ Description: When the server is being aborted or stopped, the server waits for all online regions to flush and close. And if a region is at the end of opening process, the openEventHandler throws an exception. However, it fails to remove that region from the on-line regions and fails to notify the master. This would prevent the server shutdown loop to exit. Similarly, if regions that are being closed fail for any reason, the closeEventHandler throws, but again, it fails to remove that region from the on-line list. was: When the server is being aborted or stopped, the server waits for all online regions to flush and close. And if a region is at the end of opening process, the openEventHandler throws an exception. However, it fails to remove that region from the on-line regions and fails to notify the master. This would prevent the server shutdown loop to exit. Similarly, if regions that are being closed fail for any region, the closeEventHandler throws but again, it fails to remove that region from the on-line list. > RegionServer could get stuck during shutdown process > ---------------------------------------------------- > > Key: HBASE-22361 > URL: https://issues.apache.org/jira/browse/HBASE-22361 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 3.0.0, 2.2.0 > Reporter: Bahram Chehrazy > Assignee: Bahram Chehrazy > Priority: Major > Attachments: > Assign-and-close-event-handlers-should-remove-region-2.patch > > > When the server is being aborted or stopped, the server waits for all online > regions to flush and close. And if a region is at the end of opening process, > the openEventHandler throws an exception. However, it fails to remove that > region from the on-line regions and fails to notify the master. This would > prevent the server shutdown loop to exit. > Similarly, if regions that are being closed fail for any reason, the > closeEventHandler throws, but again, it fails to remove that region from the > on-line list. > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)