Hi All - this is my first post here.  I've been using Cassandra for several months now and am loving it.  We are moving from Apache HBase to Cassandra for a big data analytics platform.

I'm using java to get rows from Cassandra and very frequently get a java.util.NoSuchElementException when iterating through a ResultSet.  If I retry this query again (often several times), it works.  The debug log on the Cassandra nodes show this message: org.apache.cassandra.service.DigestMismatchException: Mismatch for key DecoratedKey

My cluster looks like this:

Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address         Load       Tokens       Owns (effective)  Host ID                               Rack UN  172.16.100.224  340.5 GiB  512          50.9% 8ba646ac-2b33-49de-a220-ae9842f18806  rack1 UN  172.16.100.208  269.19 GiB  384          40.3% 4e0ba42f-649b-425a-857a-34497eb3036e  rack1 UN  172.16.100.225  282.83 GiB  512          50.4% 247f3d70-d13b-4d68-9a53-2ed58e01a63e  rack1 UN  172.16.110.3    409.78 GiB  768          63.2% 0abea102-06d2-4309-af36-a3163e8f00d8  rack1 UN  172.16.110.4    330.15 GiB  512          50.6% 2a5ae735-6304-4e99-924b-44d9d5ec86b7  rack1 UN  172.16.100.253  98.88 GiB  128          14.6% 6b528b0b-d7f7-4378-bba8-1857802d4f18  rack1 UN  172.16.100.254  204.5 GiB  256          30.0% 87d0cb48-a57d-460e-bd82-93e6e52e93ea  rack1

I suspect this has to do with how I'm using consistency levels? Typically I'm using ONE.  I just set the dclocal_read_repair_chance to 0.0, but I'm still seeing the issue.  Any help/tips?

Thank you!

-Joe Obernberger


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org

Reply via email to