Restart idea:
Restart idea:
After restart, enter the following interface:
Step 4: Compile scala code in idea:
First, select "create new project" on the interface that we entered in the previous step ":
Select the "Scala" option in the list on the left:
To facilitate future development, select the "SBT" option on the right:
Click "Next" to go to the next step and set the name and directory of the scala project:
Click "finish" to create the project:
Because we have selected the "SBT" option before, idea intelligently helps us build SBT tools:
Click the project name "helloscala ":
It takes some time for idea to automatically install the SBT tool. It takes about five minutes for Jialin to install the SBT tool. After SBT is installed, SBT will automatically help us build some directories:
Right-click Scala under main under SRC and select "Scala class" under "new"
Input File Name:
Select kinde as "object ":
Click OK:
[Spark Asia Pacific Research Institute Series] the path to spark practice-Chapter 1 building a spark cluster (step 4) (4)