-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Bug] NoClassDefFoundError: io/grpc/netty/shaded/io/grpc/netty/shaded/io/netty/handler/logging/ByteBufFormat #23513
Comments
@lhotari please take a look |
@suninuni Thanks for reporting this. Please help fixing this issue by providing exact steps to reproduce the problem. Providing all commands that need to be run will be a helpful first step. Thanks! Most likely this is caused by an issue in the shading configuration, but we need a good way to prevent future regressions. That could go in a integration / system test while the fix is made. |
I think we need an integration test for Standalone's Related https://github.com/apache/pulsar/pull/17077/files This is a simple docker-compose.yml which can reproduce the problem
|
This issue it also reproducible in pulsar 3.0.6:
@lhotari pulsar/jetcd-core-shaded/pom.xml Lines 144 to 146 in 7822dca
I’ve removed some configurations in my fork, and tests have passed with the This should address the issue, although the impact on IntelliJ support remains uncertain. |
Removing the attach and unpack configurations caused compile errors for some etcd-related classes in IntelliJ IDEA. IntelliJ expects the artifact JAR path to be target/{artifactId}-{version}.jar. However, the Pulsar build system sets finalName to Line 1762 in 81385c5
Changing finalName to |
I've raise a PR #23604 to address this problem, feel free to take a look, thanks. |
Thanks for the great work on addressing this issue, @Shawyeok! |
Search before asking
Read release policy
Version
4.0.0
Minimal reproduce step
What did you expect to see?
no error.
What did you see instead?
The whole output for bookie-init job
Anything else?
Related #22892 (comment)
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: