Changes between Version 1 and Version 2 of NCHCCloudCourse100802/Demo1
- Timestamp:
- Aug 11, 2010, 12:39:30 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NCHCCloudCourse100802/Demo1
v1 v2 5 5 jazz@hadoop:~$ echo "sed -e \"s/ /\n/g\" | grep ." > streamingMapper.sh 6 6 jazz@hadoop:~$ echo "uniq -c | awk '{print $2 \"\t\" $1}'" > streamingReducer.sh 7 jazz@hadoop:~$ hadoop fs -rmr input output 7 8 jazz@hadoop:~$ hadoop fs -put /etc/hadoop/conf input 8 9 jazz@hadoop:~$ hadoop jar hadoop-streaming.jar -input input -output output -mapper `pwd`/streamingMapper.sh -reducer `pwd`/streamingReducer.sh