From dev-return-80761-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Wed Aug 26 07:57:08 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 8D38D1806C7 for ; Wed, 26 Aug 2020 09:57:08 +0200 (CEST) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id A549E125CB3 for ; Wed, 26 Aug 2020 07:57:05 +0000 (UTC) Received: (qmail 7663 invoked by uid 500); 26 Aug 2020 07:57:02 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 7509 invoked by uid 99); 26 Aug 2020 07:57:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2020 07:57:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6C5AD40E32 for ; Wed, 26 Aug 2020 07:57:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 40615780C58 for ; Wed, 26 Aug 2020 07:57:00 +0000 (UTC) Date: Wed, 26 Aug 2020 07:57:00 +0000 (UTC) From: "Guanghao Zhang (Jira)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-24881) Fix flaky TestMasterAbortAndRSGotKilled for branch-2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-24881?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Guanghao Zhang resolved HBASE-24881. ------------------------------------ Fix Version/s: 2.2.6 Resolution: Fixed > 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 > Assignee: Guanghao Zhang > Priority: Major > Fix For: 2.2.6 > > > I meet this problem on branch-2.2 too. This case happened because the=C2= =A0DelayCloseCP. The event execute order is: > # Close regiong. But because the=C2=A0DelayCloseCP, it will close after = 10 seconds. > # Finish ut and shutdown cluster. > # Shutdown master. > # Shutdown RS. Call=C2=A0waitOnAllRegionsToClose method. But=C2=A0abortR= equested is false now. > # Close region and failed because master is down and report master error= . Then abort RegionServer and set=C2=A0abortRequested to ture. > # waitOnAllRegionsToClose hanged because the online regions cannot be em= pty. > =C2=A0 > waitOnAllRegionsToClose(final boolean abort) already consider the abort c= ase but the problem is=C2=A0abortRequested is false when call this method. = I thought the fix should be that keep to check the=C2=A0abortRequested in= =C2=A0waitOnAllRegionsToClose method internal. -- This message was sent by Atlassian Jira (v8.3.4#803005)