spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph K. Bradley (JIRA)" <>
Subject [jira] [Updated] (SPARK-13937) PySpark ML JavaWrapper, variable _java_obj should not be static
Date Thu, 17 Mar 2016 17:17:33 GMT


Joseph K. Bradley updated SPARK-13937:
    Assignee: Bryan Cutler

> PySpark ML JavaWrapper, variable _java_obj should not be static
> ---------------------------------------------------------------
>                 Key: SPARK-13937
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: ML, PySpark
>            Reporter: Bryan Cutler
>            Assignee: Bryan Cutler
>            Priority: Trivial
>             Fix For: 2.0.0
> In PySpark ML, the abstract class {{JavaWrapper}} has a static variable {{_java_obj}}.
 This is meant to hold an instance of a companion Java object.  It seems as though it was
made static accidentally because it is never used, and all assignments done in derived classes
are done to a member variable with {{self._java_obj}}.  This does not cause any problems with
the current functionality, but it should be changed so as not to cause any confusion and misuse
in the future.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message