Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Spark example in Java

Hello,

I'm not aware of any examples... we do have a java wrapper for our SpatialRDDProvider class though. It uses org.apache.spark.api.java.JavaRDD instead of the normal scala RDD:

https://github.com/locationtech/geomesa/blob/master/geomesa-spark/geomesa-spark-core/src/main/scala/org/locationtech/geomesa/spark/api/java/JavaGeoMesaSpark.scala

I believe it is used for python interoperability though, so YMMV.

Thanks,

Emilio

On 02/22/2018 11:22 PM, David Boyd wrote:
All:

   Being lazy here.   Does anyone have a working example of
using Geomesa with spark written in Java?

I have hacked and used the Scala examples, but for production
I need to use Java.




Back to the top