[ https://issues.apache.org/jira/browse/SPARK-32020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-32020: ------------------------------------ Assignee: (was: Apache Spark) > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org