We know that the IDE has a number of selected versions for development. As most of us often use is as follows.
Eclipse * Version
Eclipse * Download
And we know that for the Scala development of Spark, there's a specially designed eclipse for it,Scala IDE for Eclipse
1. Scala IDE for eclipse download
http://scala-ide.org/
2. Installation of Scala IDE for Eclipse
To decompress
3. Preliminary use of Scala IDE for Eclipse WordCount
Before that, install Java and Scala in the local area first.
By default it turned into Scala 2.11.8.
This must be changed!
Scala2.11.8 (Default version)--------> scala2.10.4 (Our Version)
The first step: Modify the dependent Scala version, from scala2.11.* to scala2.10.*.
Here is the compatible version, no problem. Scala2.10.6 and our scala2.10.4 is OK!!!
Step Two: Add the spark1.6.0 jar file dependency
Http://spark.apache.org/downloads.html
Http://www.apache.org/dyn/closer.lua/spark/spark-1.6.2/spark-1.6.2-bin-hadoop2.6.tgz
Step three: Find the dependent Sparkjar file and import it into the jar dependency of Scala IDE for Eclipse
Fourth step: Under SRC, create a spark project package
Fifth step: Create the Scala entry class
Preliminary use of the Scala IDE for eclipse download, installation, and WordCount