报错

Spark Streaming‘s Kafka libraries not found in class path

Spark Streaming’s Kafka libraries not found in class path. Try one of the following.

缺少spark-streaming-kafka-0-8:2.4.3 …该jar包

jar包的下载地址
Spark Streaming‘s Kafka libraries not found in class path

将下载的jar包放在
/opt/anaconda3/envs/python37/lib/python3.7/site-packages/pyspark/jars
目录下
如果没有使用anaconda, 而是pip3
但是不知道放哪里 ,通过下图方法查找
Spark Streaming‘s Kafka libraries not found in class path
放到
/usr/local/python3/lib/python3.5/site-packages/pyspark/jars
目录下

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-02
  • 2021-06-24
  • 2021-05-25
  • 2022-12-23
猜你喜欢
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案