Uh oh!
There was an error while loading. Please reload this page.
[BEAM-380] Remove Spark runner dependency on beam-examlpes-java - #539
[BEAM-380] Remove Spark runner dependency on beam-examlpes-java#539amitsela wants to merge 2 commits into
Conversation
amitsela
commented
Jun 27, 2016
Following @peihe's comment in #516 this PR removes the dependency of the Spark runner on beam-examples-java. |
| import static org.junit.Assert.assertEquals; | ||
| import static org.junit.Assert.assertTrue; | ||
| import org.apache.beam.examples.WordCount; |
There was a problem hiding this comment.
It tests TextIO numShards.
Does it have to use WordCount?
There was a problem hiding this comment.
No it doesn't, it's just been like that... Not a good answer 😄 but I'm definitely prioritising.
peihe
commented
Jun 27, 2016
FYI This will avoid duplicating codes. |
amitsela
commented
Jun 27, 2016
First of all, I'm sorry if I "jumped in", I was looking for an open JIRA because I knew you had this in mind, but when I couldn't find one I opened it and submitted this PR against it. |
peihe
commented
Jun 27, 2016
My fault. I should open a JIRA issue before I start on this. I thought it is a quick change. |
amitsela
commented
Jun 27, 2016
About the ClassNotFoundException, it's probably because the Spark runner has a |
amitsela
commented
Jun 28, 2016
I honestly closed this by accident.. Though I'd be happy to have Jenkins try again since it failed on JavaDoc issues that, while might be valid, are unrelated to this PR. |
amitsela
commented
Jun 28, 2016
Anyone got an idea why Jenkins suddenly fails on JavaDoc issues in classes that aren't related to this PR ? |
kennknowles
commented
Jul 1, 2016
I was just browsing the output and didn't even see what the error was. FWIW the travis errors are different but also seem unrelated. I've seen the Travis issue before but have forgotten what it was about. |
Hi Amit, The logs are unfortunately a bit misleading, but there is one Javadoc error: The link is not resolved because you removed the dependency on the examples module. All the other Javadoc stuff is warnings and don't cause breaks. |
Okay, I did a little more digging and here's my summary:
A rebase should fix the latter. |
Duplicate WordCount into spark examlpes package. Duplicate parts of TfIdf from beam examlpes. Better reuse of WordCount and its parts. Remove dependency on beam-examples-java
iemejia
commented
Jul 19, 2016
Hello, is there any blocking reason why this has not been merged ? |
dhalperi
commented
Jul 23, 2016
LGTM |
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
[BEAM-<Jira issue #>] Description of pull requestmvn clean verify. (Even better, enableTravis-CI on your fork and ensure the whole test matrix passes).
<Jira issue #>in the title with the actual Jira issuenumber, if there is one.
Individual Contributor License Agreement.
Duplicate WordCount into spark examlpes package.
Duplicate parts of TfIdf from beam examlpes.
Better reuse of WordCount and its parts.
Remove dependency on beam-examples-java