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

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

Ignore the JDK7 failures (need to update the precommit job), but it does look 
like there are some issues with your patch:

https://builds.apache.org/job/PreCommit-ACCUMULO-Build/25/artifact/patchprocess/patch-unit-root-jdk1.8.0.txt
{noformat}
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Accumulo Core 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ accumulo-core ---
[INFO] Deleting 
/home/jenkins/jenkins-slave/workspace/PreCommit-ACCUMULO-Build/component/core 
(includes = [**/*.pyc, **/*.so], excludes = [])
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-mvn) @ accumulo-core ---
[INFO] 
[INFO] --- mavanagaiata:0.7.2:commit (git-commit) @ accumulo-core ---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (check-licenses) @ accumulo-core ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: src/test/resources/shelltest.txt
[INFO] Exclude: src/test/resources/org/apache/accumulo/core/file/rfile/ver_3.rf
[INFO] Exclude: src/test/resources/org/apache/accumulo/core/file/rfile/ver_4.rf
[INFO] Exclude: src/test/resources/org/apache/accumulo/core/file/rfile/ver_6.rf
[INFO] Exclude: src/test/resources/org/apache/accumulo/core/file/rfile/ver_7.rf
[INFO] Exclude: src/test/resources/site-cfg.jceks
[INFO] Exclude: src/test/resources/accumulo.jceks
[INFO] Exclude: src/test/resources/empty.jceks
[INFO] Exclude: src/test/resources/passwords.jceks
[INFO] Exclude: nbproject/**
[INFO] Exclude: nb-configuration.xml
[INFO] Exclude: nbactions.xml
[INFO] 795 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 
approved: 794 licence.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources 
(prepare-filtered-java-source) @ accumulo-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- build-helper-maven-plugin:1.10:add-source (add-filtered-java-source) 
@ accumulo-core ---
[INFO] Source directory: 
/home/jenkins/jenkins-slave/workspace/PreCommit-ACCUMULO-Build/component/core/target/filtered-java-src
 added.
[INFO] 
[INFO] --- sortpom-maven-plugin:2.5.0:sort (sort-pom) @ accumulo-core ---
[INFO] Sorting file 
/home/jenkins/jenkins-slave/workspace/PreCommit-ACCUMULO-Build/component/core/pom.xml
[INFO] Pom file is already sorted, exiting
[INFO] 
[INFO] --- maven-java-formatter-plugin:0.4:format (format-java-source) @ 
accumulo-core ---
[INFO] Using 'UTF-8' encoding to format source files.
[INFO] Number of files to be formatted: 693
[INFO] Successfully formatted: 0 file(s)
[INFO] Fail to format        : 0 file(s)
[INFO] Skipped               : 693 file(s)
[INFO] Approximate time taken: 2s
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ accumulo-core ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
accumulo-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- sortpom-maven-plugin:2.5.0:verify (verify-sorted-pom) @ 
accumulo-core ---
[INFO] Verifying file 
/home/jenkins/jenkins-slave/workspace/PreCommit-ACCUMULO-Build/component/core/pom.xml
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ 
accumulo-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 598 source files to 
/home/jenkins/jenkins-slave/workspace/PreCommit-ACCUMULO-Build/component/core/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
/home/jenkins/jenkins-slave/workspace/PreCommit-ACCUMULO-Build/component/core/src/main/java/org/apache/accumulo/core/rpc/TTimeoutTransport.java:[90,2]
 reached end of file while parsing
[INFO] 1 error
{noformat}

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

Reply via email to