Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
-
All
-
Small
Description
The warning is thrown with pulsar connection when validating the connection, viewing sample and running pipeline job (e.g., working as input).
[2023-04-13T09:10:20,931] [WARN ] o.a.p.c.u.n.DnsResolverUtil - Cannot get DNS TTL settings from sun.net.InetAddressCachePolicy class49java.lang.IllegalAccessException: class org.apache.pulsar.common.util.netty.DnsResolverUtil cannot access class sun.net.InetAddressCachePolicy (in module java.base) because module java.base does not export sun.net to unnamed module @5f5effb0
Need to add more add-opens for it running with Java 17
Needed flag:
--add-opens=java.base/sun.net=ALL-UNNAMED