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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.