GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [BEAM-3321, BEAM-3098, BEAM-4795] Bumping google cloud versions by garrettjonesgoogle · Pull Request #5988 · apache/beam

Conversation

@garrettjonesgoogle

@garrettjonesgoogle garrettjonesgoogle commented Jul 18, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This bumps the same packages as #5767 , plus more, and to the latest versions, and fixes compile errors that result from it.


Follow this checklist to help us incorporate your contribution quickly and easily:

  • 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.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

Post-Commit Tests Status (on master branch)

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@garrettjonesgoogle
Bumping google cloud versions
e0110c4
@garrettjonesgoogle
garrettjonesgoogle requested review from chamikaramj and lukecwik as code owners July 18, 2018 22:54
@lukecwik

lukecwik commented Jul 19, 2018

Copy link
Copy Markdown
Member

Run Flink ValidatesRunner

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lukecwik

lukecwik commented Jul 19, 2018

Copy link
Copy Markdown
Member

Run Dataflow ValidatesRunner

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lukecwik

lukecwik commented Jul 19, 2018

Copy link
Copy Markdown
Member

Run Spark ValidatesRunner

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lukecwik

lukecwik commented Jul 19, 2018

Copy link
Copy Markdown
Member

Run Apex ValidatesRunner

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lukecwik

lukecwik commented Jul 19, 2018

Copy link
Copy Markdown
Member

Run Samza ValidatesRunner

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lukecwik

lukecwik commented Jul 19, 2018

Copy link
Copy Markdown
Member

Run Gearpump ValidatesRunner

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@garrettjonesgoogle garrettjonesgoogle changed the title [WIP] Bumping google cloud versions Bumping google cloud versions Jul 19, 2018
snehashah16
snehashah16 reviewed Jul 19, 2018
View reviewed changes
Comment thread buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
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"

@snehashah16 snehashah16 Jul 19, 2018

Copy link
Copy Markdown

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.

what is this used for and why such an old version ?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@snehashah16 snehashah16 Jul 19, 2018

Copy link
Copy Markdown

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 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@garrettjonesgoogle garrettjonesgoogle Jul 19, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

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 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@snehashah16 snehashah16 Jul 19, 2018

Copy link
Copy Markdown

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.

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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@snehashah16 snehashah16 Jul 19, 2018

Copy link
Copy Markdown

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.

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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@garrettjonesgoogle garrettjonesgoogle Jul 19, 2018

Copy link
Copy Markdown
Contributor Author

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 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
lukecwik
lukecwik reviewed Jul 19, 2018
View reviewed changes

@lukecwik lukecwik left a comment

Copy link
Copy Markdown
Member

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.

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:

  • Bigquery: https://issues.apache.org/jira/browse/BEAM-4248
  • Bigtable: https://issues.apache.org/jira/browse/BEAM-4262 and https://issues.apache.org/jira/browse/BEAM-3412
  • GCP IO: https://issues.apache.org/jira/browse/BEAM-2523 and https://issues.apache.org/jira/browse/BEAM-3519
  • GAX: https://issues.apache.org/jira/browse/BEAM-3321
  • gRPC: https://issues.apache.org/jira/browse/BEAM-3098
  • Spanner: https://issues.apache.org/jira/browse/BEAM-4795

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
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'

@lukecwik lukecwik Jul 19, 2018

Copy link
Copy Markdown
Member

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.

What was your reasoning for choosing 0.12.3 instead of 0.15.0?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@garrettjonesgoogle garrettjonesgoogle Jul 19, 2018

Copy link
Copy Markdown
Contributor Author

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.

grpc currently depends on 0.12.3 at its latest version (0.13.x)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
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",

@lukecwik lukecwik Jul 19, 2018

Copy link
Copy Markdown
Member

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.

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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@garrettjonesgoogle garrettjonesgoogle Jul 19, 2018

Copy link
Copy Markdown
Contributor Author

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.

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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -296,23 +296,25 @@ class BeamModulePlugin implements Plugin<Project> {
def bigtable_version = "1.0.0"

@lukecwik lukecwik Jul 19, 2018

Copy link
Copy Markdown
Member

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.

What was your reasoning for not bumping up bigdataoss?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@garrettjonesgoogle garrettjonesgoogle Jul 19, 2018

Copy link
Copy Markdown
Contributor Author

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.

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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -296,23 +296,25 @@ class BeamModulePlugin implements Plugin<Project> {
def bigtable_version = "1.0.0"

@lukecwik lukecwik Jul 19, 2018

Copy link
Copy Markdown
Member

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.

What was your reasoning for not bumping up bigtable? See related https://issues.apache.org/jira/browse/BEAM-4262

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@garrettjonesgoogle garrettjonesgoogle Jul 19, 2018

Copy link
Copy Markdown
Contributor Author

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.

It didn't cause any failures so I overlooked it. It's probably best to bump this one up too.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@sduskis sduskis Jul 19, 2018

Copy link
Copy Markdown
Contributor

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.

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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@garrettjonesgoogle garrettjonesgoogle Jul 19, 2018

Copy link
Copy Markdown
Contributor Author

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.

@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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@sduskis sduskis Jul 19, 2018

Copy link
Copy Markdown
Contributor

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.

+1

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@lukecwik lukecwik changed the title Bumping google cloud versions [DO NOT MERGE YET] Bumping google cloud versions Jul 19, 2018
lukecwik
lukecwik approved these changes Jul 19, 2018
View reviewed changes
@garrettjonesgoogle

garrettjonesgoogle commented Jul 19, 2018

Copy link
Copy Markdown
Contributor Author

I have created an account on https://issues.apache.org/ with the same username as here (garrettjonesgoogle)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Jul 19, 2018
[BEAM-3321] update google-cloud-spanner dependency #4707
Closed
Dependency conflicts with Apache Beam Cloud Dataflow runner googleapis/google-cloud-java#2890
Closed
@lukecwik lukecwik changed the title [DO NOT MERGE YET] Bumping google cloud versions [BEAM-3321, BEAM-3098, BEAM-4795] Bumping google cloud versions Jul 20, 2018
@lukecwik
lukecwik merged commit 440c40a into apache:master Jul 20, 2018
garrettjonesgoogle added a commit to garrettjonesgoogle/beam that referenced this pull request Jul 25, 2018
@garrettjonesgoogle
Bumping versions that were missed in apache#5988
6c4df76
lukecwik added a commit that referenced this pull request Jul 25, 2018
@lukecwik
Bumping versions that were missed in #5988
695b7d0
@garrettjonesgoogle garrettjonesgoogle mentioned this pull request Jul 27, 2018
[BEAM-3098] Upgrades gRPC and protobuf dependencies #5767
Closed
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@lukecwik lukecwik lukecwik approved these changes
@chamikaramj chamikaramj Awaiting requested review from chamikaramj
+2 more reviewers
@sduskis sduskis sduskis left review comments
@snehashah16 snehashah16 snehashah16 left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@garrettjonesgoogle @lukecwik @sduskis @snehashah16
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.