Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-13937][PySpark][ML] Change JavaWrapper _java_obj from static to member variable #11767

Conversation

BryanCutler
Copy link
Member

What changes were proposed in this pull request?

In PySpark wrapper.py JavaWrapper change _java_obj from an unused static variable to a member variable that is consistent with usage in derived classes.

How was this patch tested?

Ran python tests for ML and MLlib.

@SparkQA
Copy link

SparkQA commented Mar 16, 2016

Test build #53334 has finished for PR 11767 at commit 41341e7.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@jkbradley
Copy link
Member

LGTM, though I don't think this changes any behavior
Merging with master

@asfgit asfgit closed this in 828213d Mar 17, 2016
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
…o member variable

## What changes were proposed in this pull request?
In PySpark wrapper.py JavaWrapper change _java_obj from an unused static variable to a member variable that is consistent with usage in derived classes.

## How was this patch tested?
Ran python tests for ML and MLlib.

Author: Bryan Cutler <cutlerb@gmail.com>

Closes apache#11767 from BryanCutler/JavaWrapper-static-_java_obj-SPARK-13937.
@BryanCutler BryanCutler deleted the JavaWrapper-static-_java_obj-SPARK-13937 branch December 2, 2016 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants