-
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-79] add Gearpump runner #323
Conversation
9994ddf
to
a514092
Compare
Good job. Let me take a look and try it. Thanks @manuzhang ! |
Wow! We didn't expect it this fast! We'll take a look shortly, but it might take us a few days to parse through. R: @davorbonaci |
ed4a200
to
b776af4
Compare
Gearpump requires Java 8 so the test matrix for Java 7 will fail. |
Also, R: @kennknowles. |
<dependency> | ||
<groupId>org.apache.beam</groupId> | ||
<artifactId>java-sdk-all</artifactId> | ||
<version>${beam.version}</version> |
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.
I believe you can omit this version and let the parent <dependencyManagement>
sections set it up.
This is really cool! One thing that you can do to get a lot of automatic feedback on your runner is set up the |
@kennknowles Thanks, I'll go through all the stuff with your comments. |
Sorry for the slow replies. Please feel free to send back thoughts or questions any time. |
b776af4
to
7abe353
Compare
@kennknowles updated most parts against your comments. It seems |
@kennknowles any more comments ? |
Just a heads up: you are going to need to add a dependency on
|
@kennknowles Yes, I saw that. I'm trying out the new |
Let me know if there is anything else I can make easier here. Happy to chat, etc. |
f73393e
to
bbc2c9a
Compare
@kennknowles It seems some tests are still implemented with |
Tests using Test timeouts: It may be infeasible to run all these For right now, there's a RAT plugin failure in the From there, since traffic on the branch will be low enough, I think we can probably check it in to a feature branch and then set up the postsubmit job and try to see if we can speed up the tests. |
It looks like the RAT plugin was seeing files that needed to be cleaned up from another branch. We've just adjusted the Jenkins configuration so those files should be cleaned. Go ahead and force a rebuild via rebase and force push, or dummy commit, and we should see Jenkins succeed or timeout. |
4341ee0
to
c7e6f92
Compare
The travis build has errors as below which cannot be reproduced on my laptop.
|
Curious. I can't say much about the details there. What was at the other end of the future that timed out when the embedded Gearpump cluster was starting up? I'll pull and try it to see if my environment reproduces the issue. |
c7e6f92
to
b8bc27a
Compare
@kennknowles finally, travis is green.
|
I can confirm that failure. It should certainly succeed. I'm looking into it. |
From a quick search it looks like the failure of The fix suggested is to invoke the plugin only through |
I have identified two issues that may prevent you from finding the real problem:
When I fix these two issues locally, the remaining RAT failure is I would fix this for you and merge to a feature branch, but since it is a licensing issue I think it best that you make the edits. |
b8bc27a
to
9633377
Compare
9633377
to
9478f41
Compare
@kennknowles Thanks for the thorough explanation. I think we are good to go this time. |
Boom! |
Awesome! |
Merged to branch |
😄 |
* changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * docs: update python contributing guide Adds details about blacken, updates version for system tests, and shows how to pass through pytest arguments. Source-Author: Chris Cotter <cjcotter@google.com> Source-Date: Mon Feb 8 17:13:36 2021 -0500 Source-Repo: googleapis/synthtool Source-Sha: 4679e7e415221f03ff2a71e3ffad75b9ec41d87e Source-Link: googleapis/synthtool@4679e7e * build(python): enable flakybot on library unit and system tests Source-Author: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Source-Date: Wed Feb 17 14:10:46 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: d17674372e27fb8f23013935e794aa37502071aa Source-Link: googleapis/synthtool@d176743 * test: install pyopenssl for mtls testing Source-Author: arithmetic1728 <58957152+arithmetic1728@users.noreply.github.com> Source-Date: Tue Mar 2 12:27:56 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 0780323da96d5a53925fe0547757181fe76e8f1e Source-Link: googleapis/synthtool@0780323 Co-authored-by: Craig Labenz <craig.labenz@gmail.com>
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.
This PR adds Gearpump runner to Beam meeting the goals of phase 1 in the design document.
The Gearpump runner supports the following functionalities,
Here's a snapshot of running the following Beam example on Gearpump cluster
Note that the Gearpump runner is still in early stage and lacking capabilities like trigger, side inputs, aggregator. However, I'd like to have the community to get a feel of what Gearpump is like, whether Beam and Gearpump go well, and gather ideas for improvements.