[
https://issues.apache.org/jira/browse/SPARK-50844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruifeng Zheng reassigned SPARK-50844:
-------------------------------------
Assignee: Bobby Wang
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]