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 63E80200C1B for ; Tue, 14 Feb 2017 17:24:38 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 62834160B5F; Tue, 14 Feb 2017 16:24:38 +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 AACFA160B52 for ; Tue, 14 Feb 2017 17:24:37 +0100 (CET) Received: (qmail 97698 invoked by uid 500); 14 Feb 2017 16:24:36 -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 97685 invoked by uid 99); 14 Feb 2017 16:24:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2017 16:24:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 13A91C0D33 for ; Tue, 14 Feb 2017 16:24:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.193 X-Spam-Level: *** X-Spam-Status: No, score=3.193 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 8LhKlQmN2u0X for ; Tue, 14 Feb 2017 16:24:35 +0000 (UTC) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id AFCA15F1B3 for ; Tue, 14 Feb 2017 16:24:34 +0000 (UTC) Received: by mail-wm0-f50.google.com with SMTP id t18so14909762wmt.0 for ; Tue, 14 Feb 2017 08:24:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Z3+yLc/2okT7kUIuSPWTuQzGfuc1HqFY+1NYeFRKLo8=; b=AGpCDlizvwTkL9B+O+al9VJMj05j83PoZxOwW0w75Rl7wij6RAPCR34I2X67GHLrRe LGU6qE+ihEvLIgTx1yBzsBlSNapHOckwDLbAR4/AUO+CBAC0bkwreyVjq3urUrbFM+y1 222yPV07QsoN8UPVhMPY3MeGDM7QgwApYl3v4saXGRNZtfbxd5NyRjvj8B4g6zHeFX+m uE3JVcvMyRTckBXyAz8aBWkRSOkv2CacQHyzSFLk5mzzZ5VMjjcClBXZI95vKzByQM/d OGNoSbpshTmNg0dZ6I3zeP84TB+Lw03PEodJNj2dkvzHUWveV2ce+4lF1OQG25ZDzJ/Z NEFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Z3+yLc/2okT7kUIuSPWTuQzGfuc1HqFY+1NYeFRKLo8=; b=npF/zkqK5YlZXSQW49mKSFRbai4yCE7bD8ek8O+HNhpyZH703GVLf32b4F3tFgaIzS nIOfIFhSxTqI65KqZtlfL3cJDRNEAPzzOwnHo0+mtbmbevsTr4vUTMb+r4+VEphRZ2lS 8jIrkagHgkv/m5PAdAf37IOhLm226WMaieJH0fRWNGZqwcFpFXoG4wLn+vJ54k3K4EHq AqVAhQ3E0M+frbcyYgx3jII0muI6WIfMyQ1Rke4OiWumgksvjePDDgq26QY/8YhiXhmo D0zPPT8ZTxi673MmATGOIX11cdRA9F+45d/a4wdcGeyIwGWf429vESjr9+GHW2UZdp/q KSwQ== X-Gm-Message-State: AMke39mb6zBYuzDeFpHBCf7PGwJMlNX0VCz0hmNoJxmNJ2Oc84B7wWPgO+zzAY8qiYL78XVUdLx5hQ1/HfEyWg== X-Received: by 10.28.224.213 with SMTP id x204mr3872633wmg.82.1487089473702; Tue, 14 Feb 2017 08:24:33 -0800 (PST) MIME-Version: 1.0 References: <1487088392734-19919.post@n5.nabble.com> In-Reply-To: <1487088392734-19919.post@n5.nabble.com> From: "Marc P." Date: Tue, 14 Feb 2017 16:24:23 +0000 Message-ID: Subject: Re: exception from thrift To: dev@accumulo.apache.org Content-Type: multipart/alternative; boundary=001a1148c31ad452d405487fffc5 archived-at: Tue, 14 Feb 2017 16:24:38 -0000 --001a1148c31ad452d405487fffc5 Content-Type: text/plain; charset=UTF-8 Could be a number of causes. If you are not using the proxy I'd ensure the tserver is still hosting after a split. If you are you can get more info from the exception. In my CPP client I take failed mutations and requeue them depending on the exception details. If the extent locations have changed I update. If a security issue then I return an error. On Tue, Feb 14, 2017, 11:11 AM z11373 wrote: > Hi, > I have c++ client talking to Accumulo via Thrift. > The client app is simply running in the loop, and inside the loop it > creates > batch writer, add mutation with random length of string data, call that > batch writer flush() and close() methods. The code is running fine, except > when running it with multiple instances, and after some number of > iterations, some of the instances may start hitting this exception: > > org.apache.accumulo.core.client.MutationsRejectedException: # constraint > violations : 0 security codes: {} # server errors 0 # exceptions 1 > > Do you know what causing this exception? Does it have anything to do with > the fact the client is accessing Accumulo via Thrift, or problem with the > Thrift proxy itself? > > > Thanks, > Z > > > > -- > View this message in context: > http://apache-accumulo.1065345.n5.nabble.com/exception-from-thrift-tp19919.html > Sent from the Developers mailing list archive at Nabble.com. > --001a1148c31ad452d405487fffc5--