Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E82F4200BB4 for ; Tue, 1 Nov 2016 18:31:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E6A38160AF7; Tue, 1 Nov 2016 17:31:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 92E5F160ADA for ; Tue, 1 Nov 2016 18:31:05 +0100 (CET) Received: (qmail 41948 invoked by uid 500); 1 Nov 2016 17:31:03 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 41938 invoked by uid 99); 1 Nov 2016 17:31:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2016 17:31:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 038BA1806B5 for ; Tue, 1 Nov 2016 17:31:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.899 X-Spam-Level: * X-Spam-Status: No, score=1.899 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id uDDdaJnur7qO for ; Tue, 1 Nov 2016 17:31:00 +0000 (UTC) Received: from mail-yb0-f175.google.com (mail-yb0-f175.google.com [209.85.213.175]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 04D5D5FC80 for ; Tue, 1 Nov 2016 17:31:00 +0000 (UTC) Received: by mail-yb0-f175.google.com with SMTP id d128so72786007ybh.2 for ; Tue, 01 Nov 2016 10:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=S9r4ZdyVtNbfIGbME8GE7xQNyrt1KKqnyQtlSdZb1iA=; b=oy+9nkVx49mzPw+ITUlGRADlimxtKl4eSXpOgI2KhWi52pCo/3jGgYmUThV9gUljal o57+x0w4pReomY2wJi7N//QSOvJ5ZJwFPp0UpTrO86fqK34bGq4EutuYjzruGJymPmCK HNBzAPFG8oI2SmyWRm84llEV8v6yxDiiAhSLRTCe3x0CjlPaDKIDBCQ9QYeXbpZ5stAe UV485bvbR+4oN0GxlqeI4WCoeu4wVAur7BbQ2AsKVIKg3i/N3/XQojXfiXfXCOEmY4B8 USR5/TD+Wz4mt+0R3qmjWq3d/95ZEPYPazvPH13wGZ4obMw0i/zZm62aMVLWhMDDoQnq 7Prw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=S9r4ZdyVtNbfIGbME8GE7xQNyrt1KKqnyQtlSdZb1iA=; b=mm3PtbLS75rKZsryza68S9UMMYzUouZZqXnoxtOip/1E3xjV/NeMbEL/yo5WMT811G f1i9mLMQ+HfbgFxN683nY7090OjRjti5McKnkAoG9CqFi7QV71Ch1tW8ZF1LQxXU92nw oLvpMsV+e6fCx0tWa090SlcneqSjK1odfoXyqKXfF3BKiz0eVpbRD+fUyLp7PkBtMIQ8 ois3ya3C7bDq9BDYdDvCr57tJ+Fb14IZpJ26drhgB/++lMHCwt1R0CcuRypLm/EXiGaz 1rogOfRMzF347Vaj4IWB8kaJsNJWj1Fqg4DfjcYQEBVEUVtXgxk5jVW9teofSwF2s9uI pmeQ== X-Gm-Message-State: ABUngvcJxlrxF7s+8mB+2lFsE7AZz8HqXZectklRqEamQN6z13PAvraNDA10/zUYeQ+wCkVu7jc5nzAPCzWTxA== X-Received: by 10.36.73.150 with SMTP id e22mr2002387itd.17.1478021453357; Tue, 01 Nov 2016 10:30:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.227.78 with HTTP; Tue, 1 Nov 2016 10:30:52 -0700 (PDT) In-Reply-To: References: From: Jai Bheemsen Rao Dhanwada Date: Tue, 1 Nov 2016 10:30:52 -0700 Message-ID: Subject: Re: Cassandra reaper To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a11448f12b2c99c054040af16 archived-at: Tue, 01 Nov 2016 17:31:07 -0000 --001a11448f12b2c99c054040af16 Content-Type: text/plain; charset=UTF-8 Cassandra version is 2.1.16 In my setup I don't see it is writting to any logs On Tue, Nov 1, 2016 at 10:25 AM, Alexander Dejanovski < alex@thelastpickle.com> wrote: > Do you have anything in the reaper logs that would show a failure of some > sort ? > Also, can you tell me which version of Cassandra you're using ? > > Thanks > > On Tue, Nov 1, 2016 at 6:15 PM Jai Bheemsen Rao Dhanwada < > jaibheemsen@gmail.com> wrote: > >> Thanks Alex, >> >> Forgot to mention but I did add the cluster. See the status below. It >> says the status is running but I don't see any repair happening. this is in >> the same state from past 1 days. >> b/w there not much of data in cluster. >> >> [root@machine cassandra-reaper]# ./bin/spreaper status-repair 3 >> # Report improvements/bugs at https://github.com/spotify/ >> cassandra-reaper/issues >> # ------------------------------------------------------------ >> ------------------ >> # Repair run with id '3': >> { >> "cause": "manual spreaper run", >> "cluster_name": "production", >> "column_families": [], >> "creation_time": "2016-11-01T00:39:15Z", >> "duration": null, >> "end_time": null, >> "estimated_time_of_arrival": null, >> "id": 3, >> "intensity": 0.900, >> "keyspace_name": "users", >> * "last_event": "no events",* >> "owner": "root", >> "pause_time": null, >> "repair_parallelism": "DATACENTER_AWARE", >> "segments_repaired": 0, >> "start_time": "2016-11-01T00:39:15Z", >> * "state": "RUNNING",* >> "total_segments": 301 >> } >> [root@ machine cassandra-reaper]# >> >> On Tue, Nov 1, 2016 at 9:24 AM, Alexander Dejanovski < >> alex@thelastpickle.com> wrote: >> >> Hi, >> >> The first step in using reaper is to add a cluster to it, as it is a tool >> that can manage multiple clusters and does not need to be executed on a >> Cassandra node (you can run in on any edge node you want). >> >> You should run : ./bin/spreaper add-cluster 127.0.0.1 >> Where you'll replace 127.0.0.1 by the address of one of the nodes of your >> cluster. >> >> Then you can run : ./bin/spreaper cluster_name keyspace_name >> to start repairing a keyspace. >> >> You might want to drop in the UI made by Stefan Podkowinski which might >> ease things up for you, at least at the beginning : https://github.com/ >> spodkowinski/cassandra-reaper-ui >> >> Worth mentioning that at The Last Pickle we maintain a fork of Reaper >> that handles incremental repair, works with C* 2.x and 3.0, and bundles the >> UI : https://github.com/thelastpickle/cassandra-reaper >> We have a branch that allows using Cassandra as a storage backend instead >> of Postgres : https://github.com/thelastpickle/cassandra- >> reaper/tree/add-cassandra-storage >> It should be merged to master really soon and should be ready to use. >> >> Cheers, >> >> >> On Tue, Nov 1, 2016 at 1:45 AM Jai Bheemsen Rao Dhanwada < >> jaibheemsen@gmail.com> wrote: >> >> Hello, >> >> Has anyone played around with the cassandra reaper ( >> https://github.com/spotify/cassandra-reaper)? >> >> if so can some please help me with the set-up, I can't get it working. I >> used the below steps: >> >> 1. create jar file using maven >> 2. java -jar cassandra-reaper-0.2.3-SNAPSHOT.jar server >> cassandra-reaper.yaml >> 3. ./bin/spreaper repair production users >> >> -- >> ----------------- >> Alexander Dejanovski >> France >> @alexanderdeja >> >> Consultant >> Apache Cassandra Consulting >> http://www.thelastpickle.com >> >> >> -- > ----------------- > Alexander Dejanovski > France > @alexanderdeja > > Consultant > Apache Cassandra Consulting > http://www.thelastpickle.com > --001a11448f12b2c99c054040af16 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Cassandra version is 2.1.16

In my setup= I don't see it is writting to any logs

On Tue, Nov 1, 2016 at 10:25 AM, Alex= ander Dejanovski <alex@thelastpickle.com> wrote:
Do you have anything in the re= aper logs that would show a failure of some sort ?
Also, can you tell m= e which version of Cassandra you're using ?

Th= anks=C2=A0

On Tue, Nov 1, 2016 at 6:15 PM Jai Bheem= sen Rao Dhanwada <jaibheemsen@gmail.com> wrote:
Thanks Al= ex,

F= orgot to mention but I did add the cluster. See the status below. It says t= he status is running but I don't see any repair happening. this is in t= he same state from past 1 days.
b/w there not much of data in cluster.

[root@machine cassandra-reaper]# =C2=A0./bin/spreaper = status-repair 3
# -----------------------------------= -------------------------------------------
# Repair run with id '3':
{
=C2=A0 "cause": "manual spreaper run",<= /div>
=C2=A0 "cluster_na= me": "production",
=C2=A0 "column_families": [],
=C2=A0 "creation_time": "2016-11= -01T00:39:15Z",
= =C2=A0 "duration": null,
=C2=A0 "end_time": null,
=C2=A0 "estimated_time_of_arrival": null,=
=C2=A0 "id":= 3,
=C2=A0 "intens= ity": 0.900,
=C2= =A0 "keyspace_name": "users",
=C2= =A0 "last_event": "no events",
=C2=A0 "owner": "root",=
=C2=A0 "pause_tim= e": null,
=C2=A0 &= quot;repair_parallelism": "DATACENTER_AWARE",
=C2=A0 "segments_repaired":= 0,
=C2=A0 "start_= time": "2016-11-01T00:39:15Z",
=C2=A0 = "state": "RUNNING",
=C2=A0 "total_segments": 301
}
[root@=C2=A0machine=C2=A0cassandra-reaper]#

On Tue, Nov 1, 2016 at 9:24 AM, Alexander Dejanovski <= span dir=3D"ltr" class=3D"m_-7587220587744800626gmail_msg"><alex@thelastpickle.com> wrote:
Hi,

The first step in using reaper is to add a cluster to it, as it is a tool = that can manage multiple clusters and does not need to be executed on a Cas= sandra node (you can run in on any edge node you want).

You should run : .= /bin/spreaper add-cluster 127.0.0.1
Where you'll replace 127.0.0.1 by the address of one of th= e nodes of your cluster.=C2=A0

Then you can run : ./bin/spreaper cluster_n= ame keyspace_name
to st= art repairing a keyspace.

You might want to drop in the UI made by Stefan= =C2=A0Podkowinski which might ease things up for you, at least at the begin= ning :=C2=A0https://github= .com/spodkowinski/cassandra-reaper-ui

=
Worth mentioning that = at The Last Pickle we maintain a fork of Reaper that handles incremental re= pair, works with C* 2.x and 3.0, and bundles the UI : https://github.com/thelastpickle/cassandra-r= eaper=C2=A0
We= have a branch that allows using Cassandra as a storage backend instead of = Postgres :=C2=A0https://github.com/thelastpickle/cassandra-reaper/= tree/add-cassandra-storage
It should be merged to master really soon and should be ready = to use.=C2=A0

Chee= rs,


On Tue, Nov 1, 2016 at 1:45 AM Jai Bheemsen Rao Dhanwad= a <jaibheemsen@gmail.com> wrote:
Hello,

Has anyone played around with the cassandra reaper (https://github.com/spotify/cassan= dra-reaper)?

if so can some please help me with the set-up, I can'= t get it working. I used the below steps:

1. create jar file using maven
2.=C2=A0java -jar cassandra-reaper-0.2.3-SNAPSHOT.jar server=C2=A0<= span style=3D"font-family:helvetica;font-size:12px" class=3D"m_-75872205877= 44800626m_-4716345205299366494m_7023766408586502786gmail_msg m_-75872205877= 44800626gmail_msg">cassandra-reaper.yaml
3.=C2=A0./bin/spreaper repair pro= duction users
--
-------= ----------
Alexander Dejanovski
France
@alexanderdeja

Consultant
Apache Cassandra Consulting

--
-----------------
Alexander Dejanovski
France
@alexanderdeja

Consultant
Apache Cassandra Consulting
http://www.thelas= tpickle.com

--001a11448f12b2c99c054040af16--