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

Ruifeng Zheng resolved SPARK-50844.
-----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

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

> make ML model to be loaded by ServiceLoader
> -------------------------------------------
>
>                 Key: SPARK-50844
>                 URL: https://issues.apache.org/jira/browse/SPARK-50844
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Connect, ML
>    Affects Versions: 4.0.0, 4.1
>            Reporter: Bobby Wang
>            Assignee: Bobby Wang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> Currently, Since most of models from Spark.ml doesn't have a public 
> no-arguments constructor which results in the model couldn't be loaded by 
> ServiceLoader. 
> Currently, in order to load a model in connect ML, we're using reflection way 
> which seems a little bit of unsafe.
>  
> Refer to https://github.com/apache/spark/pull/49503#discussion_r1916232428



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to