Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Spark-shell imports third-party dependencies

Shulou Source: shulou.com Published: 2022-06-03 06:43:08 10月03日 Update

For existing dependencies under spark, directly

Import SparkContext

But some third parties rely on it and need to introduce it from the outside.

Spark-shell-jars / home/wangtuntun/ download / nscala-time_2.10-2.12.0.jar

If you have multiple jar packages to import, separate them with commas

Tags: Third party multiple comma Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Redmi Docker Shulou Tech Info Huawei