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-13715] [MLLIB] Remove last usages of jblas in tests #11560

Closed
wants to merge 2 commits into from

Conversation

srowen
Copy link
Member

@srowen srowen commented Mar 7, 2016

What changes were proposed in this pull request?

Remove last usage of jblas, in tests

How was this patch tested?

Jenkins tests -- the same ones that are being modified.

@SparkQA
Copy link

SparkQA commented Mar 7, 2016

Test build #52561 has finished for PR 11560 at commit c7eea5e.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@jodersky
Copy link
Member

jodersky commented Mar 7, 2016

LGTM, a quick grep for jblas showed that every last reference to it is now gone.

@srowen
Copy link
Member Author

srowen commented Mar 7, 2016

Heh yeah I just need to get the tests passing. I think it's the random seed differences.

MatrixFactorizationModel model,
int users,
int products,
DoubleMatrix trueRatings,
double[] trueRatings,
Copy link
Member Author

Choose a reason for hiding this comment

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

For the record, this is not a DenseMatrix<Double> because the Scala method this relies on returns a DenseMatrix<Object> as far as Java is concerned. It ended up being easier just to make this private test method pass around an array, I think.

@SparkQA
Copy link

SparkQA commented Mar 8, 2016

Test build #52667 has finished for PR 11560 at commit 3e46df7.

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

@srowen
Copy link
Member Author

srowen commented Mar 8, 2016

I'm gonna go for it since this is a test-only change and it passes

@asfgit asfgit closed this in 54040f8 Mar 8, 2016
@srowen srowen deleted the SPARK-13715 branch March 9, 2016 10:22
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
## What changes were proposed in this pull request?

Remove last usage of jblas, in tests

## How was this patch tested?

Jenkins tests -- the same ones that are being modified.

Author: Sean Owen <sowen@cloudera.com>

Closes apache#11560 from srowen/SPARK-13715.
@a-roberts
Copy link
Contributor

Sean, any plans to backport this and https://issues.apache.org/jira/browse/SPARK-5814 to the 1.6 branch? Happy to test and contribute myself in a new JIRA if need be

@srowen
Copy link
Member Author

srowen commented Jun 23, 2016

I hadn't planned on it because it is not a bug fix, so normally doesn't go in a maintenance release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants