- 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.
推薦閱讀
- ExtGWT Rich Internet Application Cookbook
- 自然語言處理實戰:預訓練模型應用及其產品化
- 數字媒體應用教程
- TensorFlow Lite移動端深度學習
- 無代碼編程:用云表搭建企業數字化管理平臺
- Xcode 7 Essentials(Second Edition)
- PyTorch Artificial Intelligence Fundamentals
- iOS開發實戰:從零基礎到App Store上架
- 大學計算機基礎(第2版)(微課版)
- Web程序設計(第二版)
- Elasticsearch Server(Third Edition)
- OpenCV 4計算機視覺項目實戰(原書第2版)
- Android應用案例開發大全(第二版)
- ArcGIS for Desktop Cookbook
- 從零開始學Selenium自動化測試:基于Python:視頻教學版