Re: Snapshot verification

2017-10-31 Thread Varun Gupta
We use COPY command to generate a file, from source and destination. After that you can use diff tool. On Mon, Oct 30, 2017 at 10:11 PM Pradeep Chhetri wrote: > Hi, > > We are taking daily snapshots for backing up our cassandra data and then > use our backups to restore in

Re: Best approach to prepare to shutdown a cassandra node

2017-10-19 Thread Varun Gupta
Does, nodetool stopdaemon, implicitly drain too? or we should invoke drain and then stopdaemon? On Mon, Oct 16, 2017 at 4:54 AM, Simon Fontana Oscarsson < simon.fontana.oscars...@ericsson.com> wrote: > Looking at the code in trunk, the stopdemon command invokes the > CassandraDaemon.stop()

Re: Corrupted commit log prevents Cassandra start

2017-07-08 Thread Varun Gupta
If you already have a regular cadence of repair then you can set "commit_failure_policy" to ignore in cassandra.yaml. So that C* process does not crash on corrupt commit log. On Fri, Jul 7, 2017 at 2:10 AM, Hannu Kröger wrote: > Hello, > > yes, that’s what we do when things

Re: "nodetool repair -dc"

2017-07-08 Thread Varun Gupta
I do not see the need to run repair, as long as cluster was in healthy state on adding new nodes. On Fri, Jul 7, 2017 at 8:37 AM, vasu gunja wrote: > Hi , > > I have a question regarding "nodetool repair -dc" option. recently we > added multiple nodes to one DC center, we

[IMPORTANT UPDATE]: PLEASE DO NOT UPDATE SCHEMA

2017-06-27 Thread Varun Gupta
Hi Cassandra-Users, C* 3.0.13 RELEASE HAS A CORNER CASE BUG ON SCHEMA UPDATE, WHICH CORRUPTS THE DATA. PLEASE DO NOT UPDATE SCHEMA. OUR TEAM IS WORKING ON FIXING THE ISSUE! Thanks, Varun

Re: Convert single node C* to cluster (rebalancing problem)

2017-06-15 Thread Varun Gupta
Akhil, As per the blog, nodetool status shows data size for node1 even for token ranges it does not own. Ain't this is bug in Cassandra? Yes, on disk data will be present but it should be reflected in nodetool status. On Thu, Jun 15, 2017 at 6:17 PM, Akhil Mehra wrote: >

Re: [Cassandra] Ignoring interval time

2017-05-30 Thread Varun Gupta
Can you please check Cassandra Stats, if cluster is under too much load. This is the symptom, not the root cause. On Tue, May 30, 2017 at 2:33 AM, Abhishek Kumar Maheshwari < abhishek.maheshw...@timesinternet.in> wrote: > Hi All, > > > > Please let me know why this debug log is coming: > > > >

Re: Restarting nodes and reported load

2017-05-30 Thread Varun Gupta
Can you please check if you have incremental backup enabled and snapshots are occupying the space. run nodetool clearsnapshot command. On Tue, May 30, 2017 at 11:12 AM, Daniel Steuernol wrote: > It's 3-4TB per node, and by load rises, I'm talking about load as reported >

Re: How to know when repair repaired something?

2017-05-30 Thread Varun Gupta
I am missing the point, why do you want to re-trigger the process post repair. Repair will sync the data correctly. On Mon, May 29, 2017 at 8:07 AM, Jan Algermissen wrote: > Hi, > > is it possible to extract from repair logs the writetime of the writes > that needed

Re: Is it safe to upgrade 2.2.6 to 3.0.13?

2017-05-19 Thread Varun Gupta
We upgraded from 2.2.5 to 3.0.11 and it works fine. I will suggest not to go with 3.013, we are seeing some issues with schema mismatch due to which we had to rollback to 3.0.11. Thanks, Varun > On May 19, 2017, at 7:43 AM, Stefano Ortolani wrote: > > Here

Re: Cassandra Server 3.10 unable to Start after crash - commitlog needs to be removed

2017-05-19 Thread Varun Gupta
Yes the bugs need to be fixed, but as a work around on dev environment, you can enable cassandra.yaml option to override any corrupted commit log file. Thanks, Varun > On May 19, 2017, at 11:31 AM, Jeff Jirsa wrote: > > > >> On 2017-05-19 08:13 (-0700), Haris Altaf

Re: Nodes stopping

2017-05-11 Thread Varun Gupta
down, I'm > not sure how else it would be pre-empted. No one else on the team is on the > servers and I haven't been shutting them down. There also is no java memory > dump on the server either. It appears that the process just died. > > > > On May 11 2017, at 1:36 pm, Varun

Re: Cassandra Snapshots and directories

2017-05-11 Thread Varun Gupta
I did not get your question completely, with "snapshot files are mixed with files and backup files". When you call nodetool snapshot, it will create a directory with snapshot name if specified or current timestamp at /data///backup/. This directory will have all sstables, metadata files and

Re: Nodes stopping

2017-05-11 Thread Varun Gupta
What do you mean by "no obvious error in the logs", do you see node was drained or shutdown. Are you sure, no other process is calling nodetool drain or shutdown, OR pre-empting cassandra process? On Thu, May 11, 2017 at 1:30 PM, Daniel Steuernol wrote: > > I have a 6

Re: repair question (-dc option)

2017-05-11 Thread Varun Gupta
If there was no node down during that period, and you are using LOCAL_QUORUM read/write, then yes above command works. On Thu, May 11, 2017 at 11:59 AM, Gopal, Dhruva wrote: > Hi – > > I have a question on running a repair after bringing up a node that was > down

Re: Node containing all data of the cluster

2017-05-10 Thread Varun Gupta
Hi Igor, You can setup cluster with configuration as below. Replication: DC1: 3 and DC2: 1. If you are using datastax java driver, then use dcaware load balancing policy and pass DC1, as input. As well as add DC2 node in ignore nodes, so request never goes to that node. Thanks, Varun On Wed,

Sanity checks to run post restore data?

2016-11-30 Thread Varun Gupta
Hi, We are periodically backing up sstables, and need to learn, what sanity checks should be performed after restoring them? Thanks, Varun