Thank you.
The -Dcom.sun.jndi.rmiURLParsing=legacy works for me.

-Joe

On 4/27/2022 4:28 AM, Erick Ramirez wrote:
This issue was reported in https://community.datastax.com/questions/13764/ as well. TL;DR the URL parser for JNDI providers was made stricter in Oracle Java 8u331 and brackets are only allowed around IPv6 addresses. The URL format in NodeProbe.java wraps the host in square brackets so nodetool fails with the syntax exception.

Jermy Li posted PR #1586 and I've requested him to log a ticket for it (CASSANDRA-17581). Israel Fuchter and penky28 posted the following workarounds:

OPTION 1 - Add a legacy flag to disable the new validation, for example:

$ nodetool -Dcom.sun.jndi.rmiURLParsing=legacy status

OPTION 2 - Specify the hostname with an IPv6 subnet prefix, for example:

$ nodetool -h ::FFFF:127.0.0.1 status

Would you please try both workarounds and let us know if either of them work for you? Cheers!

--
This email has been checked for viruses by AVG.
https://www.avg.com

Reply via email to