Re: cpp driver warning for create keyspace statement
Michael, it looks like the issue was related to an invalid keyspace. After I dropped one keyspace (with an invalid datacenter name) and and altered another one the warning is gone. But I can not reproduce it, even when recreating the the previous keyspaces. Oliver 2018-02-02 18:41 GMT+01:00 Michael Fero : > Oliver, > > I have been unable to reproduce this issue using the cpp-driver against a > locally created Apache Cassandra cluster using CCM with proper > modifications to enable GosspingPropertyFileSnitch using the data centers > and racks defined by the `nodetool status` information provided. I would > suggest using CQLSH to query every nodes `system.local` and `system.peers` > tables to make sure they all have the same `data_center` attribute defined > as expected. > > NOTE: The only way that I was able to reproduce the issue using the default > data center aware with token awareness was to provide an invalid data > center name during the keyspace creation; however that is to be expected > since that data center would not exist or be known to the cluster. > > ~Fero > Michael Fero - To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org For additional commands, e-mail: dev-h...@cassandra.apache.org
Re: cpp driver warning for create keyspace statement
Oliver, I have been unable to reproduce this issue using the cpp-driver against a locally created Apache Cassandra cluster using CCM with proper modifications to enable GosspingPropertyFileSnitch using the data centers and racks defined by the `nodetool status` information provided. I would suggest using CQLSH to query every nodes `system.local` and `system.peers` tables to make sure they all have the same `data_center` attribute defined as expected. NOTE: The only way that I was able to reproduce the issue using the default data center aware with token awareness was to provide an invalid data center name during the keyspace creation; however that is to be expected since that data center would not exist or be known to the cluster. ~Fero Michael Fero
Re: cpp driver warning for create keyspace statement
Seems like it might be a bug in the driver. Can you insert some data using the driver and query it from that datacenter either via the driver specifying a DC aware load balancing policy against DC-Ffm-2 with consistency LOCAL_ONE? or if that doesn't work, using cqlsh on a node in that datacenter with CONSISTENCY LOCAL_ONE? Also double check that the DC name reported in status is *exactly* the same as the DC name in the replication details.