- 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.
推薦閱讀
- C語言程序設計案例教程
- Delphi程序設計基礎:教程、實驗、習題
- vSphere High Performance Cookbook
- Building a RESTful Web Service with Spring
- 秒懂設計模式
- SSM輕量級框架應用實戰
- 小程序開發原理與實戰
- Node.js開發指南
- 網絡數據采集技術:Java網絡爬蟲實戰
- PhoneGap 4 Mobile Application Development Cookbook
- Arduino電子設計實戰指南:零基礎篇
- Visual C++程序設計與項目實踐
- 寫給青少年的人工智能(Python版·微課視頻版)
- C語言程序設計教程
- H5頁面設計與制作(全彩慕課版·第2版)