Cassandra Run appears unable to gossip with any seeds,cqlsh link not on, prompting connection refused treatment method

Source: Internet
Author: User
Tags cassandra

Cassandra Run appears unable to gossip with any seeds,cqlsh link not on, prompting connection refused treatment method

Problem description

When Cassandra is started, it appears:

Java.lang.RuntimeException:Unable to gossip with any seeds at Org.apache.cassandra.gms.Gossiper.doShadowRound ( gossiper.java:1160) at Org.apache.cassandra.service.StorageService.checkForEndpointCollision (Storageservice.java : 416) at org.apache.cassandra.service.StorageService.joinTokenRing (Storageserv ice.java:608) at Org.apache.cassandra.service.StorageService.initServer (Storageservice. java:576) at Org.apache.cassandra.service.StorageService.initServer (Storageservice. java:475) at Org.apache.cassandra.service.CassandraDaemon.setup (Cassandradaemon.ja va:346) at Org.apache.cassandra.service.CassandraDaemon.activate (Cassandradaemon. java:461) at Org.apache.cassandra.service.CassandraDaemon.main (Cassandradaemon.jav a:504)

This problem occurs because the seeds and IP settings of the Cassandra.yaml configuration file are incorrect.

Check your Cassandra.yaml and make sure this your "listen_address" and "seeds" values match, with the exception, the S Eeds value requires quotes around it.

Please check that seeds and listen_address are consistent.

Also, if you have used the Scutils method in my previous article to set the hostname, then change the 127.0.0.1 in the seeds configuration to your hostname.

Cassandra Run appears unable to gossip with any seeds,cqlsh link not on, prompting connection refused treatment method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.