cd $DRAT_HOME
cd filemgr/bin && ./filemgr start
cd ../../workflowbin/ && ./wmgr start
Crawl the repository of interest, e.g., $HOME/your-repo
:cd $DRAT_HOME/crawler/bin
./crawler_launcher --operation --metPC --productPath $HOME/your-repo --metExtractorConfig $DRAT_HOME/extractors/code/default.cpr.conf --metExtractor org.apache.oodt.cas.metadata.extractors.CopyAndRewriteExtractor --filemgrUrl http://localhost:9000 --clientTransferer org.apache.oodt.cas.filemgr.datatransfer.InPlaceDataTransferFactory
Index the crawled repo in Apache™ SOLR:cd $DRAT_HOME/filemgr/bin
java -Djava.ext.dirs=../lib -DSOLR_INDEXER_CONFIG=../etc/indexer.properties org.apache.oodt.cas.filemgr.tools.SolrIndexer --all --fmUrl http://localhost:9000 --optimize --solrUrl http://localhost:8080/solr/drat
Fire off the partitioner and mapperscd $DRAT_HOME/workflow/bin
./wmgr-client --url http://localhost:9001 --operation --dynWorkflow --taskIds urn:drat:MimePartitioner
Fire off the reducercd $DRAT_HOME/workflow/bin
./wmgr-client --url http://localhost:9001 --operation --dynWorkflow --taskIds urn:drat:RatAggregator