[
https://issues.apache.org/jira/browse/SPARK-32020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-32020.
----------------------------------
Fix Version/s: 3.1.0
3.0.1
Resolution: Fixed
Issue resolved by pull request 28825
[https://github.com/apache/spark/pull/28825]
> Refactor the logic to compute SPARK_HOME into a common place.
> -------------------------------------------------------------
>
> Key: SPARK-32020
> URL: https://issues.apache.org/jira/browse/SPARK-32020
> Project: Spark
> Issue Type: Test
> Components: SQL
> Affects Versions: 3.0.1
> Reporter: Dilip Biswal
> Assignee: Dilip Biswal
> Priority: Minor
> Fix For: 3.0.1, 3.1.0
>
>
> Currently several unit tests inline the logic to compute spark home. Secondly
> the error that is thrown when spark home is not set prints the entire
> environment making it difficult to find the actual root cause which is "spark
> home is not set".
> 1. Refactor the code to compute the spark home in a common place
> (SQLHelper.scala)
> 2. Change the error message to make it more readable.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]