Managing Spark SQL Templates

Scenario

You can modify a sample template to meet the Spark job requirements, saving time for editing SQL statements.

Currently, the cloud platform does not provide preset Spark templates. You can customize Spark job templates. This section describes how to create a Spark job template.

Creating a Management Job Template

To create a Spark job template, you can save a Spark job information as a template.

  1. In the left navigation pane of the DLI management console, choose Job Templates > Spark Templates. The Spark Templates page is displayed.

  2. Configure job parameters by referring to Creating a Spark Job.

  3. After you finish editing the job, click Save as Template.

  4. Enter the template name and other information as you need.

  5. Set a template group for future management.

  6. Click OK.