This is the Error:
is that a full stack trace?
 
/bin$ ./accumulo init
2021-01-25 11:52:23,927 [start.Main] ERROR: Uncaught exception
java.lang.NoClassDefFoundError: com/ctc/wstx/io/InputBootstrapper
    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 org.apache.accumulo.start.Main.main(Main.java:60)
Caused by: java.lang.ClassNotFoundException: com.ctc.wstx.io.InputBootstrapper
    at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
    ... 5 more
 
 
My accumulo classpath looks like that:
/bin$ ./accumulo classpath
:/home/s/hadoop-3.2.2/share/hadoop/common/*
:/home/s/accumulo-2.0.0/conf
:/home/s/accumulo-2.0.0/lib/*
:/home/s/hadoop-3.2.2/share/*
:/home/s/apache-zookeeper-3.6.2-bin/*
:/home/s/hadoop-3.2.2/share/hadoop/client/*
:/home/s/hadoop-3.2.2/share/hadoop/common/lib
 
I don't understand what's missing here, which jars?
 
 
Gesendet: Dienstag, 19. Januar 2021 um 17:23 Uhr
Von: "Christopher" <ctubb...@apache.org>
An: "accumulo-user" <user@accumulo.apache.org>
Betreff: Re: ERROR: Uncaught exception java.lang.NoClassDefFoundError: com/ctc/wstx/io/InputBootstrapper
This missing class is certainly not a dependency of Accumulo. It could be a dependency of Hadoop. However, there is no such version as Hadoop 3.6.2, so it could also be something unique about your environment (a non-standard version of Hadoop?). As Ed said, you should check your Accumulo class path. If you have a non-standard version of Hadoop, you may have additional jars that the default configuration of Accumulo's class path won't know about.

A full stack trace for the error you saw would help diagnose the problem, if you're able to provide it.

Also, please be aware that it is recommended to use Accumulo 2.0.1 instead of 2.0.0, because of CVE-2020-17533.
 
On Tue, Jan 19, 2021 at 10:10 AM Ed Coleman <edcole...@apache.org> wrote:
It looks like that class should be included in one of the hadoop shaded jars.  Check your Accumulo classpath to see if the necessary and correct hadoop jars are available.

On 2021/01/19 14:55:05, sam merrel <sammer...@gmx.de> wrote:
> Hi,
>
> I am using accumulo 2.0.0 and hadoop 3.6.2 and java 8.
>
> I can start Zookeeper and hadoop fine.
>
> But accumulo init gives me this error:
>
>
>
> ERROR: Uncaught exception 
> java.lang.NoClassDefFoundError: com/ctc/wstx/io/InputBootstrapper
>
>
>
> How can I solve this? I can' find anything online.
>
> Thanks in advance! 
>
>
>

Reply via email to