From user-return-60932-archive-asf-public=cust-asf.ponee.io@cassandra.apache.org Wed Apr 25 02:50:00 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 07834180671 for ; Wed, 25 Apr 2018 02:49:59 +0200 (CEST) Received: (qmail 79192 invoked by uid 500); 25 Apr 2018 00:49:57 -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 79182 invoked by uid 99); 25 Apr 2018 00:49:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2018 00:49:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 67EC8C015D for ; Wed, 25 Apr 2018 00:49:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.898 X-Spam-Level: * X-Spam-Status: No, score=1.898 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] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id bhJnHt_cdWdR for ; Wed, 25 Apr 2018 00:49:55 +0000 (UTC) Received: from mail-ot0-f176.google.com (mail-ot0-f176.google.com [74.125.82.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id E26E15F6C2 for ; Wed, 25 Apr 2018 00:49:54 +0000 (UTC) Received: by mail-ot0-f176.google.com with SMTP id h8-v6so23454941otj.7 for ; Tue, 24 Apr 2018 17:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=fDX7IZFJYS26DpBXDr7aDL2zMUp7+z/lXGBGAuj+TWo=; b=CM9dbbd0BYM4rzmf7rOwsacyOLoXR2++9whEKcq57d/mIjfNyYBKRQ2/ZytEG6Hxso LwhXi539n6ZvlMu/N6s7BegWvz7UHqAp3PIGKb0osyOH+nYfHLwYKhAKFCAVCROrbAqb mPJddph8OB/2N8h2l6zjacpPdCJFJXvaJ27mLuiREJV5Z7BJFDQqp7RRUcUokKQpEfXo Ln0zee62xo/0nDvhT/F0ec0c5R1Y3Jer30ubaBRxg/Mge1TkzNAd1BBEZ0A8ksY2fEI5 2FRoL7/iHFMbL6VKY23mp+VOwL+bB0STxTPUsexMSM/KuetesbMC3ORfILsCbQpcJXLN Clhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=fDX7IZFJYS26DpBXDr7aDL2zMUp7+z/lXGBGAuj+TWo=; b=HuGnFl+QVjgzJmHCYjVbP+iaf8g6ovx8xrkyRJhIFzE9iFPFfgBIeniWlsl8PVKGT9 Phev5nhjwJpjfDAlOjQq8hg/NwK54dKUSNbfFIs3uhNs1snRbnrR7P2bq7N260QiLmeg f6H0g+8dJwd/zyE4AD5MtBTeifD2x2kwSBUg79FdB6uLlepAsik7gmkp9YqIrpwisdSU laazqM+Bf+nBCkmn8FvPKUBjd//PkPj7S6aJqAODgn1jW34pxCqBoSaWPNFOIzLq3Jh8 P6hgzAEBgmL744UzanmYnH61r5Q4TrzTu/j34FsH59tTCn0pFFc1vbefQmovYpS2hYqZ scsw== X-Gm-Message-State: ALQs6tARp6yEToARrCiV1ZnQf5wyK9yk1b0qmpVfd0c3EX9S3dwj6e7b w1pjhKGxFgHlhRXGrpnKJjXGDuo7EApOnIoGXMs= X-Google-Smtp-Source: AB8JxZo8fQ/El8R4MuOEm7nIU9SCcDifHBpxi0pRBSCPsqewPn128joNb40J+U0SdoBq0rwV+YDNXEecjT1IZNw2AYU= X-Received: by 2002:a9d:3c9:: with SMTP id f67-v6mr1121092otf.385.1524617394088; Tue, 24 Apr 2018 17:49:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.198.149 with HTTP; Tue, 24 Apr 2018 17:49:53 -0700 (PDT) In-Reply-To: References: From: Abdul Patel Date: Tue, 24 Apr 2018 20:49:53 -0400 Message-ID: Subject: Re: Cassandra reaper To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary="00000000000031704a056aa1a6e1" --00000000000031704a056aa1a6e1 Content-Type: text/plain; charset="UTF-8" Thanks Joaquin, Yes i used the same and worked fine ..only thing is i had to add userid password ..which is somewhat annoyoing to keep in comfig file ..can i get reed of it and still store on reaper_db keyspace? Also how to clean reaper_db by deleting completed reaper information from gui? Or any other cleanup is required? On Tuesday, April 24, 2018, Joaquin Casares wrote: > Hello Abdul, > > Depending on what you want your backend to be stored on, you'll want to > use a different file. > > So if you want your Reaper state to be stored within a Cassandra cluster, > which I would recommend, use this file as your base file: > > https://github.com/thelastpickle/cassandra-reaper/blob/master/src/ > packaging/resource/cassandra-reaper-cassandra.yaml > > Make a copy of the yaml and include your system-specific settings. Then > symlink it to the following location: > > /etc/cassandra-reaper/cassandra-reaper.yaml > > For completeness, this file is an example of how to use a Postgres server > to store the Reaper state: > > https://github.com/thelastpickle/cassandra-reaper/blob/master/src/ > packaging/resource/cassandra-reaper.yaml > > > Hope that helped! > > Joaquin Casares > Consultant > Austin, TX > > Apache Cassandra Consulting > http://www.thelastpickle.com > > On Tue, Apr 24, 2018 at 7:07 PM, Abdul Patel wrote: > >> Thanks >> >> But the differnce here is cassandra-reaper-caasandra has more paramters >> than the cassandra-reaper.yaml >> Can i just use the 1 file with all details or it looks for one specific >> file? >> >> >> On Tuesday, April 24, 2018, Joaquin Casares >> wrote: >> >>> Hello Abdul, >>> >>> You'll only want one: >>> >>> The yaml file used by the service is located at >>> /etc/cassandra-reaper/cassandra-reaper.yaml and alternate config >>> templates can be found under /etc/cassandra-reaper/configs. It is >>> recommended to create a new file with your specific configuration and >>> symlink it as /etc/cassandra-reaper/cassandra-reaper.yaml to avoid your >>> configuration from being overwritten during upgrades. >>> >>> Adapt the config file to suit your setup and then run `sudo service >>> cassandra-reaper start`. >>> >>> >>> Source: http://cassandra-reaper.io/docs/download/install/#service-co >>> nfiguration >>> >>> >>> Hope that helps! >>> >>> Joaquin Casares >>> Consultant >>> Austin, TX >>> >>> Apache Cassandra Consulting >>> http://www.thelastpickle.com >>> >>> On Tue, Apr 24, 2018 at 6:51 PM, Abdul Patel >>> wrote: >>> >>>> Hi All, >>>> >>>> For reaper do we need both file or only one? >>>> >>>> Cassandra.reaper.yaml >>>> Cassandra-reaper-cassandra.yaml >>>> >>> >>> > --00000000000031704a056aa1a6e1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Joaquin,

Yes i used the same and worked fine ..on= ly thing is i had to add userid password ..which is somewhat annoyoing to k= eep in comfig file ..can i get reed of it and still store on reaper_db keys= pace?
Also how to clean reaper_db by deleting completed reaper in= formation from gui? Or any other cleanup is required?

On Tuesday, Ap= ril 24, 2018, Joaquin Casares <joaquin@thelastpickle.com> wrote:
Hello Abdul,

Depending on what you = want your backend to be stored on, you'll want to use a different file.=

So if you want your Reaper state to be stored wit= hin a Cassandra cluster, which I would recommend, use this file as your bas= e file:


Make a copy of the ya= ml and include your system-specific settings. Then symlink it to the follow= ing location:

/etc/cassandra-reaper/cassandra-reaper.yaml=
For comple= teness, this file is an example of how to use a Postgres server to store th= e Reaper state:


Hope that helped!

Joaquin= Casares
Consultant=
Austin, TX
Apache Cassandra Consulting

On Tue, Apr 24, 2018 at 7:07 PM, Abdul Patel= <abd786.ap@gmail.com> wrote:
Thanks

But the differnce here is cassandra-reaper-= caasandra has more paramters than the cassandra-reaper.yaml
Can i= just use the 1 file with all details or it looks for one specific file?


On Tuesday, April 24, 2018, Joaquin Casares <joaquin@thelastpickle.co= m> wrote:
Hello A= bdul,

You'll only want one:

The yaml file used by the service is located at /etc/cassandra-reaper= /cassandra-reaper.yaml and alternate config templates can be found und= er /etc/cassandra-reaper/configs. It is recommended to create a new file wi= th your specific configuration and symlink it as /etc/cassandra-reaper/cass= andra-reaper.yaml to avoid your configuration from being overwritten d= uring upgrades.

Adapt the config file to suit your= setup and then run `sudo service cassandra-reaper start`.

Hope that helps!

Joaquin Casares
Consultant
Austin, TX

Apa= che Cassandra Consulting
=

On Tue, Apr 24, 2018 at 6:51 PM, Abdul Patel= <abd786.ap@gmail.com> wrote:
Hi All,

For reaper do we need both file or only on= e?

Cassandra.reaper.yaml
Cassandra-reape= r-cassandra.yaml


--00000000000031704a056aa1a6e1--