Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] geomesa geoserver plugin

Hi Alvin,

Sorry for the issues.  There may be a Tomcat issue preventing you a class from loading, etc.  Feel free to send along your Tomcat logs in a private message and I can look through those quickly.

GeoServer discovered the available Vector and Raster datastores via SPI.  if you run 'jar tvf geomesa-plugin-1.1.0-rc.5-geoserver-plugin.jar | grep GeoMesaCoverageFormatFactory', you can make sure that the Factory which would be used to create a Raster datastore is available in the jar.

To debug things further, you can run 'jar tvf geomesa-plugin-1.1.0-rc.5-geoserver-plugin.jar | grep GridFormatFactorySpi' to extract just the SPI file related to Raster coverages.  The contents of that file should be two lines:

org.locationtech.geomesa.plugin.wms.CoverageFormatFactory
org.locationtech.geomesa.plugin.wcs.GeoMesaCoverageFormatFactory

With some of that output, we should be able to help run down the particular issues.

Cheers,

Jim

On 10/22/2015 08:00 PM, Alvin Ing wrote:

Dear Sir or Madam,

 

I have been tasked by my employer with investigating various spatial software solutions for the Hadoop platform. I have been evaluating the GeoMesa software and have come across a problem. I have followed your website’s instructions with regards to raster data, deploying the GeoMesa plugin to GeoServer with little success.

 

http://www.geomesa.org/geomesa-raster/

http://www.geomesa.org/geomesa-deployment/

 

After following the instructions as described in the above URLS, I logged into GeoServer’s UI and attempted to add a data store. Unfortunately, the “GeoMesa Coverage Format” selection did not appear anywhere under the Raster Data Sources section. Nor did the “Accumulo (GeoMesa)” selection appear under the Vector Data Sources section. I thought this might be due to my installing Accumulo 1.6.1 on our cluster. So I elected to use the jar files that came with my Accumulo install. For our Hadoop cluster, we used Ambari 1.7 and installed HDP 2.2.

 

The jar files copied to /usr/share/tomcat/webapps/geoserver/WEB-INF/lib are as follows:

 

accumulo-core.jar

accumulo-fate.jar

accumulo-trace.jar

hadoop-auth.jar

hadoop-client.jar

hadoop-common.jar

hadoop-hdfs.jar

hadoop-mapreduce-client-app.jar

hadoop-mapreduce-client-common.jar

hadoop-mapreduce-client-core.jar

hadoop-mapreduce-client-jobclient.jar

hadoop-mapreduce-client-shuffle.jar

libthrift.jar

commons-configuration-1.6.jar

commons-lang-2.4.jar

geomesa-plugin-1.1.0-rc.5-geoserver-plugin.jar

 

I also installed the files associated with the  WPS plugin for Geoserver 2.5.2.

 

The geoserver.log file did not reveal any issues, but I suspected there still were missing jar files. So I went into the geomesa lib directory and copied all the jar files into the /usr/share/tomcat/webapps/geoserver/WEB-INF/lib directory. I restarted Tomcat (version 7) and proceeded to the Add Data Store page in the GeoServer UI. To my delight, the “Accumulo (GeoMesa)” selection appeared under the Vector Data Sources section. Unfortunately, the “GeoMesa Coverage Format” selection still did not appear under Raster Data Sources. So I am still unable to register the raster pyramid that I ingested into GeoMesa/Accumulo.

 

Regards,

A

 

 

 

 


  ­­  

_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://www.locationtech.org/mailman/listinfo/geomesa-users


Back to the top