spark-class: line 71…No such file or directory

后端 未结 2 1592
遥遥无期
遥遥无期 2021-02-15 16:40

I\'ve installed Spark 2.1.1 on Ubuntu and no matter what I do, it doesn\'t seem to agree with the java path. When I run \"spark-submit --version\" or \"spark-shell\" I get the f

2条回答
  •  名媛妹妹
    2021-02-15 17:08

    In the /etc/environment file replace

    JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/ 
    

    with

    JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/jre/
    

    then execute

    source /etc/environment 
    

    also RUNNER="${JAVA_HOME}/bin/java" should be kept as it is

提交回复
热议问题