accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberts, Geoffry [USA]" <Roberts_Geof...@bah.com>
Subject Accumulo 2.0 init error
Date Fri, 30 Aug 2019 19:11:11 GMT
I am following the quickstart instructions.  When I get to accumulo init I get a ClassNotFoundException
on org.apache.zookeeper.KeeperException.  I have  ZOOKEEPER_HOME set in accumulo-env.sh and
it is correct. Both Zookeeper and Hadoop are running and the namenode is freshly formatted.

Here’s my classpath and it looks  to me like Zk is present: /usr/local/accumulo-2.0.0/conf:/usr/local/accumulo-2.0.0/lib/*:/usr/local/hadoop/etc/hadoop:/usr/local/zookeeper/*:/usr/local/hadoop/share/hadoop/client/*

Is there anything else?

The error:

2019-08-30 14:50:01,377 [start.Main] ERROR: Uncaught exception
java.util.ServiceConfigurationError: org.apache.accumulo.start.spi.KeywordExecutable: Provider
org.apache.accumulo.server.init.Initialize could not be instantiated
     at java.util.ServiceLoader.fail(ServiceLoader.java:232)
     at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
     at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
     at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
     at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
     at org.apache.accumulo.start.Main.checkDuplicates(Main.java:243)
     at org.apache.accumulo.start.Main.getExecutables(Main.java:234)
     at org.apache.accumulo.start.Main.main(Main.java:88)
Caused by: java.lang.NoClassDefFoundError: org/apache/zookeeper/KeeperException
     at java.lang.Class.getDeclaredConstructors0(Native Method)
     at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
     at java.lang.Class.getConstructor0(Class.java:3075)
     at java.lang.Class.newInstance(Class.java:412)
     at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
     ... 5 more
Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.KeeperException
     at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
     ... 10 more

Thanks
Mime
View raw message