Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clustering using Spark MLLIB (hierarchical clustering):

Packaging Application :

Execute sbt package to package the application

The application uses external classes and the ones that comes with Spark .so you need to include two external jars:

typesafe-config-2.10.1.jar,configs_2.12-0.4.4.jar

The application is going to be deployed to local[*]. Change it to whatever cluster you want in the configuration file (reference.conf)

/spark/bin/spark-submit --master "local[*]" --class fr.allami.test.clustering.Job --jars typesafe-config-2.10.1.jar,configs_2.12-0.4.4.jar /target/scala-2.11/test_de_2.11-0.1.jar [inputFile] [outputFolder]

[inputFile] the path of input data , it's optional, if not specified the program will use the file under resources

[outputFolder] by default it's /tmp/cluster-[0-5] , it's optional

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages