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
• 7,340 points
791 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,890 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,980 points
1,835 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, 2019 in DevOps Tools by Isha
816 views
0 votes
1 answer

All commands in Vagrant are giving me errors

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

answered Mar 5, 2019 in DevOps Tools by Kyraa
1,870 views
0 votes
1 answer

What are the steps to unstage files and discard changes in the working directory?

If the git status command displays 'myfile.txt' ...READ MORE

answered Nov 26, 2019 in DevOps Tools by Sirajul
• 59,230 points
2,003 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,034 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP