-
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] DnsResolverUtil "Cannot get DNS TTL settings from sun.net.InetAddressCachePolicy class" in Java 17 #20282
Comments
This was solved by downgrading to Pulsar Version |
@scrottty thanks a lot, saved my time :) faced the same issue |
The exact failing point is above Pulsar reflection usage, not about Netty. But other place may be. @scrottty could you share the error log after "setting |
Well. I get it wrong. Then you mean you downgrade to JDK 11 + Pulsar 2.10.4 and it helps? |
No. It's about how we open module in localrun.
We are currently relying on script to put Ref - |
Not exactly - we still use script |
You may test out #20417 |
Any rough idea when the fix will be released, tisonkun? If it takes long, is there any local patch I can apply. Much appreciated! |
It can be cherry-picked to 3.0.1 and I saw an ongoing discussion for 3.0.1 on our dev@ mailing list. cc @RobertIndie may you check this ticket also? |
@rayintuit Now the fix is picked to branch-3.0 d518b71. That means it will be released with 3.0.1. You can subscribe [email protected] to catch up the related updates. |
Running into a similar problem using Pulsar Client 3.0.0 and JDK 17 in one of our microservices:
This occurs when we build the |
It would be awesome if the fix can be added to v3.1.0, tisonkun. Much appreciated! |
@rayintuit It should be included in v3.1.0 because we merge it into master before we cut branch-3.1. |
If that is the case, it seems like the issue is still there as we are using v3.1.0 for Java 17. Any help looking into it would be greatly appreciated. Thanks again, tisonkun. Java version
pom.xml
Exception
|
@rayintuit the patch only modifies scripts to If you're doing packaging by yourself, you may add-opens by yourself. I'm not sure if we can add-opens in the JARs delivered and convert it out-of-the-box to downsteams. |
Search before asking
Version
Pulsar Version: v3.0.0
OS Version: macOS Ventura 13.3.1 (M1 Mac)
Java Version: openjdk 17.0.7 2023-04-18
Minimal reproduce step
Running through the Debezium example here: https://pulsar.apache.org/docs/3.0.x/io-cdc-debezium/
What did you expect to see?
The
debezium-postgres-source
connector successfully connect to the DBWhat did you see instead?
Fails when running
bin/pulsar-admin source localrun --source-config-file debezium-postgres-source-config.yaml
The error is:
Same as #15349
Anything else?
On a M1 Mac. Have tried older versions and running through Docker to no avail. Even tried editing
pulsar-admin-common.sh
to try different options on Line 98 as per the suggestions in #15349 but nothing workedAre you willing to submit a PR?
The text was updated successfully, but these errors were encountered: