-
Notifications
You must be signed in to change notification settings - Fork 1
Re running DRAT
If you run DRAT on your source code and want to run it again the easiest way to do so is to:
-
Grab the aliases for
fmquery
andfmdel
from https://issues.apache.org/jira/browse/OODT-306 and add them to your bash or tcsh profile: -
Run
fmquery "ProductType:RatLog" | fmdel
-
Run
fmquery "ProductType:RatAggregateLog" | fmdel
You should be good to go to re-run the analysis at that point.
##If you want to analyze an entirely new code base, run
$DRAT_HOME/bin/oodt stop
$DRAT_HOME/bin/drat reset
$DRAT_HOME/bin/oodt start
You shouldn't need to run these, but the manual version of drat reset
is:
-
Blow away the following dirs:
rm -rf $DRAT_HOME/data/workflow
rm -rf $DRAT_HOME/filemgr/catalog
rm -rf $DRAT_HOME/solr/drat/data
-
Blow away files in following dirs:
rm -rf $DRAT_HOME/data/archive/*