Home Adding jar or package to Spylon Kernel
Post
Cancel

Adding jar or package to Spylon Kernel

1
2
3
%%init_spark
launcher.jars = ["/some/local/path/to/a/file.jar"]
launcher.packages = ["maven:coordinates"]

maven coordicates를 구성하는 방법은 [groupId]:[artifactId]:[version] 으로 구성하면된다. 예시는 다음과 같다.

1
2
%%init_spark
launcher.packages = ["org.apache.spark:spark-sql-kafka-0-10_2.12:3.1.1"]

SOURCE

This post is licensed under CC BY 4.0 by the author.

Trending Tags