You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Richard Wilkinson (JIRA)" <ji...@apache.org> on 2018/04/13 12:48:00 UTC

[jira] [Updated] (SPARK-23978) Kryo much slower when mllib jar not on classpath

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

Richard Wilkinson updated SPARK-23978:
--------------------------------------
    Attachment: kryo_stats.png

> Kryo much slower when mllib jar not on classpath
> ------------------------------------------------
>
>                 Key: SPARK-23978
>                 URL: https://issues.apache.org/jira/browse/SPARK-23978
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.0
>         Environment: Windows 10, Java 8
>            Reporter: Richard Wilkinson
>            Priority: Major
>         Attachments: kryo_stats.png
>
>
> Spark 2.3 added a bunch of org.apache.spark.ml and org.apache.spark.mllib classes to the kryo registration, but it does this via class.forName.
> If the mllib jar is not on the classpath, this can be very slow.
> My app, which is using GraphX connected components function is 2x slower in 2.3 than 2.2.1
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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