(run-main-0) java.lang.NoSuchMethodError

前端 未结 9 1498
孤城傲影
孤城傲影 2020-12-15 05:11

I got a problem when I used sbt to run a spark job, I have finish compile, but when I run the command run, I got the problem below

 [er         


        
9条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-15 05:51

    I've the same issue but where do i alter the scala-library version?

    Installation (on Ubuntu 16.04):

    sudo apt-get install oracle-java8-installer
    wget http://d3kbcqa49mib13.cloudfront.net/spark-2.0.2-bin-hadoop2.7.tgz && tar xvf spark-2.0.2-bin-hadoop2.7.tgz
    pip install toree && jupyter toree install
    

    So when I start with a notebook it tells me that I use a different scala version. But I haven't installed anything else. screenshot + scala version

    My spark jars folder contains an scala-library-2.11.8.jar file. But how tell torree to use that (or another) file for scala.

提交回复
热议问题