You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Bobby Wang (Jira)" <ji...@apache.org> on 2025/01/21 02:39:00 UTC

[jira] [Created] (SPARK-50897) Don't instantiate the class when loading by ServiceLoader

Bobby Wang created SPARK-50897:
----------------------------------

             Summary: Don't instantiate the class when loading by ServiceLoader
                 Key: SPARK-50897
                 URL: https://issues.apache.org/jira/browse/SPARK-50897
             Project: Spark
          Issue Type: Sub-task
          Components: Connect, ML
    Affects Versions: 4.0.0, 4.1.0
            Reporter: Bobby Wang


Currently, when tries to discovery the ml operators, spark connect needs to instantiate the all estimators/transformers/evaluators  by ServiceLoader every time which could cause a performance issue.



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

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