Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hadoop Hello World Example And Introduction [closed]

Tags:

hadoop

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.

like image 355
Justin Avatar asked Nov 04 '11 02:11

Justin


1 Answers

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.

like image 145
Robel Sharma Avatar answered Oct 21 '22 11:10

Robel Sharma