public marks

PUBLIC MARKS with tags hadoop & MapReduce

April 2009

June 2008

February 2008

October 2007

Writing An Hadoop MapReduce Program In Python - Michael G. Noll

by ogrisel
Even though the Hadoop framework is written in Java, programs for Hadoop need not to be coded in Java but can also be developed in other languages like Python or C (the latter since version 0.14.1). However, the documentation and the most prominent Python example on the Hadoop home page could make you think that you must translate your Python code using Jython into a Java jar file. Obviously, this is not very convenient and can even be problematic if you depend on Python features not provided by Jython. Another issue of the Jython approach is the overhead of writing your Python program in such a way that it can interact with Hadoop - just have a look at the example in ${HADOOP_INSTALL}/src/examples/python/ and you see what I mean. I still recommend to have at least a look at the Jython approach and maybe even at the new C MapReduce API called Pipes, it's really interesting. Having that said, the ground is prepared for the purpose of this tutorial: writing a Hadoop MapReduce program in a more Pythonic way, i.e. in a way you should be familiar with.

PUBLIC TAGS related to tag hadoop

api +   bash +   bashreduce +   cluster +   code +   concurrent +   couchdb +   data +   distributed +   documentation +   framework +   hack +   high scalability +   java +   lastfm +   linux +   map/reduce +   MapReduce +   python +   rdf +   rest +   semantic web +   shell +   unix +  

Active users

last mark : 07/04/2009 08:40

François Hodierne
last mark : 04/06/2008 07:44

last mark : 21/02/2008 17:03

last mark : 07/02/2008 15:22

last mark : 09/10/2007 09:49