Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Nodetool showing URISyntaxException in checking Cassandra version

Solved1.09K views6th July 2023
0
Jo Aldin Ano46 27th April 2023 0 Comments

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

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 6th July 2023

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Arunkrishna Shreeder [SLC] [DevOps Advocate]4.00K Posted 27th April 2023 5 Comments

Hi Aldin,

Can you try the workarounds suggested here ?
https://stackoverflow.com/questions/72258217/cassandra-nodetool-urisyntaxexception-malformed-ipv6-address-at-index-7

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 6th July 2023
Jo Aldin Ano commented 27th April 2023

Hi mates,

Thank you for your suggestions. This worked!

PS C:Program FilesCassandrabin> .nodetool -h ::FFFF:127.0.0.1 version
ReleaseVersion: 3.7
PS C:Program FilesCassandrabin>

Jo Aldin Ano commented 27th April 2023

Hi mates,

Would it be possible for your side to update the below procedure?

https://docs.dataminer.services/user-guide/Advanced_Functionality/Security/Advanced_security_configuration/Database_security/Security_Cassandra_general/Cassandra_updating.html?tabs=tabid-1

Regards,
Aldin

Jo Aldin Ano commented 27th April 2023

Hi mates,

.nodetool drain also doesn’t work. May I please request for your advice?

PS C:Program FilesCassandrabin> .nodetool drain
nodetool: Failed to connect to ‘127.0.0.1:7199’ – URISyntaxException: ‘Malformed IPv6 address at index 7: rmi://[127.0.0.1]:7199’.
PS C:Program FilesCassandrabin> .nodetool ::FFFF:127.0.0.1 drain
nodetool: Found unexpected parameters: [::FFFF:127.0.0.1, drain]
See ‘nodetool help’ or ‘nodetool help ‘.
PS C:Program FilesCassandrabin> nodetool -Dcom.sun.jndi.rmiURLParsing=legacy drain
nodetool : The term ‘nodetool’ is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ nodetool -Dcom.sun.jndi.rmiURLParsing=legacy drain
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (nodetool:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Suggestion [3,General]: The command nodetool was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.nodetool”. See “get-help about_Command_Precedence” for more details.
PS C:Program FilesCassandrabin> .nodetool -Dcom.sun.jndi.rmiURLParsing=legacy drain
nodetool: Found unexpected parameters: [-Dcom, .sun.jndi.rmiURLParsing=legacy, drain]
See ‘nodetool help’ or ‘nodetool help ‘.
PS C:Program FilesCassandrabin>

Jo Aldin Ano commented 27th April 2023

This one worked.

PS C:Program FilesCassandrabin> .nodetool -h ::FFFF:127.0.0.1 drain
PS C:Program FilesCassandrabin>

Arunkrishna Shreeder [SLC] [DevOps Advocate] commented 27th April 2023

Hi, I believe the command failed since you have left the -h option. The command worked after you included the -h option back.

1
Robert Thevis [DevOps Enabler]154 Posted 27th April 2023 0 Comments

Hello Jo,

seems like this might be an issue with how the Java Version on your System parses URLs.

Please try this:

nodetool -h ::FFFF:127.0.0.1 version
Anonymous edited answer 27th April 2023
0
Wale Oguntoyinbo [SLC] [DevOps Advocate]3.35K Posted 27th April 2023 0 Comments

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>

Wale Oguntoyinbo [SLC] [DevOps Advocate] Answered question 27th April 2023
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Invoke HTTP Session from QAction 1 Answer | 1 Vote
Masked alarmes permission management 0 Answers | 0 Votes
Remove all Widgets from Section 2 Answers | 5 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin