Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness - API / Semantic Implementation
-
Low
-
Normal
-
User Report
-
All
-
None
-
Description
When running cassandra-stress .... -node 127.0.0.1:53439
java.lang.RuntimeException: java.lang.IllegalArgumentException: Failed to add contact point: 127.0.0.1:53439 at org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:146) at org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:114) at org.apache.cassandra.stress.settings.SettingsSchema.createKeySpaces(SettingsSchema.java:66) at org.apache.cassandra.stress.settings.StressSettings.maybeCreateKeyspaces(StressSettings.java:154) at org.apache.cassandra.stress.StressAction.run(StressAction.java:56) at org.apache.cassandra.stress.Stress.run(Stress.java:155) at org.apache.cassandra.stress.Stress.main(Stress.java:63) Caused by: java.lang.IllegalArgumentException: Failed to add contact point: 127.0.0.1:53439 at com.datastax.driver.core.Cluster$Builder.addContactPoint(Cluster.java:943) at org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:134) at org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:137) ... 6 more Caused by: java.net.UnknownHostException: 127.0.0.1:53439: invalid IPv6 address at java.net.InetAddress.getAllByName(InetAddress.java:1170) at java.net.InetAddress.getAllByName(InetAddress.java:1127) at com.datastax.driver.core.Cluster$Builder.addContactPoint(Cluster.java:939) ... 8 more
It may work using -port native=53439, but that would not be suitable for -node ... whitelist when nodes are on different ports.
I'm not sure if host:port ever worked here, but ccm seems to think it should, and it's handled elsewhere in the tool.