From dev-return-67680-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Tue Jan 23 00:23:05 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id E0E0B180609 for ; Tue, 23 Jan 2018 00:23:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D0C99160C4D; Mon, 22 Jan 2018 23:23:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 22A9F160C4B for ; Tue, 23 Jan 2018 00:23:04 +0100 (CET) Received: (qmail 21588 invoked by uid 500); 22 Jan 2018 23:23:03 -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 21576 invoked by uid 99); 22 Jan 2018 23:23:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jan 2018 23:23:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 656A51A06AD for ; Mon, 22 Jan 2018 23:23:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.711 X-Spam-Level: X-Spam-Status: No, score=-100.711 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id dRNWRmhldvQG for ; Mon, 22 Jan 2018 23:23:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 5E8125F6D2 for ; Mon, 22 Jan 2018 23:23:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DBEBFE0DF8 for ; Mon, 22 Jan 2018 23:23:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8EBD520EA9 for ; Mon, 22 Jan 2018 23:23:01 +0000 (UTC) Date: Mon, 22 Jan 2018 23:23:01 +0000 (UTC) From: "stack (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (HBASE-19834) Signalling server-hosted-clients to abort retries 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-19834?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] stack reopened HBASE-19834: --------------------------- > Signalling server-hosted-clients to abort retries > ------------------------------------------------- > > Key: HBASE-19834 > URL: https://issues.apache.org/jira/browse/HBASE-19834 > Project: HBase > Issue Type: Sub-task > Reporter: stack > Priority: Major > Fix For: 2.0.0-beta-2 > > > A few recent flakey tests have been variations on the server-hosted-clien= t retrying against a server or region that is never going to show up =E2=80= =93 usually because cluster is being shutdown. One example is client stuck,= retrying to update hbase:meta with change in region or table state but hba= se:meta is down. Another is HBASE-19794 where the test hangs because backup= Master is trying to become active and as part of the startup, it is trying= to read table state from hbase:meta but hbase:meta is not available; it ha= s been put down as part of the cluster shutdown. > One difficulty is that the master main thread can get hung-up by the clie= nt retries (in some cases the client retries are in-lined with the main thr= ead so it is 'blocked'); it is no longer available to receive cluster shutd= own or other event types (e.g. see HBASE-19794). Some of our startup needs = to be refactored moved into our run method rather than done as some big sin= gle-threaded startup as happens now in Master. We need this also for the=C2= =A0HBASE-19831 work. -- This message was sent by Atlassian JIRA (v7.6.3#76005)