Skip to content

Instantly share code, notes, and snippets.

@wnina
Last active March 4, 2016 16:39
Show Gist options
  • Save wnina/c40cc7e2b1c1d6afede8 to your computer and use it in GitHub Desktop.
Save wnina/c40cc7e2b1c1d6afede8 to your computer and use it in GitHub Desktop.
hduser@master:~/Desktop/Proyecto-Tunki/test-geowave/scripts/lib$ java -cp geowave-deploy-0.9.0-tools.jar:geowave-format-raster-0.9.0.jar:geowave-deploy-0.9.0-accumulo-singlejar.jar:geowave-datastore-accumulo-0.9.0.jar mil.nga.giat.geowave.core.cli.GeoWaveMain -localingest -b ~/Desktop/Proyecto-Tunki/datastore/ -f geotools-raster -datastore accumulo -user root -password 1234 -instance wetland -gwNamespace nswetland -zookeeper localhost:2181
29 Feb 12:54:46 WARN [client.ClientConfiguration] - Found no client.conf in default paths. Using default client configuration values.
Error while parsing JAI registry file "file:/home/hduser/Desktop/Proyecto-Tunki/test-geowave/scripts/lib/geowave-deploy-0.9.0-accumulo-singlejar.jar!/META-INF/registryFile.jai" :
Error in registry file at line number #4
A descriptor is already registered against the name "VectorBinarize" under registry mode "rendered"
Feb 29, 2016 12:54:46 PM org.geotools.factory.FactoryRegistry scanForPlugins
WARNING: Can't load a service for category "GridFormatFactorySpi". Cause is "ServiceConfigurationError: org.geotools.coverage.grid.io.GridFormatFactorySpi: Provider org.geotools.gce.imagemosaic.ImageMosaicFormatFactory could not be instantiated".
java.util.ServiceConfigurationError: org.geotools.coverage.grid.io.GridFormatFactorySpi: Provider org.geotools.gce.imagemosaic.ImageMosaicFormatFactory could not be instantiated
at java.util.ServiceLoader.fail(ServiceLoader.java:224)
at java.util.ServiceLoader.access$100(ServiceLoader.java:181)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377)
at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
at org.geotools.factory.FactoryRegistry.register(FactoryRegistry.java:826)
at org.geotools.factory.FactoryRegistry.scanForPlugins(FactoryRegistry.java:772)
at org.geotools.factory.FactoryRegistry.scanForPlugins(FactoryRegistry.java:750)
at org.geotools.coverage.grid.io.GridFormatFinder.scanForPlugins(GridFormatFinder.java:122)
at org.geotools.coverage.grid.io.GridFormatFinder.getAvailableFormats(GridFormatFinder.java:85)
at org.geotools.coverage.grid.io.GridFormatFinder.findFormats(GridFormatFinder.java:178)
at org.geotools.coverage.grid.io.GridFormatFinder.findFormat(GridFormatFinder.java:236)
at org.geotools.coverage.grid.io.GridFormatFinder.findFormat(GridFormatFinder.java:216)
at mil.nga.giat.geowave.format.geotools.raster.GeoToolsRasterDataStoreIngestPlugin.supportsFile(GeoToolsRasterDataStoreIngestPlugin.java:66)
at mil.nga.giat.geowave.core.ingest.local.LocalPluginFileVisitor$PluginVisitor.supportsFile(LocalPluginFileVisitor.java:74)
at mil.nga.giat.geowave.core.ingest.local.LocalPluginFileVisitor.visitFile(LocalPluginFileVisitor.java:125)
at mil.nga.giat.geowave.core.ingest.local.LocalPluginFileVisitor.visitFile(LocalPluginFileVisitor.java:30)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:135)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:199)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:69)
at java.nio.file.Files.walkFileTree(Files.java:2602)
at java.nio.file.Files.walkFileTree(Files.java:2635)
at mil.nga.giat.geowave.core.ingest.local.AbstractLocalFileDriver.processInput(AbstractLocalFileDriver.java:60)
at mil.nga.giat.geowave.core.ingest.local.LocalFileIngestDriver.runInternal(LocalFileIngestDriver.java:109)
at mil.nga.giat.geowave.core.ingest.AbstractIngestCommandLineDriver.runOperation(AbstractIngestCommandLineDriver.java:68)
at mil.nga.giat.geowave.core.cli.GeoWaveMain.run(GeoWaveMain.java:56)
at mil.nga.giat.geowave.core.cli.GeoWaveMain.main(GeoWaveMain.java:23)
Caused by: java.util.ServiceConfigurationError: javax.imageio.spi.ImageOutputStreamSpi: Provider com.sun.media.imageioimpl.stream.ChannelImageOutputStreamSpi could not be instantiated
@wnina
Copy link
Author

wnina commented Mar 4, 2016

the solution was install jai-lib and jai-imageio-lib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment