accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-4317) Accumulo client causes 'too many files open' due to infinite loop.
Date Sat, 28 May 2016 17:09:12 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15305487#comment-15305487
] 

Josh Elser commented on ACCUMULO-4317:
--------------------------------------

That's a great find, [~mastermikeyboy@gmail.com]! I completely agree with you: if we fail
to set up the TTransport, we fail to actually close the underlying Socket (because we think
we never opened anything).

Marking this one to get fixed in the upcoming releases we're working through. Any interest
in trying to write a patch for this?

> 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
>            Priority: Minor
>             Fix For: 1.6.6, 1.7.2, 1.8.0
>
>
> 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)

Mime
View raw message