I am getting following error while querying the cassandra column family using asp.net csharp. My cassandra version is 1.2.1
An unhandled exception of type 'Cassandra.ProtocolErrorException' occurred in Cassandra.dll
Additional information: Unknown code 10 for a consistency level
Please suggest the resolution.
I think you need to explicitly specify the protocol version to 1 when creating the cluster instance. v3 of C# driver are quite new while v1.2.1 of cassandra server is very old. Please check this official doc for details: http://docs.datastax.com/en/developer/csharp-driver/3.0/common/drivers/introduction/driverDependencies_r.html?scroll=reference_ds_a1z_m5f_5j__build-environment-dependencies-section
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With