JimShady opened a new issue, #1312:
URL: https://github.com/apache/sedona/issues/1312

   I am updating our Databricks init script for apache-sedona 1.5.1. This is my 
attempt:
   
   ```
   #!/bin/bash
   
   # Install Apache Sedona
   # Reference https://sedona.apache.org/setup/databricks/
   # On cluster startup, this script downloads the dependencies from Maven into 
DBFS,
   # copies the Sedona jars to the cluster's default jar directory
   
   cat <<EOF > /databricks/driver/conf/01-custom-spark-driver-defaults.conf
   [driver] {
     "spark.serializer" = "org.apache.spark.serializer.KryoSerializer"
     "spark.kryo.registrator" = 
"org.apache.sedona.core.serde.SedonaKryoRegistrator"
     "spark.sql.extensions" = 
"org.apache.sedona.viz.sql.SedonaVizExtensions,org.apache.sedona.sql.SedonaSqlExtensions"
     "sedona.global.index" = "true"
     "sedona.global.indextype" = "quadtree"
     "sedona.join.gridtype" = "kdbtree"
     "spark.databricks.io.cache.enabled" = "true"
     "spark.sql.execution.arrow.enabled" = "false"
     "sedona.global.charset" = "utf8"
   }
   EOF
   
   # Create JAR directory for Sedona
   mkdir -p /dbfs/FileStore/jars/sedona/1.5.1
   
   # Download the dependencies from Maven into DBFS
   curl -o /dbfs/FileStore/jars/sedona/1.5.1/geotools-wrapper-1.5.1-28.2.jar 
"https://repo1.maven.org/maven2/org/datasyslab/geotools-wrapper/1.5.1-28.2/geotools-wrapper-1.5.1-28.2.jar";
   curl -o 
/dbfs/FileStore/jars/sedona/1.5.1/sedona-spark-shaded-3.4_2.12-1.5.1.jar 
"https://repo1.maven.org/maven2/org/apache/sedona/sedona-spark-shaded-3.4_2.12/1.5.1/sedona-spark-shaded-3.4_2.12-1.5.1.jar";
   curl -o /dbfs/FileStore/jars/sedona/1.5.1/sedona-viz-3.0_2.12-1.5.0.jar 
"https://repo1.maven.org/maven2/org/apache/sedona/sedona-viz-3.0_2.12/1.5.0/sedona-viz-3.0_2.12-1.5.0.jar";
   
   # Copy the Sedona jars to the cluster's default jar directory.
   cp /dbfs/FileStore/jars/sedona/1.5.1/*.jar /databricks/jars
   
   python -m pip install --upgrade pip
   pip install apache-sedona
   ```
   
   I am unsure about this line:
   
   `curl -o /dbfs/FileStore/jars/sedona/1.5.1/sedona-viz-3.0_2.12-1.5.0.jar 
"https://repo1.maven.org/maven2/org/apache/sedona/sedona-viz-3.0_2.12/1.5.0/sedona-viz-3.0_2.12-1.5.0.jar"`
   
   Because there does not seem to be sedona-viz for 1.5.1? What should I put 
here, or should I just remove it?
   
   Thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sedona.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to