Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 98DFC200D4C for ; Wed, 15 Nov 2017 17:14:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9711D160BEA; Wed, 15 Nov 2017 16:14:07 +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 E7D5F160BF6 for ; Wed, 15 Nov 2017 17:14:06 +0100 (CET) Received: (qmail 32932 invoked by uid 500); 15 Nov 2017 16:14:05 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 32769 invoked by uid 99); 15 Nov 2017 16:14:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2017 16:14:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0B827180713 for ; Wed, 15 Nov 2017 16:14:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Y-eXqUxB4rbf for ; Wed, 15 Nov 2017 16:14:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6B6A660DE4 for ; Wed, 15 Nov 2017 16:14: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 87CE3E256D for ; Wed, 15 Nov 2017 16:14: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 EA5B4240EE for ; Wed, 15 Nov 2017 16:14:00 +0000 (UTC) Date: Wed, 15 Nov 2017 16:14:00 +0000 (UTC) From: "Peter Somogyi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-13850) Check for dead server on CallTimeoutException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 15 Nov 2017 16:14:07 -0000 [ https://issues.apache.org/jira/browse/HBASE-13850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Somogyi resolved HBASE-13850. ----------------------------------- Resolution: Duplicate > Check for dead server on CallTimeoutException > --------------------------------------------- > > Key: HBASE-13850 > URL: https://issues.apache.org/jira/browse/HBASE-13850 > Project: HBase > Issue Type: Improvement > Components: Client, MTTR > Affects Versions: 2.0.0, 1.2.0 > Reporter: Matteo Bertozzi > Assignee: huaxiang sun > Priority: Minor > Attachments: HBASE-13850-v0.patch, TestGetPerf.java > > > WARN this may be a misconf, so let me know if there is a timeout param to set. > {noformat} > hbase-site.xml > zookeeper.session.timeout 10000 > hbase.regionserver.storefile.refresh.period 10000 > hbase.client.operation.timeout 5000 > hbase.client.meta.operation.timeout 5000 > hbase.client.scanner.timeout.period 10000 > hbase.regionserver.lease.period 10000 > {noformat} > I have a test that does a kill STOP on a RS and tries to query it. > From the conf the zk lease is 10sec, and the master is correctly doing the reassign after 10sec and meta is updated. > the client keep trying to query the RS for a specific row until it get a response. The table.get(row) in the loop throws a CallTimeoutException every 5sec (which is the configured settings). but instead of succeed after 2/3 retries (> 10sec where the master reassign) it keeps retrying up to 60sec (I don't know what that 60sec is, maybe a conf param that I'm not able to find) > one simple fix in the code is handling the CallTimeoutException in RegionServerCallable and clear the meta cache for that RS that is not responding. (but maybe there is already a conf to set to reduce that 60sec period) -- This message was sent by Atlassian JIRA (v6.4.14#64029)