문제

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

도움이 되었습니까?

해결책

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

data_center
-------------
datacenter1 
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top