spark._jvm. \ TypeError: 'JavaPackage' object is not callable

1,409 views
Skip to first unread message

Baur BaurRitto

unread,
Jan 31, 2020, 9:08:41 AM1/31/20
to GeoSpark Discussion Board

Hello everyone!
Can anybody help me with this error:

File "/root/anaconda3/lib/python3.7/site-packages/geo_pyspark/register/geo_registrator.py", line 27, in register
    spark._jvm. \
TypeError: 'JavaPackage' object is not callable

Paweł Kociński

unread,
Feb 2, 2020, 10:25:06 AM2/2/20
to GeoSpark Discussion Board
Hi,
You are missing GeoSpark jar files. You can find them in geo_pyspark/jars/spark_version/. You can copy them directly to $SPARK_HOME/jars directory or use upload_jars function from geo_pyspark.register. Or add them in SparkConfig.

Regards,
Paweł
Reply all
Reply to author
Forward
0 new messages