Skip to content

Commit d68dbeb

Browse files
tdomhanTobias Domhan
authored and
Tobias Domhan
committed
No longer delete extracted rules during the output job.
1 parent 0d766be commit d68dbeb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/edu/jhu/thrax/hadoop/jobs/OutputJob.java

-8
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@ public Job getJob(Configuration conf) throws IOException {
7474
if (FileInputFormat.getInputPaths(job).length == 0) {
7575
// TODO: This is going to crash.
7676
FileInputFormat.addInputPath(job, new Path(workDir + "rules"));
77-
} else {
78-
// We have at least one feature to aggregate, so we don't need
79-
// the rules sub-directory at all at this point.
80-
// We delete it to save disk space.
81-
final FileSystem fs = FileSystem.get(conf);
82-
final Path rulesPath = new Path(workDir + "rules");
83-
final boolean recursive = true;
84-
fs.delete(rulesPath, recursive);
8577
}
8678

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

0 commit comments

Comments
 (0)