apache / sedona

A cluster computing framework for processing large-scale geospatial data

Home Page:https://sedona.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

what can i run it with no network?

liuhao0826 opened this issue · comments

# sedona_config = SedonaContext.builder(). \
#     master("local[*]"). \
#     config("spark.jars", "./spark-doris-connector-3.4_2.12-1.3.0.jar"). \
#     config('spark.jars.packages',
#            'org.apache.sedona:sedona-spark-3.4_2.12:1.5.1,'
#            'org.datasyslab:geotools-wrapper:1.5.1-28.2'). \
#     config('spark.jars.repositories', 'https://artifacts.unidata.ucar.edu/repository/unidata-all'). \
#     getOrCreate()

i should to change this startconfig,because my development with no network,so i change this to:
sedona_config = SedonaContext.builder().
master("local[*]").
config("spark.jars",
"./spark-doris-connector-3.4_2.12-1.3.0.jar,./sedona-spark-3.4_2.12-1.5.1.jar,"
"./geotools-wrapper-1.5.1-28.2.jar").
getOrCreate()
but its run to :org.apache.spark.SparkException: Failed to register classes with Kryo
how to solve it?

@liuhao0826 You should use sedona-spark-shaded-3.4_2.12:1.5.1 since you have no internet

with your approach,solved it current,thanks for you @jiayuasu