14

I've been hearing a lot about Apache Hadoop as an awesome way to do processing intensive taks. Looking for a really basic introduction to Hadoop. Like the helloworld equivalent, and then maybe an example use case.

Justin
  • 42,716
  • 77
  • 201
  • 296

2 Answers2

10

WordCount example code is so simple that anyone new can understand it.It is there

https://hadoop.apache.org/docs/r1.2.1/mapred_tutorial.html#Example:+WordCount+v2.0

Just compile it with adding all of the haddop Api ex: hadoop-core.jar Create a .jar file by netbin and be amazed when it runs with hadoop in cmd.

If you want another one,I have made a sudo indexer ...like

Cow 2.txt 3.txt 4.txt
Cat 1.txt

etc.

Just ask me,I will give you the code which is so simple.But I recommend you should run this example first.

Now i thought you have completed the previous task , so here is the link to use >> http://matrixsust.blogspot.com/2011/11/hadoop-simple-indexer-in-map-reduce.html

Hope it helps.

Robel Sharma
  • 964
  • 1
  • 11
  • 26
4

Before jumping into Hadoop, knowledge of MapReduce is required (Hadoop is based on MapReduce). Here are some nice videos on MapReduce. Also check Google's Paper on MapReduce.

Also, if you are really interested in Hadoop, the Hadoop : The Definitive Guide is a must to have book.

Community
  • 1
  • 1
Praveen Sripati
  • 32,799
  • 16
  • 80
  • 117