Updated on 2024-10-23 GMT+08:00

(Optional) Creating Spark Sample Projects

Scenario

IDEA allows you to create a Spark project, not just import sample projects. The following describes how to create a Scala project.

Procedure

  1. Start the IDEA tool and choose Create New Project.

    Figure 1 Creating a project

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

    If you need to create a Java project, select the corresponding parameter.
    Figure 2 Selecting a development environment

  3. On the New Project page, enter a project name and a project location, select a JDK version and a Scala SDK, and click Finish.

    Figure 3 Entering the project information