[
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)