Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Error while generating heatmap using Density process

Hi Sangeetha,

It shouldn't be a problem to run on a different machine, as long as you have appropriate network connectivity to the cluster.

You can try using the geomesa shaded jar, which would replace the files in the geomesa-gs-plugin.tgz and all the hbase/hadoop jars:

https://search.maven.org/remotecontent?filepath=org/locationtech/geomesa/geomesa-hbase-gs-plugin_2.11/2.4.0/geomesa-hbase-gs-plugin_2.11-2.4.0-shaded.jar

So from a vanilla geoserver, you would install just that jar and the geomesa-process-wps jar.

Thanks,

Emilio

On 5/13/20 9:29 AM, Sangeetha S wrote:
Hi Emilio,

An update: The GeoServer does not start if I replace hbase-shaded-client with hbase-client. There are too many errors.
Could you please guide me on how to proceed?

One more question, the GeoServer runs on a different machine from where Hadoop, HBase and GeoMesa have been installed. Does that make a difference?

Thanks,
Sangeetha

On Tue, May 12, 2020 at 5:30 PM Sangeetha S <sanggeoceg@xxxxxxxxx> wrote:
Hi Emilio,

Thanks for your reply. I have added to the GeoServer all jars present in $GEOMESA_HBASE_HOME/dist/gs-plugins/geomesa-hbase-gs-plugin_2.11-2.4.0-install.tar.gz as well as the hbase-shaded-client-1.4.12.jar and htrace-core-1.3.0-incubating.jar.

I'll try replacing hbase-shaded-client with hbase-client and let you know how it goes.

Thanks,
Sangeetha

On Mon, May 11, 2020 at 7:23 PM Emilio Lahr-Vivaz <elahrvivaz@xxxxxxxx> wrote:
Hello,

I think the issue comes from using the hbase-shaded client jar. Could you try using the non-shaded hbase client jar, and/or provide the list of jars you've added to geoserver?

Thanks,

Emilio

On 5/11/20 4:17 AM, Sangeetha S wrote:
Dear GeoMesa devs and users,

I am trying to generate a heatmap of line strings stored in an HBase table using GeoMesa density process. HBase is running on top of Hadoop HDFS. I have created a HBase datastore and published the layer in the GeoServer. When I use the standard line style, I am able to make WMS requests. However, when I execute the geomesa density process, I get the error the following error:

java.lang.NoSuchMethodException: org.locationtech.geomesa.hbase.proto.GeoMesaProto$GeoMesaCoprocessorService.newStub(org.apache.hadoop.hbase.shaded.com.google.protobuf.RpcChannel)

The full error log is attached with this email. I have installed Hadoop 2.7.1, HBase 1.4.12 and GeoMesa 2.4.0.
Could you please help me in finding what is going wrong and how to fix it? Please let me know if you need further information.

Thanks,
Sangeetha.

_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxx
To unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/geomesa-users

_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxx
To unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/geomesa-users


--
Sangeetha Shankar.


--
Sangeetha Shankar.

_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxx
To unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/geomesa-users


Back to the top