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-3321, BEAM-3098, BEAM-4795] Bumping google cloud versions by garrettjonesgoogle · Pull Request #5988 · apache/beam Conversation
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark |
|---|---|---|---|---|---|---|---|
| Go | --- | --- | --- | --- | --- | --- | |
| Java | |||||||
| Python | --- | --- | --- | --- | --- |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Run Flink ValidatesRunner |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Run Dataflow ValidatesRunner |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Run Spark ValidatesRunner |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Run Apex ValidatesRunner |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Run Samza ValidatesRunner |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Run Gearpump ValidatesRunner |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| def jackson_version = "2.9.5" | ||
| def spark_version = "2.3.1" | ||
| def pubsub_grpc_version = "0.1.18" | ||
| def spanner_grpc_version = "0.19.0" |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
what is this used for and why such an old version ?
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.
i am also curious who would be responsible to manage these versions ?
We had a recent omg/9825 (b/111221386) due to out of date grpc version in DF causing issues running a DF job involving spanner ..
is there a plan to resolve this in DF and maintain version compatibility for all services ?
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.
This isn't the version of grpc, it is the version of this package: https://repo1.maven.org/maven2/com/google/api/grpc/grpc-google-cloud-spanner-v1/
It was released 2018-07-12. This package is currently built on every release of google-cloud-java.
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.
thanks garrett! is it possible to rename this to grpc-google-cloud-spanner-v1 ?
also, how do these upgrades happen for newer versions ? is it only after DF needs a new API version of Spanner or more proactively for every release/every few months/etc cadence ? This will require that DF/Spanner have a compatibility test [hoping for spanner API to be backward compatible, but just so mistakes happen :( ]
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.
is it possible to rename this to grpc-google-cloud-spanner-v1 ?
or atleast add a comment what it points to
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.
I could just remove the variable and put the version directly where it's used, since it is used in only one place.
DF is creating new tools/processes to pull in client updates more frequently. @lukecwik can answer that question or redirect to someone else.
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.
Garrett, can you create an account on https://issues.apache.org/ or share your user name so that I can assign several issues to you related to this PR?
Since all the tests are passing I'm willing to get this in as is but have reached out to the community since they will have much larger context as to whether they know if this breaks something.
List of related issues:
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| compile 'com.google.auth:google-auth-library-credentials:0.10.0' | ||
| compile 'io.grpc:grpc-testing:1.13.1' | ||
| compile 'com.google.api.grpc:proto-google-common-protos:1.12.0' | ||
| compile 'io.opencensus:opencensus-api:0.12.3' |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
What was your reasoning for choosing 0.12.3 instead of 0.15.0?
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.
grpc currently depends on 0.12.3 at its latest version (0.13.x)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| google_auth_library_oauth2_http : "com.google.auth:google-auth-library-oauth2-http:$google_auth_version", | ||
| google_cloud_core : "com.google.cloud:google-cloud-core:1.0.2", | ||
| google_cloud_core_grpc : "com.google.cloud:google-cloud-core-grpc:$grpc_version", | ||
| google_cloud_core : "com.google.cloud:google-cloud-core:$google_cloud_core_version", |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Both google_cloud_core and com.google.cloud:google-cloud-spanner:0.54.0-beta declare a dependency on joda-time 2.9.2 while Apache Beam still depends on 2.4, do you think this will matter?
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.
google-cloud-core depended on joda-time:2.9.2 at version 1.0.2 also, so I don't think it will be a problem. It turns out that neither google-cloud-core nor google-cloud-spanner actually reference joda-time in code anywhere even though they declare a dependency on it; the actual references are in other clients that Beam doesn't use (google-cloud-bigquery, google-cloud-resourcemanager, google-cloud-dns, google-cloud-compute)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -296,23 +296,25 @@ class BeamModulePlugin implements Plugin<Project> { | |||
| def bigtable_version = "1.0.0" | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
What was your reasoning for not bumping up bigdataoss?
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.
bigdataoss only uses the google-*-client* libraries, and doesn't use protobuf/grpc/google-cloud-* at all, so there was not a need to.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -296,23 +296,25 @@ class BeamModulePlugin implements Plugin<Project> { | |||
| def bigtable_version = "1.0.0" | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
What was your reasoning for not bumping up bigtable? See related https://issues.apache.org/jira/browse/BEAM-4262
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.
It didn't cause any failures so I overlooked it. It's probably best to bump this one up too.
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.
The Bigtable client is at 1.4.0. Also, remove the explicit dependency on com.google.cloud.bigtable:bigtable-protos (and the bigtable_proto_version variable) so that the correct versions of com.google.api.grpc:(proto|grpc)-google-cloud-bigtable(-admin)?-v2 can be used
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.
@sduskis I will bump bigtable in a following PR - the present PR has wide-ranging impact, while the bigtable bump will be much more localized in its impact.
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.
+1
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I have created an account on https://issues.apache.org/ with the same username as here ( |
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.