You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/06/18 02:46:00 UTC

[jira] [Commented] (SPARK-32020) Refactor the logic to compute SPARK_HOME into a common place.

    [ https://issues.apache.org/jira/browse/SPARK-32020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17138965#comment-17138965 ] 

Apache Spark commented on SPARK-32020:
--------------------------------------

User 'dilipbiswal' has created a pull request for this issue:
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
>            Priority: Minor
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org