Wait, isn’t this the Apache Cassandra mailing list? Shouldn’t this be on the 
pickle users list or something?

(Just kidding, everyone. I think there should be room for reaper and DataStax 
inquiries here.)


Sean Durity

From: Joaquin Casares [mailto:joaq...@thelastpickle.com]
Sent: Tuesday, April 24, 2018 9:01 PM
To: user@cassandra.apache.org
Subject: [EXTERNAL] Re: Cassandra reaper

Sure thing Abdul,

That's great to hear! Unfortunately, the JMX authentication needs to be in the 
config file currently. And even if the JMX authentication was stored within 
Cassandra, we would still need to store connection details within the yaml and 
storing the JMX authentication credentials within Cassandra may not be ideal 
from a security standpoint.

The UI keeps logs of all the previous repairs, to the best of my knowledge. If 
you want to completely uninstall Reaper, you can perform a DROP KEYSPACE 
reaper_db; from within cqlsh, but that would remove all schedules as well.

Cheers,

Joaquin

Joaquin Casares
Consultant
Austin, TX

Apache Cassandra Consulting
http://www.thelastpickle.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.thelastpickle.com&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=aC_gxC6z_4f9GLlbWiKzHm1vucZTtVYWDDvyLkh8IaQ&m=PEWhz4hxiOaWoMVLpyDu5vEkXvAaFOuEwQo32agHoTY&s=3QUQ2XgRQ31nXrv16qWThhf5iAra-ZKEmm6_Kuviiu4&e=>

On Tue, Apr 24, 2018 at 7:49 PM, Abdul Patel 
<abd786...@gmail.com<mailto:abd786...@gmail.com>> wrote:
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 
<joaq...@thelastpickle.com<mailto:joaq...@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 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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_thelastpickle_cassandra-2Dreaper_blob_master_src_packaging_resource_cassandra-2Dreaper-2Dcassandra.yaml&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=aC_gxC6z_4f9GLlbWiKzHm1vucZTtVYWDDvyLkh8IaQ&m=PEWhz4hxiOaWoMVLpyDu5vEkXvAaFOuEwQo32agHoTY&s=BzysNkz8sW4bppmaQYmtONrtpBJ0AIZykql2dhnve6M&e=>

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_thelastpickle_cassandra-2Dreaper_blob_master_src_packaging_resource_cassandra-2Dreaper.yaml&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=aC_gxC6z_4f9GLlbWiKzHm1vucZTtVYWDDvyLkh8IaQ&m=PEWhz4hxiOaWoMVLpyDu5vEkXvAaFOuEwQo32agHoTY&s=uxgFgOaZ4hxGuhEAyJdWBNHtuPWSeMmKLx8D5Vi1cb4&e=>

Hope that helped!

Joaquin Casares
Consultant
Austin, TX

Apache Cassandra Consulting
http://www.thelastpickle.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.thelastpickle.com&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=aC_gxC6z_4f9GLlbWiKzHm1vucZTtVYWDDvyLkh8IaQ&m=PEWhz4hxiOaWoMVLpyDu5vEkXvAaFOuEwQo32agHoTY&s=3QUQ2XgRQ31nXrv16qWThhf5iAra-ZKEmm6_Kuviiu4&e=>

On Tue, Apr 24, 2018 at 7:07 PM, Abdul Patel 
<abd786...@gmail.com<mailto:abd786...@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 
<joaq...@thelastpickle.com<mailto:joaq...@thelastpickle.com>> 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-configuration<https://urldefense.proofpoint.com/v2/url?u=http-3A__cassandra-2Dreaper.io_docs_download_install_-23service-2Dconfiguration&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=aC_gxC6z_4f9GLlbWiKzHm1vucZTtVYWDDvyLkh8IaQ&m=PEWhz4hxiOaWoMVLpyDu5vEkXvAaFOuEwQo32agHoTY&s=SM78-CnFa1NuyMNphEbKEasDArrYF-DMCed-eq_EZ8k&e=>

Hope that helps!

Joaquin Casares
Consultant
Austin, TX

Apache Cassandra Consulting
http://www.thelastpickle.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.thelastpickle.com&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=aC_gxC6z_4f9GLlbWiKzHm1vucZTtVYWDDvyLkh8IaQ&m=PEWhz4hxiOaWoMVLpyDu5vEkXvAaFOuEwQo32agHoTY&s=3QUQ2XgRQ31nXrv16qWThhf5iAra-ZKEmm6_Kuviiu4&e=>

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

For reaper do we need both file or only one?

Cassandra.reaper.yaml
Cassandra-reaper-cassandra.yaml




________________________________

The information in this Internet Email is confidential and may be legally 
privileged. It is intended solely for the addressee. Access to this Email by 
anyone else is unauthorized. If you are not the intended recipient, any 
disclosure, copying, distribution or any action taken or omitted to be taken in 
reliance on it, is prohibited and may be unlawful. When addressed to our 
clients any opinions or advice contained in this Email are subject to the terms 
and conditions expressed in any applicable governing The Home Depot terms of 
business or client engagement letter. The Home Depot disclaims all 
responsibility and liability for the accuracy and content of this attachment 
and for any damages or losses arising from any inaccuracies, errors, viruses, 
e.g., worms, trojan horses, etc., or other items of a destructive nature, which 
may be contained in this attachment and shall not be liable for direct, 
indirect, consequential or special damages in connection with this e-mail 
message or its attachment.

Reply via email to