Skip to content
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

Update bookkeeper dependencies : netty/protobuf/grpc #1441

Closed
wants to merge 3 commits into from

Conversation

sijie
Copy link
Member

@sijie sijie commented May 25, 2018

Descriptions of the changes in this PR:

Motivation

The netty version in bookkeeper is a bit dated than the version in pulsar.
Hence the grpc version is limited to the version that use same netty version.
It causes issues at pulsar using bookkeeper, because pulsar has been using
a newer version for longer time. This causes conflicts when pulsar client and
grpc are used together without proper shading.

Solution

Upgrade netty/protobuf/grpc dependencies.

  • update netty from 4.1.12 to 4.1.22, which is the one grpc is using and closer to the one that pulsar is using.
  • update grpc from 1.5.0 to 1.12.0, which is using netty 4.1.22 and protobuf 3.5.1.
  • update protobuf from 3.4.0 to 3.5.1

Related Issue: apache/pulsar#1844

*Motivation*

The netty version in bookkeeper is a bit dated than the version in pulsar.
Hence the grpc version is limited to the version that use same netty version.
It causes issues at pulsar using bookkeeper, because pulsar has been using
a newer version for longer time. This causes conflicts when pulsar client and
grpc are used together without proper shading.

*Solution*

Upgrade netty/protobuf/grpc dependencies.

- update netty from `4.1.12` to `4.1.22`, which is the one grpc is using and closer to the one that pulsar is using.
- update grpc from `1.5.0` to `1.12.0`, which is using netty `4.1.22` and protobuf `3.5.1`.
- update protobuf from `3.4.0` to `3.5.1`

Related Issue: apache/pulsar#1844
@sijie sijie added this to the 4.8.0 milestone May 25, 2018
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

I am running bookies and clients with that version in production.

+1

@sijie
Copy link
Member Author

sijie commented May 25, 2018

@merlimat please review

Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

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

👍

@sijie
Copy link
Member Author

sijie commented May 25, 2018

IGNORE IT CI

@sijie sijie self-assigned this May 25, 2018
@sijie sijie closed this in 7ea615e May 25, 2018
sijie added a commit that referenced this pull request Jun 4, 2018
Descriptions of the changes in this PR:

*Motivation*

The netty version in bookkeeper is a bit dated than the version in pulsar.
Hence the grpc version is limited to the version that use same netty version.
It causes issues at pulsar using bookkeeper, because pulsar has been using
a newer version for longer time. This causes conflicts when pulsar client and
grpc are used together without proper shading.

*Solution*

Upgrade netty/protobuf/grpc dependencies.

- update netty from `4.1.12` to `4.1.22`, which is the one grpc is using and closer to the one that pulsar is using.
- update grpc from `1.5.0` to `1.12.0`, which is using netty `4.1.22` and protobuf `3.5.1`.
- update protobuf from `3.4.0` to `3.5.1`

Related Issue: apache/pulsar#1844

Author: Sijie Guo <sijie@apache.org>

Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Jia Zhai <None>, Matteo Merli <mmerli@apache.org>

This closes #1441 from sijie/bump_grpc_version
@sijie sijie deleted the bump_grpc_version branch July 16, 2018 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants