Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2DDAB180A7 for ; Tue, 26 Jan 2016 16:46:06 +0000 (UTC) Received: (qmail 2798 invoked by uid 500); 26 Jan 2016 16:46:06 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 2753 invoked by uid 500); 26 Jan 2016 16:46:06 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 2740 invoked by uid 99); 26 Jan 2016 16:46:05 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2016 16:46:05 +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 3E03C1A0486 for ; Tue, 26 Jan 2016 16:46:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.98 X-Spam-Level: ** X-Spam-Status: No, score=2.98 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=deenlo-com.20150623.gappssmtp.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id XdUTLnPlEncm for ; Tue, 26 Jan 2016 16:46:03 +0000 (UTC) Received: from mail-ob0-f173.google.com (mail-ob0-f173.google.com [209.85.214.173]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id CF9C2205FA for ; Tue, 26 Jan 2016 16:46:03 +0000 (UTC) Received: by mail-ob0-f173.google.com with SMTP id ba1so148307107obb.3 for ; Tue, 26 Jan 2016 08:46:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=deenlo-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=s783zeLjrThtGrWzCd9YM1kavYUC7v6z40HC+3XbzaY=; b=KxG2VvRKj3pnk1Zn9rl634KhjQGGcrAb89hYuZtWYpNH2okeBQMlWLsIxh/E9/I/UJ B2aaoA0u6Htyd98xhm5t5Ex+AOEg0bk63S1D7ZUVlvdhGFa9TZ5Dj8ri7XZQFxU7U5Vd r1L8fgdlFHtG3JtUbnwzln3981KaMvK8B5zenPPW2g9qNzS5vEKuFTH0C4Xv/RIZqGVL t5+0mhpNf5V9CKdC008UBwL5pOBELZhYgvdgKP9yFBa87eOPqmZFX1s1ZYEzwlnkDxWm 7B8KZu/sRu9M5vEzwgdKi3B+bv/7yM9VLeMCroRiV4weUY9ao42m2qhbcbK6mvE9Eiow 507Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=s783zeLjrThtGrWzCd9YM1kavYUC7v6z40HC+3XbzaY=; b=EArOM+jnohPPO8C8fUiayEO9qkXdgqm/uHKH+GM69Lcbts17pY0ujo4AFvnWXP1/S1 778QcfW836ggZYYJ7tjDUQuBjDeEuCMw7IG2jeRI10YD7SSqpthTyY7D1d6xE8q2dmA8 X7kP2Ry6Rc6FpKy9eSLWk7tqYGc5P5np5oEnXeEqFV8yTR06Dm+YVdF9RYB3Z5tOJpAM 5/jiGNBM+AJm2W94Ez0jWp80jEBYrmVItLJkiq1A7MHZp394J0Lh5L0wHzh0okhw3tGP 0io+a0GkR7RGxIY9DL8pmr00w69d3GyXuAG4e7pHr38qyJ3kVrXbVgFv1rf55n9b0Lwn rJ9A== X-Gm-Message-State: AG10YOSWETSEeEXwKl3snX6lr3TARQbOW2TRogSSV3f/aNY4EoXD/iQlFQXHS3qRsBRLVdlVF2oNR5XsIOkFgA== MIME-Version: 1.0 X-Received: by 10.60.128.195 with SMTP id nq3mr19151459oeb.52.1453826757067; Tue, 26 Jan 2016 08:45:57 -0800 (PST) Received: by 10.202.180.6 with HTTP; Tue, 26 Jan 2016 08:45:57 -0800 (PST) In-Reply-To: <56A6580D.3040401@gmail.com> References: <56A6580D.3040401@gmail.com> Date: Tue, 26 Jan 2016 11:45:57 -0500 Message-ID: Subject: Re: Interesting bug report From: Keith Turner To: Accumulo Dev List Content-Type: multipart/alternative; boundary=047d7b3a86806b980c052a3f6b6e --047d7b3a86806b980c052a3f6b6e Content-Type: text/plain; charset=UTF-8 On Mon, Jan 25, 2016 at 12:14 PM, Josh Elser wrote: > I've long be waffling about the usefulness of our "infinite retry" logic. > It's great for daemons. It sucks for humans. > > Maybe there's a story in addressing this via ClientConfiguration -- let > the user tell us the policy they want to follow. +1 for configurable retry policy. Curator has a configurable retry policy. Would be good to see how it works when designing something for Accumulo. > > > John Vines wrote: > >> Of course, it's when I hit send that I realize that we could mitigate by >> making the client aware of the master state, and if the system is shut >> down >> (which was the case for that ticket), then it can fail quickly with a >> descriptive message. >> >> On Mon, Jan 25, 2016 at 10:58 AM John Vines wrote: >> >> While we want to be fault tolerant, there's a point where we want to >>> eventually fail. I know we have a couple never ending retry loops that >>> need >>> to be addressed (https://issues.apache.org/jira/browse/ACCUMULO-1268), >>> but I'm unsure if queries suffer from this problem. >>> >>> Unfortunately, fault tolerance is a bit at odds with instant notification >>> of system issues, since some of the fault tolerance is temporally >>> oriented. >>> And that ticket lacks context of it never failing out vs. failing out >>> eventually (but too long for the user) >>> >>> >>> On Sun, Jan 24, 2016 at 7:46 PM Christopher wrote: >>> >>> I saw this bug report: >>>> https://bugzilla.redhat.com/show_bug.cgi?id=1300987 >>>> >>>> As far as I can tell, they are reporting normal, expected, and desired >>>> behavior of Accumulo as a bug. But, is there something we can do >>>> upstream >>>> to enable fast failures in the case of Accumulo not running to support >>>> their use case? >>>> >>>> Personally, I don't see how we can reliably detect within the client >>>> that >>>> the cluster is down or up, vs. a normal temporary server >>>> outage/migration, >>>> since there is there is no single point of authority for Accumulo to >>>> determine its overall operating status if ZooKeeper is running and no >>>> other >>>> servers are. Am I wrong? >>>> >>>> >> --047d7b3a86806b980c052a3f6b6e--