Skip to content

Instantly share code, notes, and snippets.

@jamii
Created June 29, 2011 21:16
Show Gist options
  • Save jamii/1055007 to your computer and use it in GitHub Desktop.
Save jamii/1055007 to your computer and use it in GitHub Desktop.
# DISCO_GC_AFTER = 5
rm -rf /usr/local/var/disco/data/*/*
disco debug
temp_gc:start_link(whereis(disco_server)). % leave running
ipython
import poc
poc.build() # starts several jobs and purges when finished
# wait 10 minutes
jamie@alien:~/springer-analytics$ ls /usr/local/var/disco/data/*/*/*
/usr/local/var/disco/data/alien/01/CreateDB@51d:5d429:6b2d7:
23 3c 60 a3 c5 e6 jobfile poc.py util.py
2a 4e 95 a5 db.py ef metadata.py poc.pyc util.pyc
3b 52 99 c2 db.pyc fd metadata.pyc usr
/usr/local/var/disco/data/alien/3a/BuildHistograms@51d:5d410:cd1f5:
0a 22 46 59 6b 82 8b a5 d2 db.pyc jobfile poc.py util.py
12 2f 4e 5c 6f 84 9d af d7 de metadata.py poc.pyc util.pyc
19 31 58 67 7d 88 a2 d1 db.py e1 metadata.pyc usr
/usr/local/var/disco/data/alien/43/ParseDownloads@51d:5d3fe:bf02d:
20 db.pyc metadata.py poc.py usr util.pyc
db.py jobfile metadata.pyc poc.pyc util.py
/usr/local/var/disco/data/alien/60/ExtractFeatures@51d:5d41c:52fc8:
02 2f 4b 57 6e 92 b9 c7 df metadata.pyc util.py
0d 33 4e 60 7e 97 bd d6 ef poc.py util.pyc
2b 40 4f 61 86 9a bf db.py jobfile poc.pyc
2d 42 54 66 8e 9b c2 db.pyc metadata.py usr
/usr/local/var/disco/data/alien/d5/PullMetadata@51d:5d400:330eb:
19 39 49 87 a0 b6 cf dc ef metadata.pyc util.py
25 40 4b 93 a6 bb d5 e1 fc poc.py util.pyc
26 42 6b 95 b1 bc db.py e7 jobfile poc.pyc
35 44 83 99 b5 c3 db.pyc ec metadata.py usr
/usr/local/var/disco/data/alien/e3/CreateDB@51d:5d40b:6c453:
09 25 5f 7e ab cc e5 metadata.pyc usr
1b 40 6d 98 b7 db.py jobfile poc.py util.py
1f 4d 7c 9e cb db.pyc metadata.py poc.pyc util.pyc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment