[ 
https://issues.apache.org/jira/browse/SPARK-26076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-26076.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 23049
[https://github.com/apache/spark/pull/23049]

> Revise ambiguous error message from load-spark-env.sh
> -----------------------------------------------------
>
>                 Key: SPARK-26076
>                 URL: https://issues.apache.org/jira/browse/SPARK-26076
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 3.0.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Trivial
>             Fix For: 3.0.0
>
>
> When I try to run scripts (e.g. `./sbin/start-history-server.sh -h` in latest 
> master, I got such error:
> ```
> Presence of build for multiple Scala versions detected.
> Either clean one of them or, export SPARK_SCALA_VERSION in spark-env.sh.
> ```
> The error message is quite confusing and there is no `spark-env.sh` in our 
> code base. 
> As now with https://github.com/apache/spark/pull/22967, we can revise the 
> error message as following:
> ```
> Presence of build for both scala versions(SCALA 2.11 and SCALA 2.12) detected.
> Either clean one of them or, export SPARK_SCALA_VERSION=2.12 in 
> load-spark-env.sh.
> ```



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to