Domanda

How can I get the name of the datacenter in cqlsh? It's required for the constructor of DCAwareRoundRobinPolicy.

È stato utile?

Soluzione

cqlsh> use system;
cqlsh:system> select data_center from local;

data_center
-------------
datacenter1 
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top