Port of MapReduce pruner to Java/Hadoop