Skip to main content

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

Hi,

I followed your advice and added hadoop-yarn, hadoop-httpfs and hadoop-hdfs jars and it solved one of my issues.

I now have access to the cluster info under the Hadoop status page, however the Data stores page still raises this error :
WARN:  Nested in org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is org.locationtech.geomesa.shade.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/locationtech/geomesa/shade/commons/httpclient/HttpClient:
org.locationtech.geomesa.shade.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/locationtech/geomesa/shade/commons/httpclient/HttpClient
        at org.locationtech.geomesa.shade.google.common.cache.LocalCache$Segment.get(LocalCache.java:2232)

Regards,

Frank

-----Message d'origine-----
De : geomesa-users-bounces@xxxxxxxxxxxxxxxx [mailto:geomesa-users-bounces@xxxxxxxxxxxxxxxx] De la part de Chris Eichelberger
Envoyé : 25 mai 2015 11:53
À : Geomesa User discussions
Objet : Re: [geomesa-users] Problem with geomesa geoserver plugin installation

Frank,

I may not remember this correctly, but I thought that the last time I installed GeoMesa on Hadoop 2.6 I also needed some of the hadoop-yarn JARs in the GeoServer WEB-INF/lib directory.  That may be worth giving a shot.

Sincerely,
  -- Chris


On Thu, 2015-05-21 at 18:19 -0400, Gouineau wrote:
> Hi Chris,
> 
> This is the jar i am using, I compiled the branch for Accumulo 1.6 and got this plugin :
> 	geomesa-plugin-accumulo1.6-1.0.0-rc.3-SNAPSHOT-geoserver-plugin.jar 
> 24M
> 
> I have all the dependent jars but for Hadoop 2.6.
> I am working with Cloudera, CDH 5.4.0 so I took all jars from the lib inside cloudera folder.
> 
> Accumulo:
> 	accumulo-core.jar
> 	accumulo-fate.jar
> 	accumulo-trace.jar
> Zookeeper:
> 	zookeeper-3.4.5-cdh5.4.0.jar
> Hadoop :
> 	hadoop-auth-2.6.0-cdh5.4.0.jar
> 	hadoop-client-2.6.0.jar
> 	hadoop-common-2.6.0-cdh5.4.0.jar
> 	hadoop-hdfs-2.6.0-cdh5.4.0.jar
> 	hadoop-mapreduce-client-app-2.6.0-cdh5.4.0.jar
> 	hadoop-mapreduce-client-common-2.6.0-cdh5.4.0.jar
> 	hadoop-mapreduce-client-core-2.6.0-cdh5.4.0.jar
> 	hadoop-mapreduce-client-jobclient-2.6.0-cdh5.4.0.jar
> 	hadoop-mapreduce-client-shuffle-2.6.0-cdh5.4.0.jar
> 
> Thanks for you answer,
> 
> Frank
> 
> -----Message d'origine-----
> De : geomesa-users-bounces@xxxxxxxxxxxxxxxx 
> [mailto:geomesa-users-bounces@xxxxxxxxxxxxxxxx] De la part de Chris 
> Eichelberger Envoyé : 21 mai 2015 16:34 À : Geomesa User discussions 
> Cc : Thomas.Triplet@xxxxxxx Objet : Re: [geomesa-users] Problem with 
> geomesa geoserver plugin installation
> 
> Frank,
> 
> There are at least two possibilities that leap out to us here:
> 
> 1.  The GeoMesa build process makes two GeoServer plugin JARs:
>       geomesa-plugin-accumulo1.5-1.0.0-rc.7-geoserver-plugin.jar
>       geomesa-plugin-accumulo1.5-1.0.0-rc.7.jar
> 
>     You want the former (with the longer name and the much
>     larger file size), not the latter.
> 
> 2.  Are there any of the other dependent JARs that are missing from your geoserver/WEB-INF/lib directory as listed in the GeoMesa Deployment Guide (http://www.geomesa.org/geomesa-deployment/)?
> 
> Please let us know if neither of these suggestions helps.
> 
> Thanks!
> 
> Sincerely,
>   -- Chris
> 
> 
> On Thu, 2015-05-21 at 16:18 -0400, Gouineau wrote:
> > Hi,
> > 
> >  
> > 
> > I’m having trouble instaling geomesa plugin to geoserver.
> > 
> > Geoserver is running without any error until I go to any page of 
> > GeoMesa where I get this error :
> > 
> >  
> > 
> > On the “Data Stores” page :
> > 
> > 2015-05-21 16:15:16.905::WARN:  /geoserver/geomesa/ingest/rate
> > 
> > org.locationtech.geomesa.shade.google.common.util.concurrent.Executi
> > on
> > Error: java.lang.NoClassDefFoundError: 
> > org/locationtech/geomesa/shade/commons/httpclient/HttpClient
> > 
> >         at
> > org.locationtech.geomesa.shade.google.common.cache.LocalCache
> > $Segment.get(LocalCache.java:2232)
> > 
> >  
> > 
> >  
> > 
> > On the “Hadoop Status” page : 
> > 
> > org.apache.wicket.WicketRuntimeException: Can't instantiate page 
> > using constructor public
> > org.locationtech.geomesa.plugin.ui.HadoopStatusPage()
> > 
> >        at
> > org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageF
> > ac
> > tory.java:212)
> > 
> > 
> > 
> >  
> > 
> > Do you have any idea of what is happening ?
> > 
> >  
> > 
> > Also, do you plan on creating a virtual machine with 
> > geoserver+geomesa plugin or using Docker ?
> > 
> >  
> > 
> > Thanks,
> > 
> >  
> > 
> > Frank Gouineau
> > 
> > 
> > _______________________________________________
> > 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
> 
> 
> _______________________________________________
> 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
> 
> 
> _______________________________________________
> 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


_______________________________________________
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