You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Hadoop <ha...@hotmail.com> on 2008/05/07 09:33:19 UTC
How to write simple programs using Hadoop?
Is there any chance to see some simple programs for Hadoop (such as Hello
world, counting numbers 1-10, reading two numbers and printing the larger
one, other number, string and file processing examples,...etc) written in
Java/C++.
It seems that the only available public code on the world (Internet) is the
WordCount program.
I learn programming easily and faster by examples and I would appreciate it
if anyone can share some simple programs written in Java/C++ for Hadoop .
If there is any manuals, examples, links about writing programs for Hadoop,
please share it.
--
View this message in context: http://www.nabble.com/How-to-write-simple-programs-using-Hadoop--tp17099073p17099073.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.
Re: How to write simple programs using Hadoop?
Posted by Arun C Murthy <ar...@yahoo-inc.com>.
On May 7, 2008, at 12:33 AM, Hadoop wrote:
>
> Is there any chance to see some simple programs for Hadoop (such as
> Hello
> world, counting numbers 1-10, reading two numbers and printing the
> larger
> one, other number, string and file processing examples,...etc)
> written in
> Java/C++.
>
> It seems that the only available public code on the world
> (Internet) is the
> WordCount program.
> I learn programming easily and faster by examples and I would
> appreciate it
> if anyone can share some simple programs written in Java/C++ for
> Hadoop .
>
> If there is any manuals, examples, links about writing programs for
> Hadoop,
> please share it.
>
Take a look at the src/examples directory in your hadoop distribution:
http://svn.apache.org/viewvc/hadoop/core/trunk/src/examples/org/
apache/hadoop/examples/
and
http://svn.apache.org/viewvc/hadoop/core/trunk/src/examples/pipes/impl/
Map-Reduce tutorial:
http://hadoop.apache.org/core/docs/current/mapred_tutorial.html
Hadoop Streaming:
http://hadoop.apache.org/core/docs/current/streaming.html
Arun
> --
> View this message in context: http://www.nabble.com/How-to-write-
> simple-programs-using-Hadoop--tp17099073p17099073.html
> Sent from the Hadoop core-user mailing list archive at Nabble.com.
>