Jayapriya Surendran
Jayapriya Surendran

Reputation: 1

How to add our custom library to Apache Spark?

I want to add GeoSpark library to Apache Spark. How do I add GeoSpark library from Spark shell?

Upvotes: 0

Views: 922

Answers (1)

Shawn Guo
Shawn Guo

Reputation: 3228

$ ./bin/spark-shell --master local[4] --jars code.jar

--jars option will distribute your local custom jar to cluster automatically.

Upvotes: 3

Related Questions