Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 90B4C10625 for ; Wed, 12 Feb 2014 08:42:26 +0000 (UTC) Received: (qmail 11303 invoked by uid 500); 12 Feb 2014 08:42:22 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 11198 invoked by uid 500); 12 Feb 2014 08:42:20 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 11179 invoked by uid 99); 12 Feb 2014 08:42:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 08:42:18 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stoffe@gmail.com designates 209.85.192.171 as permitted sender) Received: from [209.85.192.171] (HELO mail-pd0-f171.google.com) (209.85.192.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 08:42:11 +0000 Received: by mail-pd0-f171.google.com with SMTP id g10so8681064pdj.16 for ; Wed, 12 Feb 2014 00:41:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=bsB9mI2xnk+80jy4SbPDajYPzSaEdOw1t9m41yO4lI8=; b=iol93Z4A8Wr6bZWeunprwoe6vh/AiNd+c0WjbExLW0mZ7wr2PW/H/ZF7hpsG/0kbMy XrTh2IwCMfWUrYf/IxWpIUx60YtUHbTgtKnjOc1ySFAdQyAXeKqagG1OYbv9isOE4p4u nD/2Tv0VkiAW0z4UxRVy8F3gvrq5RLIF0AT2X/wg1BIRFE4sOoqiwGPgWnVpvi4FwLKI JFli3sEwMPPoFhonz0DuzZmb4RWqdUTmcftMvNAKHApU30H1amhKtZQ4ycnm1489c4GG NpZBOMM40c0/Z5cFHQVzJ6WoHmqXfKkcPHILhNd3MisFP7vdboCj1dVO8scSTTawoqs/ VqIQ== MIME-Version: 1.0 X-Received: by 10.68.0.99 with SMTP id 3mr49658772pbd.68.1392194510608; Wed, 12 Feb 2014 00:41:50 -0800 (PST) Received: by 10.66.254.7 with HTTP; Wed, 12 Feb 2014 00:41:50 -0800 (PST) Date: Wed, 12 Feb 2014 09:41:50 +0100 Message-ID: Subject: Standard vs Asynchbase client reconnect after HBase restart From: =?ISO-8859-1?Q?Kristoffer_Sj=F6gren?= To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=bcaec521555343612b04f2318b4f X-Virus-Checked: Checked by ClamAV on apache.org --bcaec521555343612b04f2318b4f Content-Type: text/plain; charset=ISO-8859-1 Hi I have some tests that check client behaviour during a controlled HBase restart. Everything works as expected and the client is able to recover after a while. However, after doing the same tests with the Asynchbase I noticed that this client recovers almost instantly after HBase comes back up - whereas the standard HConnection recovers much later (around 30 seconds). I played around with two properties without much time to recovery reduction. fail.fast.expired.active.master=true zookeeper.session.timeout=5000 Any tips on how to improve time to recovery? Cheers, -Kristoffer --bcaec521555343612b04f2318b4f--