So I see this: cluster_name: 'Test Cluster'
But when I grep -i or ctrl + f for 'datacenter1` in cassandra.yaml, I don't see that anywhere except in a comment. Yet when I do nodetool status, I see: datacenter1 And unless I define my replication as: '{'class': 'NetworkTopologyStrategy', 'datacenter1' : 3}' when creating my keyspace, my inserts / selects don't work because it says 0 replicas available (i.e if i use anything other than 'datacenter1' in the above stmt) I don't see 'datacenter1' in rackdc.properties. So my question is, which file contains 'datacenter1'? On Tue, Oct 11, 2016 at 12:54 AM, Adam Hutson <a...@datascale.io> wrote: > There is a cluster name in the cassandra.yaml for naming the cluster, aka > data center. Then you assign keyspaces to the data center within the CREATE > KEYSPACE stmt with NetworkTopology. > > > On Monday, October 10, 2016, Ali Akhtar <ali.rac...@gmail.com> wrote: > >> Where can I change the default name 'datacenter1'? I've looked through >> the configuration files in /etc/cassandra , and can't find where this value >> is being defined. >> > > > -- > > Adam Hutson > Data Architect | DataScale > +1 (417) 224-5212 > a...@datascale.io >