hadoop - accumulo init failed to connect to zookeeper -


when initial accumulo command: accumulo init, error appears, cannot connect zookeeper,however zookeeper running: info:zookeeper localhost:2181

thread "init" died null java.lang.reflect.invocationtargetexception     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:616)     @ org.apache.accumulo.start.main$1.run(main.java:101)     @ java.lang.thread.run(thread.java:679) caused by: java.lang.runtimeexception: java.lang.runtimeexception: failed connect zookeeper (localhost:2181) within 2x zookeeper timeout period 30000     @ org.apache.accumulo.server.util.initialize.main(initialize.java:498)     ... 6 more caused by: java.lang.runtimeexception: failed connect zookeeper (localhost:2181) within 2x zookeeper timeout period 30000     @ org.apache.accumulo.fate.zookeeper.zoosession.connect(zoosession.java:96)     @ org.apache.accumulo.fate.zookeeper.zoosession.getsession(zoosession.java:146)     @ org.apache.accumulo.fate.zookeeper.zooreader.getsession(zooreader.java:36)     @ org.apache.accumulo.fate.zookeeper.zooreaderwriter.getzookeeper(zooreaderwriter.java:53)     @ org.apache.accumulo.fate.zookeeper.zooreader.exists(zooreader.java:70)     @ `enter code here`org.apache.accumulo.server.util.initialize.zookeeperavailable(initialize.java:197)     @ org.apache.accumulo.server.util.initialize.doinit(initialize.java:122)     @ org.apache.accumulo.server.util.initialize.main(initialize.java:494)     ... 6 more 


Comments