- 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.
推薦閱讀
- 數據庫程序員面試筆試真題與解析
- Java面向對象軟件開發
- AIRAndroid應用開發實戰
- EPLAN實戰設計
- SQL Server 2016數據庫應用與開發
- PySide 6/PyQt 6快速開發與實戰
- Java網絡編程實戰
- Go語言底層原理剖析
- 寫給大家看的Midjourney設計書
- Unity 2017 Game AI Programming(Third Edition)
- Instant Apache Camel Messaging System
- Learning C++ by Creating Games with UE4
- INSTANT Apache Hive Essentials How-to
- Instant GLEW
- Windows 10 for Enterprise Administrators