I. A
I. A

Reputation: 2312

How can I download GeoMesa on Azure Databricks?

I am interested in performing Big Data Geospatial analysis on Apache Spark. My data is stored in Azure data lake, and I am restricted to use Azure Databricks. Is there anyway to download Geomesa on Databrick? Moreover, I would like to use the python api; what should I do?

Any help is much appreciated!!

Upvotes: 2

Views: 2133

Answers (4)

Michael Johns
Michael Johns

Reputation: 36

CCRi (backers of geomesa) has generated spark runtime friendly build. A shaded fat jar for GeoMesa (current version is 3.3.0) is available at the maven coordinates org.locationtech.geomesa:geomesa-gt-spark-runtime_2.12:3.3.0 which for Databricks.​ ​S​ince it is shaded, users can add maven exclusions to get it to cleanly install which would be "jline:*,org.geotools:*" added in Databricks library UI without quotes​.

Upvotes: 1

venus
venus

Reputation: 1258

You can install GeoMesa Library directly into your Databricks cluster.

1) Select the Libraries option then a new window will open.

enter image description here

2) Select the maven option and click on 'search packages' option next images

3) Search the required library and select the library/jar version and choose the 'select' option.
Thats it. search the jar/library in maven repository

After the installation of the library/jar, restart your cluster. Now import the required classes in your Databricks notebook.
I hope it helps. Happy Coding..

Upvotes: 4

CHEEKATLAPRADEEP
CHEEKATLAPRADEEP

Reputation: 12788

Running GeoMesa within Databricks is not straightforward:

  • GeoMesa’s artifacts are published on Maven Central, but require dependencies that are only available on third-party repositories, which is cumbersome given Databricks’ library import mechanism.
  • GeoMesa conflicts with an older version of the scalalogging library present in the Databricks runtime (the infamous JAR Hell problem).

Reference: Use GeoMesa in Databricks

Hope this helps.

Upvotes: 0

Emilio Lahr-Vivaz
Emilio Lahr-Vivaz

Reputation: 1634

As a starting point, without knowing any more details, you should be able to use the GeoMesa filesystem data store against files stored in WASB.

Upvotes: 1

Related Questions