正在cqlsh中获取Cassandra数据中心名称

正在cqlsh中获取Cassandra数据中心名称,cassandra,cqlsh,Cassandra,Cqlsh,如何在cqlsh中获取数据中心的名称? 它是dcawarerRoundRobinPolicy的构造函数所必需的 cqlsh> use system; cqlsh:system> select data_center from local; data_center ------------- datacenter1

如何在
cqlsh
中获取数据中心的名称? 它是
dcawarerRoundRobinPolicy
的构造函数所必需的

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

data_center
-------------
datacenter1