You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (JIRA)" <ji...@apache.org> on 2018/11/15 15:49:00 UTC
[jira] [Created] (SPARK-26076) Revise ambiguous error message from
load-spark-env.sh
Gengliang Wang created SPARK-26076:
--------------------------------------
Summary: 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
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org