-
安裝 SBT
- Linux
- Mac OS X
- 一般安裝介紹
- 手動安裝
- 使用 sbt runner
- Windows
-
Editor/IDE
- 唯一推薦 IDE: Intellij IDEA Community
- 任何你喜歡的 editor
-
Branches
- empty
- Hands on 的起點
- 只有兩個檔案:
sbt
及.gitignore
- helloworld
- 使用 scala + sbt
- 實作 HelloWorld 程式
- 整合 Intellij IDEA
- wordcount
- 實作 WordCount 程式
- sbt 操作
- 整合 Intellij IDEA
- empty
-
Commands
- HelloWorld
$ git clone -b helloworld https://github.com/spark-hsinchu/spark-hands-on.git helloworld
$ git clone -b empty https://github.com/spark-hsinchu/spark-hands-on.git myhelloworld
$ cd myhelloworld
$ vim build.sbt
- WordCount
$ git clone -b wordcount https://github.com/spark-hsinchu/spark-hands-on.git wordcount
$ git clone -b empty https://github.com/spark-hsinchu/spark-hands-on.git mywordcount
$ cd mywordcount
$ mkdir -p src/main/scala/spark/driver
$ vim build.sbt