Skip to content

Commit

Permalink
Add missing files.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Oct 19, 2011
1 parent b80aca3 commit f849f04
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snippet/src/test/resources/copyoutput.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if [ ! -e output ]; then
hadoop fs -get output .
fi
9 changes: 9 additions & 0 deletions snippet/src/test/resources/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
if ! hadoop fs -test -e input; then
hadoop fs -put input .
fi
if hadoop fs -test -e output; then
hadoop fs -rmr output
fi
if [ -e output ]; then
rm -r output
fi

0 comments on commit f849f04

Please sign in to comment.