Browse files

Updating path names to be clearer

  • Loading branch information...
1 parent 68d5b38 commit f95d54f14e1b6ab9efecebefad283f2e4345c31e @matthewmccullough committed Apr 30, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 hdfs-example/
@@ -1,5 +1,5 @@
#Remove the last run's output dir
-rm -rf output
+rm -rf localoutput
rm -rf localoutput
#Remove the local equiv to the remote input
rm -rf remoteinput
@@ -24,11 +24,11 @@ hadoop fs -lsr remoteinput
#Run the grep on all the files in localinput
#hadoop fs -mkdir output
-hadoop jar /Applications/Dev/hadoop-family/hadoop-0.20.1/hadoop-*-examples.jar grep remoteinput output '[a-z.]+html'
+hadoop jar /Applications/Dev/hadoop-family/hadoop-0.20.1/hadoop-*-examples.jar grep remoteinput remoteoutput '[a-z.]+html'
#Look at the files remotely
-hadoop fs -cat output/part*
+hadoop fs -cat remoteoutput/part*
#pull the files local
-hadoop fs -get output localoutput
+hadoop fs -get remoteoutput localoutput
cat localoutput/*

0 comments on commit f95d54f

Please sign in to comment.