Skip to content
A distributed, parallelized (Map Reduce) wrapper around Apache RAT™ to allow it to complete on large code repositories of multiple file types where Apache RAT™ hangs forever.
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
crawler Merge branch 'gsoc-2018' of into … Aug 13, 2018
solr Adding Visual Interface for DRAT Jul 18, 2017
workflow Streamline usage of junit version Jun 15, 2018
.travis.yml Update .travis.yml Aug 23, 2018
LICENSE Initial commit Jan 8, 2014 kick build Jul 29, 2018
apiary.apib Transferring blueprint from Nov 30, 2015
nohup.out This is the code for breaking dratstat Aug 13, 2018

Apache Distributed Release Audit Tool (DRAT)™

A distributed, parallelized (Map Reduce) wrapper around Apache RAT™ (Release Audit Tool). RAT is used to check for proper licensing in software projects. However, RAT takes a prohibitively long time to analyze large repositories of code, since it can only run on one JVM. Furthermore, RAT isn't customizable by file type or file size and provides no incremental output. This wrapper dramatically speeds up the process by leveraging Apache OODT™ to parallelize and workflow the following components:

  1. Apache Solr™ based exploration of a CM repository (e.g., Git, SVN, etc.) and classification of that repository based on MIME type using Apache Tika™.
  2. A MIME partitioner that uses Apache Tika™ to automatically deduce and classify by file type and then partition Apache RAT™ jobs based on sets of 100 files per type (configurable) -- the M/R "partitioner"
  3. A throttle wrapper for RAT to MIME targeted Apache™ RAT. -- the M/R "mapper"
  4. A reducer to "combine" the produced RAT logs together into a global RAT report that can be used for stats generation. -- the M/R "reducer"

See the wiki for more information on installing and running DRAT:

You can clone the wiki by running
git clone

Visit our new website at the Apache Software Foundation.

Current build status: Build Status

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.