scala-bootcamp
===============================================================
- Author Jaewook Kang 2019
Installation
For scala use, you need to install JDK, Scala SDK and sbt.
please use install_env.sh
Reference blog: http://sanghun.xyz/2017/12/mac-apche-spark-%EC%84%A4%EC%B9%98/
-
For sbt and spark use, you need to open the project as "import project"
-
Select sbt project
-
Align scala version (in build.sbt and build.properties) and sbt version (in build.sbt)
-
Align Java version at build.sbt
-
Intellij에서 sbt index을 조금 기다려야 한다.
-
scala 버전과 java 버전을 꼭 확인하자!
-
At the meun > Run > Edit Configuration, enable
Enable capturing form snapshots
. -
when you use spark, you should check whether the spark is provided.