Skip to content

This is the test project that executes the spark wordcount using the jar file.

Notifications You must be signed in to change notification settings

piyushknoldus/SparkWordCount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SparkWordCount

This is the test project that executes the spark wordcount using the jar file.

The aim is to run the application via creating jar.

To create Jar file -

Go to the project directory (in my case - ~/workstation/SparkWordCount) and type - sbt assembly

This will create a jar file in your ../target/scala-2.12 folder with named as SparkWordCount-assembly-1.0.jar.

To execute the app with jar file -

java -jar /path-to-your-jar

e.g - java -jar /home/knoldus/workstation/SparkWordCount/target/scala-2.12/SparkWordCount-assembly-1.0.jar /path-toinputFile /path-to-outputFile

About

This is the test project that executes the spark wordcount using the jar file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages