NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less

后端 未结 1 555
清歌不尽
清歌不尽 2021-01-19 06:10

I have seen many answers related to this error, but all re-directing to scala versions etc. But I think my case is different.

I have a remote spark master-worker clu

1条回答
  •  北恋
    北恋 (楼主)
    2021-01-19 06:25

    It is related to Scala version.

    Your cluster has Scala 2.10, but Spark dependency is

    spark-core_2.11
    

    which means Scala 2.11

    Change it to 2.10 and will work

    0 讨论(0)
提交回复
热议问题