Create Spark Project in intelliJ

IntelliJ Version 2017.1.4

1. Create Scala Project with SBT based

Screenshot from 2017-06-28 11-43-12.png

2. Check Latest Spark Version

https://mvnrepository.com/artifact/org.apache.spark

Screenshot from 2017-06-28 11-47-21.png

Currently, Spark doesn’t support the Scala 2.12
=> You should make intelliJ Project with Scala version 2.11.X.

Screenshot from 2017-06-28 11-48-39.png

3. Project Structure > Libraries > + >From Maven
> Search org.apache.park:spark-core

Select version you found on the maven website.

Screenshot from 2017-06-28 11-43-53.png

4. Done!

Screenshot from 2017-06-28 11-50-29

 

Leave a Reply