Skip to content

Conversation

@tweise
Copy link
Contributor

@tweise tweise commented Oct 28, 2019

https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/testReport/org.apache.beam.sdk/PipelineTest/testTupleInjectionTransform/


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- Build Status --- --- Build Status
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Build Status
Python Build Status
Build Status
Build Status
Build Status
--- Build Status
Build Status
Build Status
Build Status
--- --- Build Status
XLang --- --- --- Build Status --- --- ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status
Build Status
Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@tweise tweise requested review from mxm and removed request for mxm October 28, 2019 23:04
@tweise
Copy link
Contributor Author

tweise commented Oct 28, 2019

follow-up from #9872

@tweise
Copy link
Contributor Author

tweise commented Oct 28, 2019

Run Java Flink PortableValidatesRunner Streaming

@tweise tweise requested a review from ibzib October 28, 2019 23:32
@ibzib
Copy link

ibzib commented Oct 28, 2019

Any reason we can't change TestPortableRunner to use a proper interface, ie JobServerDriver? It'd definitely be less fragile than a reflection-based pseudo-interface.

@tweise
Copy link
Contributor Author

tweise commented Oct 28, 2019

Any reason we can't change TestPortableRunner to use a proper interface, ie JobServerDriver? It'd definitely be less fragile than a reflection-based pseudo-interface.

Definitely worthwhile to investigate as follow-up. I don't like that fromXXX spaghetti and was trying to reduce it a bit. Will still need reflection to instantiate the class though.

@ibzib
Copy link

ibzib commented Oct 28, 2019

Will still need reflection to instantiate the class though.

Right, but we could add fromParams to the JobServerDriver interface. Then in TestPortableRunner we could narrow from Object to JobServerDriver.

Copy link

@ibzib ibzib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyway, your changes LGTM. I don't think we need to change too much to improve the interface stuff, but if you don't want to do that here I can do it in a follow-up.

@tweise
Copy link
Contributor Author

tweise commented Oct 29, 2019

Anyway, your changes LGTM. I don't think we need to change too much to improve the interface stuff, but if you don't want to do that here I can do it in a follow-up.

Go for it. What I did was to make something else work, it would be good to do a focussed cleanup.

@ibzib
Copy link

ibzib commented Oct 29, 2019

Filed https://issues.apache.org/jira/browse/BEAM-8509 as a follow-up.

Sign up for free to 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.

2 participants