How To Setup Spark, Scala, Sbt and Generate Jar Files

Prerequisites • Install Scala: http://www.scala-lang.org/download/ • Install SBT: http://www.scala-sbt.org/download.html • Install Eclipse (/Scala IDE): http://scala-ide.org/download/sdk.html • Install Spark • Create main folder for application and inside that folder, create build.sbt file Configure Create the following directory and files. mkdir -p src/{main,test}/{java,resources,scala} mkdir lib project target touch build.sbt touch project/plugins.sbt • Paste following code inside build.sbt […]