rasql with gzipped files

carter at qosient.com carter at qosient.com
Wed Apr 21 16:15:20 EDT 2010


Hey Terry,
So I'll add the scratch path configuration variable to .rarc.  Too esoteric to put a command line option?
I'll also need to add the database to the path.
Should have it by the end of the week.

Carter 
Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: carter at qosient.com
Date: Wed, 21 Apr 2010 12:30:02 
To: Terry Burton<tez at terryburton.co.uk>; <argus-info-bounces+carter=qosient.com at lists.andrew.cmu.edu>; Argus<argus-info at lists.andrew.cmu.edu>
Subject: Re: [ARGUS] rasql with gzipped files

Yes, this is an issue.  Several ways of solving this but, hard to say they are all elegant.  If we think of uncompressed files as local cached files, then the solution could deal with remote files as well.

We can specify an ARGUS_SCRATCHPATH, and uncompress the file(s) as:

  ARGUS_SCRATCHPATH/hostname/SQL_FILENAME

 We can look here first and if not here do our fetching/decompression there.

Just need to reclaim the disk space at sometime.

Carter


------Original Message------
From: Terry Burton
Sender: argus-info-bounces+carter=qosient.com at lists.andrew.cmu.edu
To: Argus
Subject: [ARGUS] rasql with gzipped files
Sent: Apr 21, 2010 6:19 AM

Hi Carter,

I've hit a problem that when rasql reads gzipped files, it first
attempts to unzip the files into their own directory. In several
setups this results in permissions issues since the user running rasql
would require write access to the primitive flow data directories
which may not be desirable. It would be nice to be able to specify an
alternative location for the scratch space.


Thanks for your great work!

Terry



Sent from my Verizon Wireless BlackBerry


More information about the argus mailing list