Discover nodes from another datacenter

Is it possible to discover list of nodes from another datacenter in a Cassandra cluster?

Let us say I have the following information:

<ol> <li>My Cassandra cluster consists of multiple datacenters (say "dc1" and "dc2").</li> <li>I know an IP address of one of the nodes from, say, datacenter "dc1".</li> </ol>

Using the datastax java library I have tried to do the following:

<ol> <li>

read list of peers directly from the system.peers table - but it returns just a few of them (it was read with consistency level ALL), all belonging to the "dc1";

</li> <li>

use cluster.getMetada().getAllHosts() - but it returns me a full list of hosts only within "dc1".

</li> </ol>

It looks like there is no way to get this information about other datacenter without knowing at least one node from the "dc2". Am I wrong?


There should be at least one seed by DC.

Attention: In multiple data-center clusters, include at least one node from each datacenter (replication group) in the seed list.



  • Peer-to-Peer application using java
  • ttl in cassandra creating tombstones
  • Cassandra Batch Insert in Python
  • Error installing .bna file on ibm starter plan for blockchain
  • How to bring up the new node
  • What's the meaning of the ethereum Parity console output lines?
  • How to make values unique in cassandra
  • Java inheritance with parameterized Lists
  • Can somebody shed a light what this strange DHT response means?
  • GAE Transaction in root entity
  • How can I output data with special characters visible?
  • django - make datetimefield accept unix timestamp
  • Google OAuth2 for an web application hosted behind NAT (intranet server without public IP)
  • How to resolve docker host names (/etc/hosts) in containers
  • Should I be afraid to use UDP to make a client/server broadcast talk?
  • Thread 1: EXC_BAD_ACCESS (code =1 address = 0x0)
  • Combining SpatialPolygonsDataFrame of two neighbour countries
  • Meteor: Do Something On Email Verification Confirmation
  • Cannot resolve symbol 'MyApi'
  • How to get address from latitude and longitude android google map v2 [duplicate]
  • Can Jackson SerializationFeature be overridden per field or class?
  • Cross-Platform Protobuf Serialization
  • Does CUDA 5 support STL or THRUST inside the device code?
  • Fill an image in a square container while keeping aspect ratio
  • Redux, normalised entities and lodash merge
  • Rearranging Cells in UITableView Bug & Saving Changes
  • Why winpcap requires both .lib and .dll to run?
  • How to format a variable of double type
  • Windows forms listbox.selecteditem displaying “System.Data.DataRowView” instead of actual value
  • Android Studio and gradle
  • InvalidAuthenticityToken between subdomains when logging in with Rails app
  • SQL merge duplicate rows and join values that are different
  • using HTMLImports.whenReady not working in chrome
  • coudnt use logback because of log4j
  • LevelDB C iterator
  • Can't mass-assign protected attributes when import data from csv file
  • JaxB to read class hierarchy
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • reshape alternating columns in less time and using less memory
  • Reading document lines to the user (python)