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

Hyukjin Kwon resolved SPARK-28736.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 25475
[https://github.com/apache/spark/pull/25475]

> pyspark.mllib.clustering fails on JDK11
> ---------------------------------------
>
>                 Key: SPARK-28736
>                 URL: https://issues.apache.org/jira/browse/SPARK-28736
>             Project: Spark
>          Issue Type: Sub-task
>          Components: MLlib, PySpark
>    Affects Versions: 3.0.0
>            Reporter: Dongjoon Hyun
>            Assignee: Hyukjin Kwon
>            Priority: Major
>             Fix For: 3.0.0
>
>
> Build Spark and run PySpark UT with JDK11.
> {code}
> $ build/sbt -Phadoop-3.2 test:package
> $ python/run-tests --testnames 'pyspark.mllib.clustering' 
> --python-executables python
> ...
> File 
> "/Users/dongjoon/APACHE/spark-master/python/pyspark/mllib/clustering.py", 
> line 386, in __main__.GaussianMixtureModel
> Failed example:
>     abs(softPredicted[0] - 1.0) < 0.001
> Expected:
>     True
> Got:
>     False
> **********************************************************************
> File 
> "/Users/dongjoon/APACHE/spark-master/python/pyspark/mllib/clustering.py", 
> line 388, in __main__.GaussianMixtureModel
> Failed example:
>     abs(softPredicted[1] - 0.0) < 0.001
> Expected:
>     True
> Got:
>     False
> **********************************************************************
>    2 of  31 in __main__.GaussianMixtureModel
> ***Test Failed*** 2 failures.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to