Running multiple instances of Cassandra on each node in the cluster

2018-05-10 Thread Vishal1.Sharma
Dear community, Is it possible to have a cluster in Cassandra where each of the server is running multiple instances of Cassandra(each instance is part of the same cluster). I'm aware that if there's a single server in the cluster, then it's possible to run multiple instances of Cassandra on

Basic Copy vs Snapshot for backup

2018-05-10 Thread Vishal1.Sharma
Dear Community, Is there any benefit of taking backup of a node via 'nodetool snapshot' vs simply copying the data directory other than the fact that snapshot will first flush the memTable and then take the backup. Thanks and regards, Vishal Sharma "Confidentiality Warning: This message and

Database not getting updated

2018-05-11 Thread Vishal1.Sharma
Dear community, Sometimes I've noticed that the changes done in the database, even when done successfully are not reflected e.g. I added/deleted a row via cqlsh/Datastax C++ driver, the command/API was successful, yet when I fetched the contents of the table, the row that I had added/deleted,

RE: Database not getting updated

2018-05-11 Thread Vishal1.Sharma
Who’s awesome? Jeff Jirsa is awesome! ☺ Thanks and regards, Vishal Sharma From: Jeff Jirsa [mailto:jji...@gmail.com] Sent: Friday, May 11, 2018 5:51 PM To: user@cassandra.apache.org Subject: Re: Database not getting updated This usually happens when you’ve got weird timestamps or a delete in

Restoring snapshot

2018-06-11 Thread Vishal1.Sharma
Dear Community, I’ll appreciate if I can get some responses to the observation below: https://stackoverflow.com/q/50763067/5701173 Thanks and regards, Vishal Sharma "Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s). are

Restoring snapshot

2018-06-13 Thread Vishal1.Sharma
Dear Community, I took a snapshot from a node which was part of a 2 node cluster. There were 2 keyspaces in that cluster K1 and K2. I took snapshot of K1 only. Now I create both keyspaces in some other cluster having only one node. When I tried to restore the snapshot(of keyspace K1) in that

RE: Restoring snapshot

2018-06-13 Thread Vishal1.Sharma
On altering the Keyspace, the warning disappears. I think the warning was not totally wrong, just slightly inaccurate. From: Nitan Kainth [mailto:nitankai...@gmail.com] Sent: Wednesday, June 13, 2018 4:38 PM To: user@cassandra.apache.org Subject: Re: Restoring snapshot Change RF fir k2 and

RE: Restoring snapshot

2018-06-13 Thread Vishal1.Sharma
For both K1 and K2, replication factor is 2 in the new cluster(although the number of nodes is 1). I can understand the portion of the warning which says that “only 1 replica could be found” but the question is, why is it giving the name of keyspace K2 when I was restoring only K1(It should

Scaling in Cassandra

2018-05-29 Thread Vishal1.Sharma
Dear Community, I’ll appreciate if I can get some help below: https://stackoverflow.com/q/50581473/5701173 Regards, Vishal Sharma "Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s). are confidential and may be privileged. If

Cassandra read process

2018-04-17 Thread Vishal1.Sharma
Dear Community, Can you please help in answering the question below: https://stackoverflow.com/questions/49769643/cassandra-read-process Thanks and regards, Vishal Sharma "Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s). are

Memtable type and size allocation

2018-04-17 Thread Vishal1.Sharma
Dear Community, In Cassandra 3.11.2, there are 3 choices for the type of Memtable allocation and as per my understanding, if I want to keep Memtables on JVM heap I can use heap_buffers and if I want to store Memtables outside of JVM heap then I've got 2 options offheap_buffers and

SSTable count in Nodetool tablestats(LevelCompactionStrategy)

2018-04-17 Thread Vishal1.Sharma
Dear Community, One of the tables in my keyspace is using LevelCompactionStrategy and when I used the nodetool tablestats keyspace.table_name command, I found some mismatch in the count of SSTables displayed at 2 different places. Please refer the attached image. The command is giving SSTable

RE: SSTable count in Nodetool tablestats(LevelCompactionStrategy)

2018-04-20 Thread Vishal1.Sharma
I used version: 3.11.2 I want to add that both the counts (SSTables, sum of numbers shown in levels), change after some time and become equal(i.e. the mismatch does not last forever) which has led me to believe that this mismatch happens only when the compaction process is going on and once

Integrating Apache Cassandra and Apache Ignite

2018-04-24 Thread Vishal1.Sharma
I'm trying to integrate Apache Ignite with Apache Cassandra(3.11.2) as I want to use Ignite to cache the data present in my already existing Cassandra database. After going through the online resources, I've done the following till now: 1. Downloaded Apache