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)

Google Groups | Pasquale Iodice | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    HELP!! docker/run-dev.sh problem!!!

    Google Groups | 2 years ago | Pasquale Iodice
    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)

    Root Cause Analysis

    1. 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()
    2. org.apache.accumulo
      SetGoalState.main
      1. org.apache.accumulo.master.state.SetGoalState.main(SetGoalState.java:44)
      1 frame
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame