perfsonar-user - RE: [perfsonar-user] How to clean esmond/perfsonar/archive ????
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Pedro Henrique Diniz Da Silva <>
- To: Andrew Lake <>
- Cc: "" <>
- Subject: RE: [perfsonar-user] How to clean esmond/perfsonar/archive ????
- Date: Wed, 18 Mar 2015 13:46:49 +0000
- Accept-language: en-US
Andrew,
Thank you for your answer but after attempting to execute your steps I get the following errors: [root@ps02 esmond]# cd /opt/esmond [root@ps02 esmond]# source /opt/rh/python27/enable [root@ps02 esmond]# . bin/activate (esmond)[root@ps02 esmond]# (esmond)[root@ps02 esmond]# python ./util/ps_remove_data.py -c /home/gridlafex/clear_data.conf cassandra_db [INFO] Checking/creating column families cassandra_db [INFO] Schema check done cassandra_db [DEBUG] Opening ConnectionPool cassandra_db [INFO] Connected to ['localhost:9160'] cassandra_db [INFO] Checking/creating column families cassandra_db [INFO] Checking/creating column families cassandra_db [INFO] Schema check done cassandra_db [INFO] Schema check done cassandra_db [DEBUG] Opening ConnectionPool cassandra_db [DEBUG] Opening ConnectionPool cassandra_db [INFO] Connected to ['localhost:9160'] cassandra_db [INFO] Connected to ['localhost:9160'] Error: No JSON object could be decoded (esmond)[root@ps02 esmond]# Any idea of what can be the problem? Cheers, Pedro Diniz From: Andrew Lake []
Sent: Wednesday, March 18, 2015 10:50 AM To: Pedro Henrique Diniz Da Silva Cc: Subject: Re: [perfsonar-user] How to clean esmond/perfsonar/archive ???? Hi,
If you don't want to wait for teh GUI to clear things out after a few days. You can do the following:
1. Download the config file attached to the host with the data you want deleted
2. Run the following commands to delete everything older than 2 days on the host with the data you want deleted:
cd /opt/esmond
source /opt/rh/python27/enable
. bin/activate
python ./util/ps_remove_data.py -c clear_data.conf
In the last command you will likely need to change clear_data.conf to the full path of the file you downloaded from this email. If you want to change the time range, adjust the '"expire": "2"' line in the file to be another value (the value is
in days).
Hope that helps,
Andy
On Mar 17, 2015, at 10:42 AM, Pedro Henrique Diniz Da Silva <> wrote:
|
- [perfsonar-user] How to clean esmond/perfsonar/archive ????, Pedro Henrique Diniz Da Silva, 03/17/2015
- Re: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Andrew Lake, 03/18/2015
- RE: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Pedro Henrique Diniz Da Silva, 03/18/2015
- Re: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Andrew Lake, 03/23/2015
- RE: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Pedro Henrique Diniz Da Silva, 03/23/2015
- Re: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Andrew Lake, 03/24/2015
- RE: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Pedro Henrique Diniz Da Silva, 03/25/2015
- Re: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Andrew Lake, 03/26/2015
- RE: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Pedro Henrique Diniz Da Silva, 03/27/2015
- Re: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Andrew Lake, 03/31/2015
- RE: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Pedro Henrique Diniz Da Silva, 03/31/2015
- RE: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Pedro Henrique Diniz Da Silva, 03/25/2015
- Re: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Andrew Lake, 03/24/2015
- RE: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Pedro Henrique Diniz Da Silva, 03/23/2015
- Re: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Andrew Lake, 03/23/2015
- RE: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Pedro Henrique Diniz Da Silva, 03/18/2015
- Re: [perfsonar-user] How to clean esmond/perfsonar/archive ????, Andrew Lake, 03/18/2015
Archive powered by MHonArc 2.6.16.