accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <>
Subject Re: Trying to get SimpleIngestClient example working with Accumulo
Date Sat, 20 May 2017 19:07:29 GMT
Have you considered using a tool like Apache Maven to handle dependency 
management for you? It's pretty uncommon these days to manually compile 
your code. Another option is using ant+ivy.

If you are repackaging JARs, you may have run into a case where the jars 
are sealed (we've started doing this in Accumulo a while back). The 
error sounds like it's telling you the checksum for the Manifest file in 
a JAR is invalid. This means that either the checksum was replaced or 
you altered the Manifest file itself (and it now has a new checksum). 
This one is in your camp to figure out..

o haya wrote:
> Hi,
> 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
>          at
>          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(
>          at
>          at$100(
>          at$
> Does anyone know what might be causing that exception, and also how I can get around
> Thanks,
> Jim

View raw message