Frage

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

War es hilfreich?

Lösung

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

data_center
-------------
datacenter1 
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top