Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hadoop on Node.js

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

Hadoop on Node.js

Avatar for Casear Chu

Casear Chu

August 22, 2012

More Decks by Casear Chu

Other Decks in Programming

Transcript

  1. Big Data        

          • • • •
  2. Hadoop Node  2011120 (2010  66) 40%10-100 52%100-1000 Hadoop

    Data  2011㾝 202 PB (2010  3.4 ) • • • • • •
  3. Hadoop Version 0.20   0.20.X 0.20   0.20.20X.YLegacy

    Stable  Security Branch 0.20.205.0 1.0.XCurrent Stable • • • • •
  4. PIG

  5. require('timothy') .map(function(line){ var words = line.split(" "); for(var i=0; i<words.length;

    i++) this.emit(words[i], 1); }) .reduce(function(word,counts){ this.emit(word, counts.length); }) .runLocal("~/Desktop/test_input.txt"); •