Skip to content

kenberland/MRSort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Hadoop Sort Example

This is source to run a simple Hadoop sort.

You need Ivy and Ant installed properly. I had to symlink ivy.jar:

$ cd /usr/share/ant/lib
$ ln -s /usr/share/java/ivy.jar

The you can run this demo like so:

$ ant

Ivy downloads all the dependencies; Hadoop runs locally in single-node mode and makes a Sequence file in /tmp full of random integers; Sorts; and output the Sorted integers.

You can also run these classes inside of Eclipse with the Eclipse-Hadoop plugin. I got it here (hadoop-eclipse-plugin-0.20.3-SNAPSHOT.jar). To install I copied the jar into $ECLIPSE_HOME/dropins.

-KB

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages