com.datastax.driver.core.ClusterNameMismatchException: [/ip:9042] Host /ip:9042 reports cluster name 'xyz cluster' that doesn't match our cluster name 'dev3 dev3 cluster'. This host will be ignored.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via DataStax JIRA by Vishy Kasar, 1 year ago
[/ip:9042] Host /ip:9042 reports cluster name 'xyz cluster' that doesn't match our cluster name 'dev3 dev3 cluster'. This host will be ignored.
via DataStax JIRA by Vishy Kasar, 1 year ago
[/ip:9042] Host /ip:9042 reports cluster name 'xyz cluster' that doesn't match our cluster name 'dev3 dev3 cluster'. This host will be ignored.
via GitHub by slivne
, 2 years ago
[localhost/127.0.0.1:9042] Host localhost/127.0.0.1:9042 reports cluster name 'urchin' that doesn't match our cluster name 'Test Cluster'. This host will be ignored.
com.datastax.driver.core.ClusterNameMismatchException: [/ip:9042] Host /ip:9042 reports cluster name 'xyz cluster' that doesn't match our cluster name 'dev3 dev3 cluster'. This host will be ignored.
at com.datastax.driver.core.Connection.checkClusterName(Connection.java:240)
at com.datastax.driver.core.Connection.initializeTransport(Connection.java:156)
at com.datastax.driver.core.Connection.(Connection.java:112)
at com.datastax.driver.core.PooledConnection.(PooledConnection.java:35)
at com.datastax.driver.core.Connection$Factory.open(Connection.java:522)
at com.datastax.driver.core.HostConnectionPool.(HostConnectionPool.java:86)
at com.datastax.driver.core.SessionManager.replacePool(SessionManager.java:269)
at com.datastax.driver.core.SessionManager.access$400(SessionManager.java:39)
at com.datastax.driver.core.SessionManager$3.call(SessionManager.java:301)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.