- Spark Cookbook
- Rishi Yadav
- 140字
- 2021-07-16 13:44:00
Developing a Spark application in IntelliJ IDEA with SBT
Before Eclipse became famous, IntelliJ IDEA was considered best of the breed in IDEs. IDEA has not shed its former glory yet and a lot of developers love IDEA. IDEA also has a community edition, which is free. IDEA provides native support for SBT, which makes it ideal for SBT and Scala development.
How to do it...
Perform the following steps to develop a Spark application on IntelliJ IDEA with SBT:
- Add the
sbt-idea
plugin. - Add to the global plugin file:
$mkdir /home/hduser/.sbt/0.13/plugins $echo addSbtPlugin("com.github.mpeltone" % "sbt-idea" % "1.6.0" ) > /home/hduser/.sbt/0.12/plugins/plugin.sbt
Alternatively, you can add to your project as well:
$cd <project-home> $ echo addSbtPlugin("com.github.mpeltone" % "sbt-idea" % "1.6.0" ) > plugin.sbt
IDEA is ready to use with SBT.
Now you can develop Spark code using Scala and build using SBT.
推薦閱讀
- Learning Scala Programming
- Android和PHP開發最佳實踐(第2版)
- Mastering QGIS
- Ext JS Data-driven Application Design
- TypeScript圖形渲染實戰:基于WebGL的3D架構與實現
- Java程序設計與實踐教程(第2版)
- 零基礎學Java程序設計
- Visual C++應用開發
- HTML5從入門到精通 (第2版)
- Node.js:來一打 C++ 擴展
- Java網絡編程實戰
- Java程序設計與項目案例教程
- Visual FoxPro 6.0程序設計
- 編程改變生活:用Python提升你的能力(進階篇·微課視頻版)
- Instant Automapper