java.lang.RuntimeException

Failed to connect to zookeeper (localhost:2181) within 2x zookeeper timeout period 30000

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web40074

  • via accumulo-dev by Amila Wijayarathna, 11 months ago
    Failed to connect to zookeeper (localhost:2181) within 2x zookeeper timeout period 30000
  • via atlassian.com by Unknown author, 1 year ago
    java.lang.RuntimeException: Failed to connect to zookeeper (localhost:2181) within 2x zookeeper timeout period 30000
  • Failed to connect to zookeeper (localhost:2181) within 2x zookeeper timeout period 30000
  • Stack trace

    • java.lang.RuntimeException: Failed to connect to zookeeper (localhost:2181) within 2x zookeeper timeout period 30000 at org.apache.accumulo.fate.zookeeper.ZooSession.connect(ZooSession.java:123) at org.apache.accumulo.fate.zookeeper.ZooSession.getSession(ZooSession.java:167) at org.apache.accumulo.fate.zookeeper.ZooReader.getSession(ZooReader.java:39) at org.apache.accumulo.fate.zookeeper.ZooReaderWriter.getZooKeeper(ZooReaderWriter.java:50) at org.apache.accumulo.fate.zookeeper.ZooReader.exists(ZooReader.java:166) at org.apache.accumulo.server.init.Initialize.zookeeperAvailable(Initialize.java:277) at org.apache.accumulo.server.init.Initialize.checkInit(Initialize.java:159) at org.apache.accumulo.server.init.Initialize.doInit(Initialize.java:213) at org.apache.accumulo.server.init.Initialize.main(Initialize.java:590) 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:141) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 3 months ago
    Unknown user
    Once, 11 months ago