You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (Jira)" <ji...@apache.org> on 2020/08/14 08:40:00 UTC

[jira] [Updated] (HBASE-24881) Fix flaky TestMasterAbortAndRSGotKilled for branch-2.2

     [ https://issues.apache.org/jira/browse/HBASE-24881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guanghao Zhang updated HBASE-24881:
-----------------------------------
    Description: 
I meet this problem on branch-2.2 too. This case happened because the DelayCloseCP. The event execute order is:
 # Close regiong. But because the DelayCloseCP, it will close after 10 seconds.
 # Finish ut and shutdown cluster.
 # Shutdown master.
 # Shutdown RS. Call waitOnAllRegionsToClose method. But abortRequested is false now.
 # Close region and failed because master is down and report master error. Then abort RegionServer and set abortRequested to ture.
 # waitOnAllRegionsToClose hanged because the online regions cannot be empty.

 

waitOnAllRegionsToClose(final boolean abort) already consider the abort case but the problem is abortRequested is false when call this method. I thought the fix should be that keep to check the abortRequested in waitOnAllRegionsToClose method internal.

> Fix flaky TestMasterAbortAndRSGotKilled for branch-2.2
> ------------------------------------------------------
>
>                 Key: HBASE-24881
>                 URL: https://issues.apache.org/jira/browse/HBASE-24881
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Guanghao Zhang
>            Priority: Major
>
> I meet this problem on branch-2.2 too. This case happened because the DelayCloseCP. The event execute order is:
>  # Close regiong. But because the DelayCloseCP, it will close after 10 seconds.
>  # Finish ut and shutdown cluster.
>  # Shutdown master.
>  # Shutdown RS. Call waitOnAllRegionsToClose method. But abortRequested is false now.
>  # Close region and failed because master is down and report master error. Then abort RegionServer and set abortRequested to ture.
>  # waitOnAllRegionsToClose hanged because the online regions cannot be empty.
>  
> waitOnAllRegionsToClose(final boolean abort) already consider the abort case but the problem is abortRequested is false when call this method. I thought the fix should be that keep to check the abortRequested in waitOnAllRegionsToClose method internal.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)