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:117) at org.apache.accumulo.fate.zookeeper.ZooSession.getSession(ZooSession.java:161) at org.apache.accumulo.fate.zookeeper.ZooReader.getSession(ZooReader.java:35) at org.apache.accumulo.fate.zookeeper.ZooReaderWriter.getZooKeeper(ZooReaderWriter.java:50) at org.apache.accumulo.fate.zookeeper.ZooReader.getChildren(ZooReader.java:59) at org.apache.accumulo.server.Accumulo.waitForZookeeperAndHdfs(Accumulo.java:246)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Pasquale Iodice, 1 year ago
Failed to connect to zookeeper (localhost:2181) within 2x zookeeper timeout period 30000 at org.apache.accumulo.fate.zookeeper.ZooSession.connect(ZooSession.java:117) at org.apache.accumulo.fate.zookeeper.ZooSession.getSession
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:117) at org.apache.accumulo.fate.zookeeper.ZooSession.getSession(ZooSession.java:161) at org.apache.accumulo.fate.zookeeper.ZooReader.getSession(ZooReader.java:35) at org.apache.accumulo.fate.zookeeper.ZooReaderWriter.getZooKeeper(ZooReaderWriter.java:50) at org.apache.accumulo.fate.zookeeper.ZooReader.getChildren(ZooReader.java:59) at org.apache.accumulo.server.Accumulo.waitForZookeeperAndHdfs(Accumulo.java:246)
at org.apache.accumulo.master.state.SetGoalState.main(SetGoalState.java:44)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.