cqlsh queries fial if tombstones are present

0 votes

My table has some tombstones. The problem is that when I perform a spark job on that table, it gives results without any issue, but if I execute the same query using cqlsh it gives errors because of the tombstones present.

Cassandra failure during read query at consistency one(1 replica needed but o replicas responded ,1 failed

I can reslove the tombstone issue by running a repair, but still, why did spark work and cqlsh fail? Both of them use same session and queries.

Jun 18, 2018 in DevOps Tools by shubham
• 6,890 points
38 views

1 answer to this question.

0 votes

There are a few major differences between spark cassandra sn cqlsh

  • It uses the Java Driver instead of the python Driver
  • It has significantly more lenient retry policies
  • It scans the full table by breaking the request into pieces
answered Jun 18, 2018 by DareDev
• 6,810 points

Related Questions In DevOps Tools

0 votes
1 answer

Want a command to be executed in Salt only if a directory is empty

You should consider using this inside your ...READ MORE

answered Jun 12, 2018 in DevOps Tools by Damon Salvatore
• 5,510 points
46 views
0 votes
1 answer
0 votes
1 answer

What are the different services provided by Nagios?

Nagios provides multiple services and I've listed ...READ MORE

answered Mar 1 in DevOps Tools by Isha
40 views
0 votes
1 answer

All commands in Vagrant are giving me errors

Hey @Isha, the problem is with your ...READ MORE

answered Mar 4 in DevOps Tools by Kyraa
54 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
216 views
0 votes
1 answer
0 votes
1 answer
+1 vote
2 answers

What if I delete default VPC in AWS?What are the consequences?

If you wish to recreate the default ...READ MORE

answered Apr 20, 2018 in Cloud Computing by DragonLord999
• 8,380 points
172 views