Pergunta

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

Foi útil?

Solução

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

data_center
-------------
datacenter1 
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top