How can I find the datacenter name for my Datastax datasource?
AnsweredMy Datastax datasource requires me to input the datacenter name in the "datacenter" field. How do I find my datacenter name?
-
Official comment
You can find the datacenter name by executing the CQL query:
select data_center from system.local;
This will return the datacenter name. You can also reference this https://stackoverflow.com/questions/19489498/getting-cassandra-datacenter-name-in-cqlsh
Comment actions
Please sign in to leave a comment.
1 comment