You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/10/23 07:11:33 UTC

[jira] [Created] (ACCUMULO-3253) Spurious ZK connection timeouts in ITs

Josh Elser created ACCUMULO-3253:
------------------------------------

             Summary: Spurious ZK connection timeouts in ITs
                 Key: ACCUMULO-3253
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3253
             Project: Accumulo
          Issue Type: Bug
          Components: test
            Reporter: Josh Elser
             Fix For: 1.7.0


An issue that I'm seeing in some ITs.

{noformat}
2014-10-23 00:58:18,604 [start.Main] ERROR: Thread 'org.apache.accumulo.examples.simple.client.TracingExample' died.
java.lang.RuntimeException: Failed to connect to zookeeper (localhost:2081) within 2x zookeeper timeout period 1000
    at org.apache.accumulo.fate.zookeeper.ZooSession.connect(ZooSession.java:118)
    at org.apache.accumulo.fate.zookeeper.ZooSession.getSession(ZooSession.java:163)
    at org.apache.accumulo.fate.zookeeper.ZooReader.getSession(ZooReader.java:39)
    at org.apache.accumulo.fate.zookeeper.ZooReader.getZooKeeper(ZooReader.java:43)
    at org.apache.accumulo.fate.zookeeper.ZooReader.getChildren(ZooReader.java:147)
    at org.apache.accumulo.core.trace.ZooTraceClient.<init>(ZooTraceClient.java:51)
    at org.apache.accumulo.core.trace.DistributedTrace.enable(DistributedTrace.java:41)
    at org.apache.accumulo.examples.simple.client.TracingExample.enableTracing(TracingExample.java:67)
    at org.apache.accumulo.examples.simple.client.TracingExample.main(TracingExample.java:138)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.accumulo.start.Main$1.run(Main.java:163)
    at java.lang.Thread.run(Thread.java:745)
{noformat}

For some reason, a number of tests seem to be failing due to an inability to connect to ZK in a reasonable amount of time. I've seen ExamplesIT, DurabilityIT, ProxyDurabilityIT, and SessionDurabilityIT all exhibit issues.

Not sure if there's something more heinous or if the timeout is just too low.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)