Thanks to visit codestin.com
Credit goes to github.com

Skip to content

eldariof/clojure_hadoop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

This code is based on the example wordcount5 of the delivery package clojure-hadoop.

Assembly with leiningen:
    
    lein deps
    lein compile
    lein uberjar

Run in standalone mode:
    
    java -cp clojure_hadoop-1.0-SNAPSHOT-standalone.jar clojure_hadoop.job -job wordcount/job -input FILE -output out
    
FILE as an argument, replace the text file, and after the program out in the catalog file is created containing a list of N-Gram and their number in the text.

Run in Hadoop cluster:
    
    hadoop jar clojure_hadoop-1.0-SNAPSHOT-standalone.jar clojure_hadoop.job -job wordcount/job -input input -output output
    
The files should be placed on HDFS

About

Clojure hadoop example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published