Becareful! All nodes include need to install ruby! #!/usr/bin/ruby # Ruby code for map.rb ARGF.each do |line| # remove any newline line = line.chomp # do nothing will lines shorter than 2 characters next if ! line || line.length < 2 # grab our key…
hadoop2.2 API http://hadoop.apache.org/docs/r0.23.9/api/index.html junit API http://junit.org/javadoc/4.10/ mrunit mrunit API http://mrunit.apache.org/documentation/javadocs/1.0.0/index.html mrunit package-summary http://mrunit.apache.org/documentati…