Skip to content

Commit

Permalink
Added log message.
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgeorge committed Jun 30, 2015
1 parent 757cf86 commit 0293c48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ch07/src/main/java/mapreduce/AnalyzeSnapshotData.java
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ public static void main(String[] args) throws Exception {
System.exit(job.waitForCompletion(true) ? 0 : 1);

if (cleanup) {
LOG.info("Cleaning up snapshot and restore directory");
admin.deleteSnapshot(snapshot); // co AnalyzeSnapshotData-3-Cleanup Optionally clean up after the job is complete.
restoreDir.getFileSystem(conf).delete(restoreDir, true);
}
Expand Down

0 comments on commit 0293c48

Please sign in to comment.