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 F41B72009F8 for ; Fri, 3 Jun 2016 17:08:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F2F04160A49; Fri, 3 Jun 2016 15:08:00 +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 48E2A160A3B for ; Fri, 3 Jun 2016 17:08:00 +0200 (CEST) Received: (qmail 90361 invoked by uid 500); 3 Jun 2016 15:07:59 -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 90333 invoked by uid 99); 3 Jun 2016 15:07:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2016 15:07:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 439102C1F60 for ; Fri, 3 Jun 2016 15:07:59 +0000 (UTC) Date: Fri, 3 Jun 2016 15:07:59 +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: Fri, 03 Jun 2016 15:08:01 -0000 [ https://issues.apache.org/jira/browse/ACCUMULO-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15314254#comment-15314254 ] Josh Elser commented on ACCUMULO-4317: -------------------------------------- bq. All other failures are jdk 1.7 related issues Yeah, no worries. I have it on my list to try to make this better in the future. bq. I'm not sure how to write unit tests for this. Ok. I'll take a look at what you have today and see if I can come up with anything :) > 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)