-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[BEAM-720] Enable WindowedWordCountIT on Flink runner in presubmit #2188
Conversation
@aljoscha when I ran this locally with the in-process Flink it passed, so we might as well have it enabled to try to get some more coverage. Would be nice to have actual Flink cluster coverage of this. |
Also: if I understand correctly, |
Refer to this link for build results (access rights to CI server needed): Build result: FAILURE[...truncated 1.12 MB...] ^/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall@2/runners/spark/src/main/java/org/apache/beam/runners/spark/stateful/StateSpecFunctions.java:59: error: reference not found * A helper class that is essentially a {@link Serializable} {@link AbstractFunction3}. ^Command line was: /usr/local/asfpackages/java/jdk1.8.0_121/jre/../bin/javadoc @options @packagesRefer to the generated Javadoc files in '/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall@2/runners/spark/target/apidocs' dir. at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeJavadocCommandLine(AbstractJavadocMojo.java:5188) at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:2075) at org.apache.maven.plugin.javadoc.JavadocJar.execute(JavadocJar.java:188) ... 33 more2017-03-08T00:49:57.486 [ERROR] 2017-03-08T00:49:57.486 [ERROR] Re-run Maven using the -X switch to enable full debug logging.2017-03-08T00:49:57.486 [ERROR] 2017-03-08T00:49:57.486 [ERROR] For more information about the errors and possible solutions, please read the following articles:2017-03-08T00:49:57.486 [ERROR] [Help 1] https://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException2017-03-08T00:49:57.486 [ERROR] 2017-03-08T00:49:57.486 [ERROR] After correcting the problems, you can resume the build with the command2017-03-08T00:49:57.486 [ERROR] mvn -rf :beam-runners-sparkchannel stoppedSetting status of 5ee960c to FAILURE with url https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/8187/ and message: 'Build finished. 'Using context: Jenkins: Maven clean install--none-- |
tl;dr: LGTM! Yes, the However, even when you execute this job using I would like to have a proper "streaming" test with unbounded sources where we manually cancel the job once the stopping condition is met. (Like the Also, the success matcher set in In the end, this still LGTM! Because some coverage is better than none. |
Since you mention a proper "streaming" test, this is most easy to do only with triggers that yield deterministic output, unless a runner implements |
I think it will be quite hard to do for Flink because there is no upstream communication between operators. Maybe we can do it via instrumentation (via aggregators) and listening to them. How will it work in the Dataflow Runner? |
I don't have a plan yet, but I'll let you know what I learn :-) |
Officially tagging with JIRA and reviewers. Sorry for the mix-up. |
retest this please |
Refer to this link for build results (access rights to CI server needed): |
Jenkins passed and inspection of the logs confirms windowedwordcount executed. LGTM |
Is this merge-ready? |
My understanding was yes. |
Yes. I will merge shortly. |
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
[BEAM-<Jira issue #>] Description of pull request
mvn 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.