You need to enable JavaScript to run this app.
E-MapReduce

E-MapReduce

Copy page
Download PDF
Application management
DeployApplications - Deploy applications
Copy page
Download PDF
DeployApplications - Deploy applications

Deploy one or more applications

Note

Call DeployApplications to deploy applications, such as Spark, on an EMR on VKE virtual cluster.

Important notes

You must have a Volcano Engine account and have enabled EMR permissions.

Note

Request method: POST
Request URL: https://open.volcengineapi.com/?Version=2023-12-30&Action=DeployApplications

Request parameters

The following table lists only the request parameters specific to this API and some common parameters. For more information, see common parameters.

Parameter
Type
Required
Example value
Description
Action
String
Yes

DeployApplications

The operation to be performed. Value: DeployApplications.

Version
String
Yes

2023-12-30

API version. Value: 2023-12-30.

ClusterId
String
Yes

emr-xxx

Cluster ID

Applications
Object
No

[]

Application list

Response parameters

The following table lists only the response parameters specific to this API. For more information, see response structure.

Parameter
Type
Example value
Description
ClusterId
String

emr-xxx

Cluster ID

OperationId
String

op-xxx

Operation ID

Sample request

{ 
    "ClusterId": "emr-xxx", 
    "Applications": [ 
        { 
            "ApplicationName": "Spark", 
            "ApplicationConfigs": [ 
                { 
                     "ConfigFileName": "spark-operator-values.yaml", 
                     "ConfigItemKey": "cpu_requirements", 
                     "ConfigItemValue": "2" 
                }, 
               { 
                     "ConfigFileName": "__envs__", 
                     "ConfigItemKey": "event_log_dir", 
                     "ConfigItemValue": "tos://abc//" 
                }, 
               { 
                     "ConfigFileName": "__envs__", 
                     "ConfigItemKey": "ve_access_key", 
                     "ConfigItemValue": "xxx" 
                }, 
               { 
                     "ConfigFileName": "__envs__", 
                     "ConfigItemKey": "ve_secret_key", 
                     "ConfigItemValue": "xxx" 
                } 
            ] 
        } 
    ] 
}

Sample response

{ 
        "ClusterId": "emr-xxx", 
        "OperationId": "op-xxx" 
    }

Error codes

The following table lists the error codes related to the business logic of this API. For common error codes, see the common error codes documentation.

Status code
Error code
Error message
Note
400
InvalidParameter

Invalid parameter

Last updated: 2026.06.01 17:05:25