Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/edu/jhu/thrax/hadoop/jobs/OutputJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,6 @@ public Job getJob(Configuration conf) throws IOException {
if (FileInputFormat.getInputPaths(job).length == 0) {
// TODO: This is going to crash.
FileInputFormat.addInputPath(job, new Path(workDir + "rules"));
} else {
// We have at least one feature to aggregate, so we don't need
// the rules sub-directory at all at this point.
// We delete it to save disk space.
final FileSystem fs = FileSystem.get(conf);
final Path rulesPath = new Path(workDir + "rules");
final boolean recursive = true;
fs.delete(rulesPath, recursive);
}

String outputPath = conf.get("thrax.outputPath", "");
Expand Down