accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberts, Geoffry [USA]" <>
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 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.access$100(
     at java.util.ServiceLoader$LazyIterator.nextService(
     at java.util.ServiceLoader$
     at java.util.ServiceLoader$
     at org.apache.accumulo.start.Main.checkDuplicates(
     at org.apache.accumulo.start.Main.getExecutables(
     at org.apache.accumulo.start.Main.main(
Caused by: java.lang.NoClassDefFoundError: org/apache/zookeeper/KeeperException
     at java.lang.Class.getDeclaredConstructors0(Native Method)
     at java.lang.Class.privateGetDeclaredConstructors(
     at java.lang.Class.getConstructor0(
     at java.lang.Class.newInstance(
     at java.util.ServiceLoader$LazyIterator.nextService(
     ... 5 more
Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.KeeperException
     at java.lang.ClassLoader.loadClass(
     at sun.misc.Launcher$AppClassLoader.loadClass(
     at java.lang.ClassLoader.loadClass(
     ... 10 more

View raw message