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

ZOOKEEPER-3494 - remove unnecessary broad netty-all dependency #1039

Closed
wants to merge 2 commits into from

Conversation

nkalmar
Copy link
Contributor

@nkalmar nkalmar commented Aug 5, 2019

Currently netty-all is a 4MB dependency.
Using netty-handler (429KB) and netty-transport-native-epoll (115KB) brings it down to about 1/8 in size.

@nkalmar
Copy link
Contributor Author

nkalmar commented Aug 5, 2019

retest ant build

@dineshappavoo
Copy link

Nice change. LGTM

@asfgit asfgit closed this in 4de5f01 Aug 5, 2019
nkalmar added a commit to nkalmar/zookeeper that referenced this pull request Aug 6, 2019
Currently netty-all is a 4MB dependency.
Using netty-handler (429KB) and netty-transport-native-epoll (115KB) brings it down to about 1/8 in size.

Author: Norbert Kalmar <nkalmar@yahoo.com>

Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Tamás Pénzes, Michael Han <hanm@apache.org>

Closes apache#1039 from nkalmar/ZK-3494
@nkalmar
Copy link
Contributor Author

nkalmar commented Aug 6, 2019

I think this should also get into 3.5, I created a new PR to verify the change (#1041), but it cherry-picks clean.

asfgit pushed a commit that referenced this pull request Aug 6, 2019
Currently netty-all is a 4MB dependency.
Using netty-handler (429KB) and netty-transport-native-epoll (115KB) brings it down to about 1/8 in size.

Author: Norbert Kalmar <nkalmaryahoo.com>

Reviewers: Enrico Olivelli <eolivelligmail.com>, Tamás Pénzes, Michael Han <hanmapache.org>

Closes #1039 from nkalmar/ZK-3494

Author: Norbert Kalmar <nkalmar@yahoo.com>

Reviewers: andor@apache.org

Closes #1041 from nkalmar/branch-3.5
@yunwan
Copy link

yunwan commented Oct 21, 2019

In this PR netty-transport-native-epoll-4.1.42.Final.jar does not contain libnetty_transport_native_epoll_x86_64.so. May be should use

      <dependency>
        <groupId>io.netty</groupId>
        <artifactId>netty-transport-native-epoll</artifactId>
        <classifier>linux-x86_64</classifier>
        <version>${netty.version}</version>
      </dependency>

https://netty.io/wiki/native-transports.html

@eolivelli
Copy link
Contributor

You are totally right!
I wonder why we missed that important binding.
Can you provide a fix please?

stickyhipp pushed a commit to stickyhipp/zookeeper that referenced this pull request Aug 19, 2020
Currently netty-all is a 4MB dependency.
Using netty-handler (429KB) and netty-transport-native-epoll (115KB) brings it down to about 1/8 in size.

Author: Norbert Kalmar <nkalmar@yahoo.com>

Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Tamás Pénzes, Michael Han <hanm@apache.org>

Closes apache#1039 from nkalmar/ZK-3494
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
Currently netty-all is a 4MB dependency.
Using netty-handler (429KB) and netty-transport-native-epoll (115KB) brings it down to about 1/8 in size.

Author: Norbert Kalmar <nkalmar@yahoo.com>

Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Tamás Pénzes, Michael Han <hanm@apache.org>

Closes apache#1039 from nkalmar/ZK-3494
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Sep 3, 2022
Currently netty-all is a 4MB dependency.
Using netty-handler (429KB) and netty-transport-native-epoll (115KB) brings it down to about 1/8 in size.

Author: Norbert Kalmar <nkalmar@yahoo.com>

Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Tamás Pénzes, Michael Han <hanm@apache.org>

Closes apache#1039 from nkalmar/ZK-3494
@nkalmar nkalmar deleted the ZK-3494 branch October 6, 2022 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants