accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o haya <>
Subject Trying to get SimpleIngestClient example working with Accumulo
Date Sat, 20 May 2017 04:24:09 GMT

I am just starting to work with Accumulo, and I originally started testing with the minicluster,
but now, I have stood up a standalone (single server) Accumulo instance.

I think that I got that working, but I would like to try the SimpleIngestClient example from
the minicluster with my new Accumulo instance.

So, I've been trying to compile the code for SimpleIngestClient that was in the minicluster.
 There were a lot of JARs that I had to add to the classpath, but i finally got the application
to compile, but when I tried to run it, after adding some more JARs to the classpath, I think
I am stuck.

The error I am getting is shown below. 

java -classpath /apps/accumulo-1.8.1/lib/accumulo-core.jar:/apps/hadoop-2.7.3/share/hadoop/common/hadoop-common-2.7.3.jar:/apps/hadoop-2.7.3/share/hadoop/common/lib/commons-configuration-1.6.jar:/apps/hadoop-2.7.3/share/hadoop/common/lib/slf4j-api-1.7.10.jar:/apps/hadoop-2.7.3/share/hadoop/common/lib/commons-lang-2.6.jar:/apps/hadoop-2.7.3/share/hadoop/hdfs/lib/commons-logging-1.1.3.jar:/apps/hadoop-2.7.3/share/hadoop/common/lib/commons-collections-3.2.2.jar:/apps/hadoop-2.7.3/share/hadoop/common/lib/guava-11.0.2.jar:/apps/zookeeper-3.4.10/contrib/fatjar/zookeeper-3.4.10-fatjar.jar:/apps/accumulo-1.8.1/lib/slf4j-api.jar:/apps/accumulo-1.8.1/lib/slf4j-log4j12.jar:./

++++++++++++++++++++++ In main: About to do authentication...
++++++++++++++++++++++ In main: About to instantiate new ZooKeeper instance...
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/apps/zookeeper-3.4.10/contrib/fatjar/zookeeper-3.4.10-fatjar.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/apps/accumulo-1.8.1/lib/slf4j-log4j12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See for an explanation.
Failed to instantiate SLF4J LoggerFactory
Reported exception:
java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
        at java.util.jar.JarVerifier.processEntry(
        at java.util.jar.JarVerifier.update(
        at java.util.jar.JarFile.initializeVerifier(
        at java.util.jar.JarFile.getInputStream(
        at sun.misc.URLClassPath$JarLoader$2.getInputStream(
        at sun.misc.Resource.cachedInputStream(
        at sun.misc.Resource.getByteBuffer(

Does anyone know what might be causing that exception, and also how I can get around it?


View raw message