Unresolved dependency in spark-streaming-kafka-0-8_2.12;2.4.4

心已入冬 提交于 2020-01-24 21:50:40

问题


I use Spark 2.4.4 and I have unresolved dependency error when I add in spark submit the following package: spark-streaming-kafka-0-8_2.12;2.4.4

My submit code:

./bin/spark-submit --packages org.apache.spark:spark-streaming-kafka-0-8_2.12:2.4.4

回答1:


I had the same issue with spark 2.4.4. I think it's a typo in the Scala version of the package. So, use the following:

--packages org.apache.spark:spark-streaming-kafka-0-8_2.11:2.4.4


来源:https://stackoverflow.com/questions/57962389/unresolved-dependency-in-spark-streaming-kafka-0-8-2-122-4-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!