spark-streaming-kafka-0-8_2.12; 2.4.4中未解决的依赖性 [英] Unresolved dependency in spark-streaming-kafka-0-8_2.12;2.4.4

查看:84
本文介绍了spark-streaming-kafka-0-8_2.12; 2.4.4中未解决的依赖性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Spark 2.4.4,并且在添加spark时出现未解决的依赖项错误,请提交以下程序包:spark-streaming-kafka-0-8_2.12; 2.4.4

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

我的提交代码:

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

推荐答案

我在spark 2.4.4中遇到了相同的问题.我认为这是Scala版本的包装中的错字.因此,使用以下命令:

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

这篇关于spark-streaming-kafka-0-8_2.12; 2.4.4中未解决的依赖性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆