You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2013/04/04 23:09:08 UTC

[2/3] git commit: BIGTOP-903. crunch integration tests need to clean up output directory before each individual subtask is run

BIGTOP-903. crunch integration tests need to clean up output directory before each individual subtask is run


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/de808080
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/de808080
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/de808080

Branch: refs/heads/master
Commit: de808080725d028a8c695d18ee654bc449e11165
Parents: 2b35a92
Author: Roman Shaposhnik <rv...@cloudera.com>
Authored: Thu Apr 4 13:53:46 2013 -0700
Committer: Roman Shaposhnik <rv...@cloudera.com>
Committed: Thu Apr 4 13:57:20 2013 -0700

----------------------------------------------------------------------
 .../itest/crunchsmoke/TestCrunchSmoke.groovy       |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/de808080/bigtop-tests/test-artifacts/crunch/src/main/groovy/org/apache/bigtop/itest/crunchsmoke/TestCrunchSmoke.groovy
----------------------------------------------------------------------
diff --git a/bigtop-tests/test-artifacts/crunch/src/main/groovy/org/apache/bigtop/itest/crunchsmoke/TestCrunchSmoke.groovy b/bigtop-tests/test-artifacts/crunch/src/main/groovy/org/apache/bigtop/itest/crunchsmoke/TestCrunchSmoke.groovy
index 5dd94fd..7b7012c 100644
--- a/bigtop-tests/test-artifacts/crunch/src/main/groovy/org/apache/bigtop/itest/crunchsmoke/TestCrunchSmoke.groovy
+++ b/bigtop-tests/test-artifacts/crunch/src/main/groovy/org/apache/bigtop/itest/crunchsmoke/TestCrunchSmoke.groovy
@@ -50,6 +50,7 @@ public class TestCrunchSmoke {
     ];
 
   private void _runExampleJobs(String algorithm) {
+    sh.exec("hadoop fs -rmr ${EXAMPLES_OUT}");
     sh.exec("${runnerScript} ${crunchJar}" 
       + " org.apache.crunch.examples.${algorithm}"
       + " ${examples.get(algorithm)}"