Updated on 2022-09-14 GMT+08:00

Creating a New Project (Optional)

Scenario

Besides importing Spark sample projects, the IDEA can be used to create a new Spark project. A Scala project is used as an example in the following steps.

Procedure

  1. Start the IDEA and select Create New Project.

    Figure 1 Create a project

  2. On the New Project page, select Scala as the development environment, select IDEA, and click Next.

    If a new project in Java is required, choose corresponding parameters.
    Figure 2 Select the development language

  3. On the project information page, specify Project name, Project location, Project JDK, and Scala SDK, and click Finish to complete the project creation.

    Figure 3 Add the project information