I started to check the procedure for Cassandra upgrade. However, nodetool is not showing the correct current version.
May I please request for your advice on this part?
Below is the Updating Cassandra procedure link:
https://docs.dataminer.services/user-guide/Advanced_Functionality/Security/Advanced_security_configuration/Database_security/Security_Cassandra_general/Cassandra_updating.html?tabs=tabid-1
This is a known issue fixed from Cassandra version 4.0.5 (CASSANDRA-17581).
As a workaround you can try:
nodetool -Dcom.sun.jndi.rmiURLParsing=legacy <command>