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 BEBB4200B13 for ; Tue, 31 May 2016 21:55:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BDA70160A48; Tue, 31 May 2016 19:55:14 +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 1124B160A44 for ; Tue, 31 May 2016 21:55:13 +0200 (CEST) Received: (qmail 85988 invoked by uid 500); 31 May 2016 19:55:13 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 85867 invoked by uid 99); 31 May 2016 19:55:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2016 19:55:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 00D0A2C1F69 for ; Tue, 31 May 2016 19:55:13 +0000 (UTC) Date: Tue, 31 May 2016 19:55:13 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-4317) Accumulo client causes 'too many files open' due to infinite loop. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 31 May 2016 19:55:14 -0000 [ https://issues.apache.org/jira/browse/ACCUMULO-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15308482#comment-15308482 ] Josh Elser commented on ACCUMULO-4317: -------------------------------------- {quote} Closing sockets on exception. Patch based on 1.7 04d0c19 {quote} Thanks, [~mastermikeyboy@gmail.com]! I've added you as a contributor and assigned this issue to you. I've also gone ahead and clicked the "Submit Patch" button for you (in the future, you can click this button after you attach a patch for the first time). This should trigger some automated testing of your patch to run your changes through all sorts of tests before we merge it in. We should see a report from a bot in an hour or two. > Accumulo client causes 'too many files open' due to infinite loop. > ------------------------------------------------------------------ > > Key: ACCUMULO-4317 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4317 > Project: Accumulo > Issue Type: Bug > Components: client > Affects Versions: 1.6.5, 1.7.0, 1.7.1 > Reporter: Michiel Vanderlee > Assignee: Michiel Vanderlee > Priority: Blocker > Fix For: 1.6.6, 1.7.2, 1.8.0 > > Attachments: Accumulo-4317.patch > > > Accumulo stores hostnames in zookeeper, if the client can not resolve these then it will continue to try to connect in a while(true) loop. This will eventually cause 'too many files open' errors. > Loop is in ServerClient.java$executeRaw > Bug: Should error out after some time, not retry infintely. > Workaround: Add hostnames to /etc/hosts and restart. -- This message was sent by Atlassian JIRA (v6.3.4#6332)