accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Hodapp <>
Subject Place a fat Jar file in ACCUMULO_HOME/lib/ext
Date Thu, 18 May 2017 12:50:51 GMT
Hi everyone,

I've tried to deploy my Iterator suite together with their dependencies in one single (fat)
Jar file.
But then I'll get errors like these:

    [vfs.AccumuloReloadingVFSClassLoader] ERROR: Could not open Jar file "/export/accumulo/install/accumulo-1.8.0/lib/ext/my.jar".
    org.apache.commons.vfs2.FileSystemException: Could not open Jar file "/export/accumulo/install/accumulo-1.8.0/lib/ext/my.jar".
		at org.apache.commons.vfs2.provider.jar.JarFileSystem.createZipFile(
		at org.apache.commons.vfs2.provider.jar.JarFileSystem.getZipFile(
		at org.apache.commons.vfs2.provider.AbstractVfsContainer.addComponent(
		at org.apache.commons.vfs2.provider.AbstractFileProvider.addFileSystem(
		at org.apache.commons.vfs2.provider.AbstractLayeredFileProvider.createFileSystem(
		at org.apache.commons.vfs2.impl.DefaultFileSystemManager.createFileSystem(
		at org.apache.commons.vfs2.impl.DefaultFileSystemManager.createFileSystem(
		at org.apache.commons.vfs2.impl.VFSClassLoader.addFileObjects(
		at org.apache.commons.vfs2.impl.VFSClassLoader.<init>(
		at org.apache.accumulo.start.classloader.vfs.AccumuloReloadingVFSClassLoader$
		at java.util.concurrent.ThreadPoolExecutor.runWorker(
		at java.util.concurrent.ThreadPoolExecutor$
    Caused by: error in opening zip file
		at Method)
		at java.util.jar.JarFile.<init>(
		at java.util.jar.JarFile.<init>(
		at org.apache.commons.vfs2.provider.jar.JarFileSystem.createZipFile(

If I place "thin" Jars into the lib/ext folder there will be no problems.
But I think it is cumbersome to manually disassemble the dependency tree into (many) "thin"
Jar files...

Has anybody an idea how to fix that?

Thanks and kind regards,

Sven Hodapp, M.Sc.,
Fraunhofer Institute for Algorithms and Scientific Computing SCAI,
Department of Bioinformatics
Schloss Birlinghoven, 53754 Sankt Augustin, Germany

View raw message