-
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-886] Rename NewDoFn to DoFn #1913
Conversation
Refer to this link for build results (access rights to CI server needed): Build result: ABORTED[...truncated 8270 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/surefire2654316966397738592tmp /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/java/harness/target/surefire/surefire_165941443398769830423tmp 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-03T07:22:05.214 [ERROR] 2017-02-03T07:22:05.214 [ERROR] Re-run Maven using the -X switch to enable full debug logging.2017-02-03T07:22:05.214 [ERROR] 2017-02-03T07:22:05.214 [ERROR] For more information about the errors and possible solutions, please read the following articles:2017-02-03T07:22:05.214 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException2017-02-03T07:22:05.215 [ERROR] 2017-02-03T07:22:05.215 [ERROR] After correcting the problems, you can resume the build with the command2017-02-03T07:22:05.215 [ERROR] mvn -rf :beam-sdks-java-harnessBuild was abortedchannel stoppedSetting status of dd30c50 to FAILURE with url https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/7055/ and message: 'Build finished. 'Using context: Jenkins: Maven clean install--none-- |
retest this please |
Refer to this link for build results (access rights to CI server needed): |
@@ -225,7 +225,7 @@ def process(context): | |||
else: | |||
self.dofn_process = lambda context: fn.process(context, *args) | |||
|
|||
class CurriedFn(core.DoFn): | |||
class CurriedFn(core.OldDoFn): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How many OldDoFn
s are left after this change? And why can't we upgrade this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a runner code of the OldDoFn so not really a new usecase. I don't know why the tests didn't catch this but there shouldn't be any more usage of them.
LGTM |
R: @aaltay PTAL
Will just have one more PR after this to completely remove the OldDoFn
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.