Skip to content

[SPARK-16800][EXAMPLES][ML] Fix Java examples that fail to run due to exception - #14405

Closed
BryanCutler wants to merge 3 commits into
apache:masterfrom
BryanCutler:java-examples-ml.Vectors-fix-SPARK-16800
Closed

[SPARK-16800][EXAMPLES][ML] Fix Java examples that fail to run due to exception#14405
BryanCutler wants to merge 3 commits into
apache:masterfrom
BryanCutler:java-examples-ml.Vectors-fix-SPARK-16800

Conversation

@BryanCutler

Copy link
Copy Markdown
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
Copy Markdown
Member

LGTM

@srowen

Copy link
Copy Markdown
Member

Jenkins test this please

@srowen

Copy link
Copy Markdown
Member

Jenkins add to whitelist

@SparkQA

Copy link
Copy Markdown

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
Copy Markdown
Member

Merged to master/2.0

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 freeto 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

@BryanCutler@srowen@SparkQA