正在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