Day: October 5, 2016

Hadoop MapReduce – word count (improve)

About Map Reduce Code  1.Ordering with Map Reduce   (A) Binary Search we are going to make a map reduce program which return N numbers of   keywords from the top rank (ordered by number of appears) Hadoop support beautiful sorting Library which is called PriorityQueue and by calling peek you can get keyword on the […]

Read more

Hadoop Map Reduce – word count

Build & Run Example Code  1. download maven – download maven build tool from site using apt-get sudo apt-get install maven  2. get test source code using wget wget https://s3.amazonaws.com/hadoopkr/source.tar.gz  3. build source with mvn cd /home/<user>/source/<where pom.xml> mvn compile 5. upload local file to hadoop hadoop fs -copyFromLocal README.txt /  6. execute on hadoop […]

Read more