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-16800][EXAMPLES][ML] Fix Java examples that fail to run due to exception #14405

Conversation

BryanCutler
Copy link
Member

What changes were proposed in this pull request?

Some Java examples are using mllib.linalg.Vectors instead of ml.linalg.Vectors and causes an exception when run. Also there are some Java examples that incorrectly specify data types in the schema, also causing an exception.

How was this patch tested?

Ran corrected examples locally

@srowen
Copy link
Member

srowen commented Jul 29, 2016

LGTM

@srowen
Copy link
Member

srowen commented Jul 30, 2016

Jenkins test this please

@srowen
Copy link
Member

srowen commented Jul 30, 2016

Jenkins add to whitelist

@SparkQA
Copy link

SparkQA commented Jul 30, 2016

Test build #63041 has finished for PR 14405 at commit d3059d5.

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

@srowen
Copy link
Member

srowen commented Jul 30, 2016

Merged to master/2.0

@asfgit asfgit closed this in a6290e5 Jul 30, 2016
asfgit pushed a commit that referenced this pull request Jul 30, 2016
… exception

## What changes were proposed in this pull request?
Some Java examples are using mllib.linalg.Vectors instead of ml.linalg.Vectors and causes an exception when run.  Also there are some Java examples that incorrectly specify data types in the schema, also causing an exception.

## How was this patch tested?
Ran corrected examples locally

Author: Bryan Cutler <cutlerb@gmail.com>

Closes #14405 from BryanCutler/java-examples-ml.Vectors-fix-SPARK-16800.

(cherry picked from commit a6290e5)
Signed-off-by: Sean Owen <sowen@cloudera.com>
@BryanCutler BryanCutler deleted the java-examples-ml.Vectors-fix-SPARK-16800 branch December 2, 2016 01:00
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.

3 participants