hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Update of "PythonWordCount" by OwenOMalley
Date Mon, 07 Aug 2006 18:16:46 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by OwenOMalley:
http://wiki.apache.org/lucene-hadoop/PythonWordCount

------------------------------------------------------------------------------
  
  As an optimization, the reducer is also used as a combiner on the map outputs. This reduces
the amount of data sent across the network by combining each word into a single record.
  
- To compile the example, build the Hadoop code:{{{
+ To compile the example, build the Hadoop code and the python word count example:{{{
  ant
  cd src/examples/python
  ./compile
  cd ../../..
  }}}
+ 
+ Note that you need to have jythonc and javac on your path for the compilation to work.
  
  To run the example, the command syntax is: {{{
  bin/hadoop jar src/examples/python/wc.jar in-dir out-dir

Mime
View raw message