Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
Description
I thought that starting the proxy with "userMiniAccumulo=true" would give me a trivial way to test the proxy. However, the proxy times out connecting to zookeeper.
java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.accumulo.start.Main$1.run(Main.java:101) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.accumulo.proxy.Proxy.createProxyServer(Proxy.java:127) at org.apache.accumulo.proxy.Proxy.main(Proxy.java:118) ... 6 more Caused by: java.lang.RuntimeException: Failed to connect to zookeeper (localhost:64096) within 2x zookeeper timeout period 30000 at org.apache.accumulo.fate.zookeeper.ZooSession.connect(ZooSession.java:96) at org.apache.accumulo.fate.zookeeper.ZooSession.getSession(ZooSession.java:146) at org.apache.accumulo.fate.zookeeper.ZooReader.getSession(ZooReader.java:36) at org.apache.accumulo.fate.zookeeper.ZooReader.getZooKeeper(ZooReader.java:40) at org.apache.accumulo.fate.zookeeper.ZooCache.getZooKeeper(ZooCache.java:56) at org.apache.accumulo.fate.zookeeper.ZooCache.retry(ZooCache.java:127) at org.apache.accumulo.fate.zookeeper.ZooCache.get(ZooCache.java:233) at org.apache.accumulo.fate.zookeeper.ZooCache.get(ZooCache.java:188) at org.apache.accumulo.core.client.ZooKeeperInstance.getInstanceID(ZooKeeperInstance.java:143) at org.apache.accumulo.core.client.ZooKeeperInstance.<init>(ZooKeeperInstance.java:104) at org.apache.accumulo.core.client.ZooKeeperInstance.<init>(ZooKeeperInstance.java:85) at org.apache.accumulo.proxy.ProxyServer.<init>(ProxyServer.java:159) ... 12 more