[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
spark:using-scala [2017/10/16 21:23]
ufal [Usage Examples]
spark:using-scala [2018/11/24 22:42]
straka [Usage Examples]
Line 42: Line 42:
   - replace the ''spark-template'' by your project name in the first line (i.e., ''name := "my-best-project"'')   - replace the ''spark-template'' by your project name in the first line (i.e., ''name := "my-best-project"'')
   - run ''sbt package'' to create JAR (note that first run of ''sbt'' will take several minutes)   - run ''sbt package'' to create JAR (note that first run of ''sbt'' will take several minutes)
-The resulting JAR can be found in ''target/scala-2.10'' subdirectory, named after your project.+The resulting JAR can be found in ''target/scala-2.11'' subdirectory, named after your project.
  
 ==== Usage Examples ==== ==== Usage Examples ====
Line 72: Line 72:
 version := "1.0" version := "1.0"
  
-scalaVersion := "2.11.8"+scalaVersion := "2.11.12"
  
-libraryDependencies += "org.apache.spark" %% "spark-core" % "2.1.1"+libraryDependencies += "org.apache.spark" %% "spark-core" % "2.3.2"
 </file> </file>
  

[ Back to the navigation ] [ Back to the content ]