背景

pyspark streaming 处理Kafka生产的数据时报错:
Spark Streaming’s Kafka libraries not found in class path. Try one of the following.
Spark Streaming's Kafka libraries not found in class path

reason

缺少 <spark-streaming-kafka-0-8-assembly.jar> 包

solution

包下载链接
Spark Streaming's Kafka libraries not found in class path
将下载的jar包放在
/opt/anaconda3/envs/python37/lib/python3.7/site-packages/pyspark/jars
目录下

相关文章:

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