In my system Hadoop and zookeeper working properly. Now I have just configured Accumulo.But when i am going to initialize Accumulo by
accumulo init
it is showing following errors.
[root@hydDev32 bin]# ./accumulo init
Uncaught exception: Provider com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl not found
javax.xml.parsers.FactoryConfigurationError: Provider com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl not found
at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
at org.apache.accumulo.start.classloader.AccumuloClassLoader.getAccumuloString(AccumuloClassLoader.java:307)
at org.apache.accumulo.start.classloader.AccumuloClassLoader.getAccumuloClasspathStrings(AccumuloClassLoader.java:291)
at org.apache.accumulo.start.classloader.AccumuloClassLoader.findAccumuloURLs(AccumuloClassLoader.java:217)
at org.apache.accumulo.start.classloader.AccumuloClassLoader.getAccumuloClassLoader(AccumuloClassLoader.java:375)
at org.apache.accumulo.start.classloader.AccumuloClassLoader.getClassLoader(AccumuloClassLoader.java:393)
at org.apache.accumulo.start.Main.main(Main.java:39)
[root@hydDev32 bin]#
can anybody help me to solve this problem... ??
I just ran into this exact same problem, and it turned out that I had a bad JAVA_HOME
set in my environment. Once I cleared that, the JAVA_HOME
setting in accumulo-env.sh
took over and everything worked fine.
I can't comment to ask for further information, so this may be a shot in the dark. But com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl is not being found. This should be included in rt.jar (classes.jar in OSX), which is part of the java runtime. So I would look into the version of java you are using.
Also, if I am mistaken, can you please clarify with the version of Accumulo, Hadoop, and Java.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With