Changes between Version 1 and Version 2 of NCHCCloudCourse100802/Demo1


Ignore:
Timestamp:
Aug 11, 2010, 12:39:30 AM (14 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NCHCCloudCourse100802/Demo1

    v1 v2  
    55jazz@hadoop:~$ echo "sed -e \"s/ /\n/g\" | grep ." > streamingMapper.sh
    66jazz@hadoop:~$ echo "uniq -c | awk '{print $2 \"\t\" $1}'" > streamingReducer.sh
     7jazz@hadoop:~$ hadoop fs -rmr input output
    78jazz@hadoop:~$ hadoop fs -put /etc/hadoop/conf input
    89jazz@hadoop:~$ hadoop jar hadoop-streaming.jar -input input -output output -mapper `pwd`/streamingMapper.sh -reducer `pwd`/streamingReducer.sh