GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [BEAM-3519] Overrides gRPC dependency for google-cloud-platform and upgrades protobuf by chamikaramj · Pull Request #4727 · apache/beam Conversation
|
|
Run Java PostCommit |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
6ade465 to
87bb4d5
Compare
|
Run Java PostCommit |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
87bb4d5 to
039dd4b
Compare
…obuf. Upgrades gRPC dependency for google-cloud-platform module to 1.9.1 Upgrades root level protobuf dependency to 3.5.1. Upgrades bigtable-protos to 1.0.0.
039dd4b to
ee0d992
Compare
|
Run Java PostCommit |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Successful post commit run: https://builds.apache.org/job/beam_PostCommit_Java_MavenInstall/6037/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Overall change LGTM. Can you addressed comments then go ahead and self-merge?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| apply from: project(":").file("build_rules.gradle") | ||
| applyJavaNature(enableFindbugs: false) | ||
|
|
||
| def io_gcp_grpc_version = "1.9.1" |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Version overrides deserve a comment
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| </build> | ||
|
|
||
| <properties> | ||
| <io_gcp_grpc.version>1.9.1</io_gcp_grpc.version> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
ditto
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| <dependency> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty-handler</artifactId> | ||
| <version>4.1.17.Final</version> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Put into commented override up top as well.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| <groupId>io.netty</groupId> | ||
| <artifactId>netty-tcnative-boringssl-static</artifactId> | ||
| <scope>runtime</scope> | ||
| <version>2.0.7.Final</version> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
ditto
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| shadow library.java.grpc_stub | ||
| shadow "io.grpc:grpc-auth:$io_gcp_grpc_version" | ||
| shadow "io.grpc:grpc-netty:$io_gcp_grpc_version" | ||
| shadow "io.netty:netty-handler:4.1.17.Final" |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Also put into commented override up top.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Also I'm curious what are the consequences of globally upgrading. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
Globally upgrading resulted in a test timeout during 'mvn clean verify'.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| apply from: project(":").file("build_rules.gradle") | ||
| applyJavaNature(enableFindbugs: false) | ||
|
|
||
| def io_gcp_grpc_version = "1.9.1" |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| shadow library.java.grpc_stub | ||
| shadow "io.grpc:grpc-auth:$io_gcp_grpc_version" | ||
| shadow "io.grpc:grpc-netty:$io_gcp_grpc_version" | ||
| shadow "io.netty:netty-handler:4.1.17.Final" |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| </build> | ||
|
|
||
| <properties> | ||
| <io_gcp_grpc.version>1.9.1</io_gcp_grpc.version> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| <dependency> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty-handler</artifactId> | ||
| <version>4.1.17.Final</version> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| <groupId>io.netty</groupId> | ||
| <artifactId>netty-tcnative-boringssl-static</artifactId> | ||
| <scope>runtime</scope> | ||
| <version>2.0.7.Final</version> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Run Java Gradle PreCommit |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Run Java PreCommit |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Note that this PR doesn't upgrade the worker with an updated version with gRPC/protobuf being upgraded internally. Which means that you can't be sure that you were using gRPC 1.9.1 or whatever the Dataflow worker is vending. Also, can you provide more details about the failure since a test timed out doesn't give much depth. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yea, I neglected to consider that these were dependencies that Dataflow clobbers. Dataflow presumably has documentation for users on what versions it will clobber with. I think it is fair that GCP connectors use those versions. Certainly integration tests must run with those versions. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| </build> | ||
|
|
||
| <properties> | ||
| <!-- gRPC and netty dependencies are overriden for google-cloud-platform module. --> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This comment is not an explanation. You need to say why you have an overridden version here.
Someone coming across this later should understand whether it is safe to remove the special case, should know how to test it, and if it is not safe to remove they should be able to figure out steps towards removing it. Or they should know why it will be separate forever or why it is harmless.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hi, are there any updates to this pull request? This is still blocking googleapis/google-cloud-java#2890 and as a consequence, being able to use Firestore with Apache Beam. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
We are actively looking into this but the fix will probably not get into next release (2.5.0). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Closing in favor of #5767 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.