Skip to content

Conversation

@holdenk
Copy link
Contributor

@holdenk holdenk commented Jan 4, 2017

What changes were proposed in this pull request?

Fix instalation of mllib and ml sub components, and more eagerly cleanup cache files during test script & make-distribution.

How was this patch tested?

Updated sanity test script to import mllib and ml sub-components.

…stribution scripts to be more explicit about cleanup. Also add pypandoc to dev requirements file since we want it for publishing
@SparkQA
Copy link

SparkQA commented Jan 4, 2017

Test build #70848 has finished for PR 16465 at commit b28d9ca.

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

@holdenk
Copy link
Contributor Author

holdenk commented Jan 5, 2017

cc @JoshRosen who reviewed the original PR and is probably the most familiar.


from pyspark.sql import SparkSession
from pyspark.ml.param import Params
from pyspark.mllib.linalg import *
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it better to import pyspark.ml.linalg or both?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just checks one sub component from each, we could import each with rename I suppose but not sure it would do much?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok. i think this should be enough.

@holdenk
Copy link
Contributor Author

holdenk commented Jan 10, 2017

Gentle ping for @JoshRosen to @davies maybe?

@holdenk
Copy link
Contributor Author

holdenk commented Jan 24, 2017

Small follow up ping for @JoshRosen to @davies maybe?

Copy link
Member

@srowen srowen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say you can merge it yourself !

@holdenk
Copy link
Contributor Author

holdenk commented Jan 25, 2017

Sounds like a plan, I think should should probably be on the 2.1 branch as well so I'll go bug someone who has done backports to make sure I do that part right :)

@felixcheung
Copy link
Member

felixcheung commented Jan 25, 2017 via email

asfgit pushed a commit that referenced this pull request Jan 25, 2017
## What changes were proposed in this pull request?

Fix instalation of mllib and ml sub components, and more eagerly cleanup cache files during test script & make-distribution.

## How was this patch tested?

Updated sanity test script to import mllib and ml sub-components.

Author: Holden Karau <[email protected]>

Closes #16465 from holdenk/SPARK-19064-fix-pip-install-sub-components.

(cherry picked from commit 965c82d)
Signed-off-by: Holden Karau <[email protected]>
@asfgit asfgit closed this in 965c82d Jan 25, 2017
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
## What changes were proposed in this pull request?

Fix instalation of mllib and ml sub components, and more eagerly cleanup cache files during test script & make-distribution.

## How was this patch tested?

Updated sanity test script to import mllib and ml sub-components.

Author: Holden Karau <[email protected]>

Closes apache#16465 from holdenk/SPARK-19064-fix-pip-install-sub-components.
@holdenk
Copy link
Contributor Author

holdenk commented Feb 2, 2017

Merged into master & branch-2.1

cmonkey pushed a commit to cmonkey/spark that referenced this pull request Feb 15, 2017
## What changes were proposed in this pull request?

Fix instalation of mllib and ml sub components, and more eagerly cleanup cache files during test script & make-distribution.

## How was this patch tested?

Updated sanity test script to import mllib and ml sub-components.

Author: Holden Karau <[email protected]>

Closes apache#16465 from holdenk/SPARK-19064-fix-pip-install-sub-components.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants