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

Dongjoon Hyun updated SPARK-27544:
----------------------------------
    Description: 
Since SPARK-27274 deprecated Scala-2.11 at Spark 2.4.1, we need to test 
Scala-2.12 more. This issue aims to fix the Python test script on Scala-2.12 
build.

{code:java}
$ dev/change-scala-version.sh 2.12

$ build/sbt -Pscala-2.12 package

$ python/run-tests.py --python-executables python2.7 --modules pyspark-sql
Traceback (most recent call last):
File "python/run-tests.py", line 69, in <module>
raise Exception("Cannot find assembly build directory, please build Spark 
first.")
Exception: Cannot find assembly build directory, please build Spark first.{code}

  was:
{code:java}
$ dev/change-scala-version.sh 2.12

$ build/sbt -Pscala-2.12 package

$ python/run-tests.py --python-executables python2.7 --modules pyspark-sql
Traceback (most recent call last):
File "python/run-tests.py", line 69, in <module>
raise Exception("Cannot find assembly build directory, please build Spark 
first.")
Exception: Cannot find assembly build directory, please build Spark first.{code}


> Fix Python test script to work on Scala-2.12 build
> --------------------------------------------------
>
>                 Key: SPARK-27544
>                 URL: https://issues.apache.org/jira/browse/SPARK-27544
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark, Tests
>    Affects Versions: 2.4.0, 2.4.1, 2.4.2
>            Reporter: Dongjoon Hyun
>            Priority: Minor
>
> Since SPARK-27274 deprecated Scala-2.11 at Spark 2.4.1, we need to test 
> Scala-2.12 more. This issue aims to fix the Python test script on Scala-2.12 
> build.
> {code:java}
> $ dev/change-scala-version.sh 2.12
> $ build/sbt -Pscala-2.12 package
> $ python/run-tests.py --python-executables python2.7 --modules pyspark-sql
> Traceback (most recent call last):
> File "python/run-tests.py", line 69, in <module>
> raise Exception("Cannot find assembly build directory, please build Spark 
> first.")
> Exception: Cannot find assembly build directory, please build Spark 
> first.{code}



--
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