Managing a Compute Resource

DLI is the compute engine of RES. The added compute resources must be properly allocated. The DLI clusters must be scaled out or in as required. Currently, a maximum of five compute resources are allowed in RES. You can create, edit, and delete compute resources.

Creating a Compute Resource

  1. Log in to the RES management console. In the Compute Resource area of the Global Configurations page, click Create to add compute resources.
  2. In the Create Compute Resource dialog box, set parameters as required. For details, see Table 1. The number of created resources cannot exceed the maximum number of cluster resources. Otherwise, the computing will fail.
    Table 1 Parameters

    Parameter

    Description

    Name

    Resource name, which contains a maximum of 10 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.

    Driver Memory

    Memory of Driver, which is greater than or equal to 512 MB.

    • DLI: 7 GB by default.

    Driver Cores

    Number of Driver cores, which is greater than or equal to 1.

    • DLI: 2 by default.

    Executor Memory

    Memory of Executor, which is greater than or equal to 1 GB.

    • DLI: 8 GB by default.

    Executor Cores

    Number of Executor cores, which is greater than or equal to 1.

    • DLI: 2 by default.

    Executors

    Number of Executors, which is greater than or equal to 1.

    • DLI: 7 by default
  3. After all parameter values are entered, click OK.

Editing a Compute Resource

  1. Log in to the RES management console. In the Compute Resource area of the Global Configurations page, locate the row where the resource you want to edit resides and click Edit in the Operation column.
  2. In the Edit Compute Resource dialog box, edit parameters as required. For details, see Table 1. The name of a compute resource cannot be changed.
  3. Click OK. The number of created resources cannot exceed the maximum number of cluster resources. Otherwise, the computing will fail.

Deleting a Compute Resource

  1. Log in to the RES management console. In the Compute Resource area of the Global Configurations page, locate the row where the resource you want to delete resides and click Delete in the Operation column.
  2. In the Delete dialog box, check whether the information is correct and click OK.
  • Deleted resources cannot be recovered. Exercise caution when performing this operation.
  • Deleting resources does not affect the job results that have been successfully calculated.