[BEAM-886] Migrate from OldDoFn to NewDoFn#1896
Conversation
|
Refer to this link for build results (access rights to CI server needed): Build result: FAILURE[...truncated 9862 lines...] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed. at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:276) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 31 moreCaused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:660) at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:265) ... 33 more2017-02-02T01:00:30.624 [ERROR] 2017-02-02T01:00:30.624 [ERROR] Re-run Maven using the -X switch to enable full debug logging.2017-02-02T01:00:30.624 [ERROR] 2017-02-02T01:00:30.624 [ERROR] For more information about the errors and possible solutions, please read the following articles:2017-02-02T01:00:30.624 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException2017-02-02T01:00:30.625 [ERROR] 2017-02-02T01:00:30.625 [ERROR] After correcting the problems, you can resume the build with the command2017-02-02T01:00:30.625 [ERROR] mvn -rf :beam-sdks-pythonchannel stoppedSetting status of 386f054 to FAILURE with url https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/6983/ and message: 'Build finished. 'Using context: Jenkins: Maven clean install--none-- |
386f054 to
c09df51
Compare
|
Refer to this link for build results (access rights to CI server needed): Build result: ABORTED[...truncated 8258 lines...] ... 31 moreCaused by: java.lang.RuntimeException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?Command was /bin/sh -c cd /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall@2/sdks/java/harness && /usr/local/asfpackages/java/jdk1.8.0_102/jre/bin/java org.apache.maven.surefire.booter.ForkedBooter /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall@2/sdks/java/harness/target/surefire/surefire5801899862123791575tmp /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall@2/sdks/java/harness/target/surefire/surefire_168925798852222610443tmp at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:590) at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:460) at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:229) at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:201) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1026) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:862) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 32 more2017-02-02T21:19:53.475 [ERROR] 2017-02-02T21:19:53.475 [ERROR] Re-run Maven using the -X switch to enable full debug logging.2017-02-02T21:19:53.475 [ERROR] 2017-02-02T21:19:53.476 [ERROR] For more information about the errors and possible solutions, please read the following articles:2017-02-02T21:19:53.476 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException2017-02-02T21:19:53.476 [ERROR] 2017-02-02T21:19:53.477 [ERROR] After correcting the problems, you can resume the build with the command2017-02-02T21:19:53.477 [ERROR] mvn -rf :beam-sdks-java-harnessBuild was abortedchannel stoppedSetting status of c09df51 to FAILURE with url https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/7014/ and message: 'Build finished. 'Using context: Jenkins: Maven clean install--none-- |
715b283 to
cf3993b
Compare
|
R: @aaltay PTAL |
|
Refer to this link for build results (access rights to CI server needed): |
|
Refer to this link for build results (access rights to CI server needed): |
cf3993b to
c71335e
Compare
aaltay
left a comment
There was a problem hiding this comment.
Does this convert all old DoFns?
|
|
||
|
|
||
| class FilterTextFn(beam.DoFn): | ||
| class FilterTextFn(NewDoFn): |
|
Yes all the DoFns in beam should be migrated after this. |
c71335e to
3c60178
Compare
|
LGTM |
|
Refer to this link for build results (access rights to CI server needed): Build result: ABORTED[...truncated 8258 lines...] ... 31 moreCaused by: java.lang.RuntimeException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?Command was /bin/sh -c cd /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/java/harness && /usr/local/asfpackages/java/jdk1.8.0_102/jre/bin/java org.apache.maven.surefire.booter.ForkedBooter /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/java/harness/target/surefire/surefire1835502348022269393tmp /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/java/harness/target/surefire/surefire_162667360723457275929tmp at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:590) at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:460) at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:229) at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:201) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1026) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:862) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 32 more2017-02-02T23:59:13.894 [ERROR] 2017-02-02T23:59:13.894 [ERROR] Re-run Maven using the -X switch to enable full debug logging.2017-02-02T23:59:13.894 [ERROR] 2017-02-02T23:59:13.894 [ERROR] For more information about the errors and possible solutions, please read the following articles:2017-02-02T23:59:13.894 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException2017-02-02T23:59:13.894 [ERROR] 2017-02-02T23:59:13.894 [ERROR] After correcting the problems, you can resume the build with the command2017-02-02T23:59:13.894 [ERROR] mvn -rf :beam-sdks-java-harnessBuild was abortedchannel stoppedSetting status of cf3993b to FAILURE with url https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/7032/ and message: 'Build finished. 'Using context: Jenkins: Maven clean install--none-- |
|
Refer to this link for build results (access rights to CI server needed): |
|
Tests passed so should be ready to merge |
|
Refer to this link for build results (access rights to CI server needed): Build result: FAILURE[...truncated 13408 lines...] ^/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall@2/runners/spark/src/main/java/org/apache/beam/runners/spark/stateful/StateSpecFunctions.java:58: 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_102/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:5163) at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:2075) at org.apache.maven.plugin.javadoc.JavadocJar.execute(JavadocJar.java:188) ... 33 more2017-02-03T00:50:51.145 [ERROR] 2017-02-03T00:50:51.145 [ERROR] Re-run Maven using the -X switch to enable full debug logging.2017-02-03T00:50:51.145 [ERROR] 2017-02-03T00:50:51.145 [ERROR] For more information about the errors and possible solutions, please read the following articles:2017-02-03T00:50:51.146 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException2017-02-03T00:50:51.146 [ERROR] 2017-02-03T00:50:51.146 [ERROR] After correcting the problems, you can resume the build with the command2017-02-03T00:50:51.147 [ERROR] mvn -rf :beam-runners-sparkchannel stoppedSetting status of 3c60178 to FAILURE with url https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/7039/ and message: 'Build finished. 'Using context: Jenkins: Maven clean install--none-- |
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.
R: @aaltay PTAL