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

E-MapReduce

Copy page
Download PDF
Application management
GetApplicationPacket - Retrieve application installation package information
Copy page
Download PDF
GetApplicationPacket - Retrieve application installation package information

Retrieve application installation package information

Instructions

Call GetApplicationPacket to obtain the installation package information for an E-MapReduce (EMR) cluster application.

important notes

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

Request instructions

Request method: POST
Request URL: https://emr.cn-beijing.volcengineapi.com/?Version=2023-08-15&Action=GetApplicationPacket

Debugging

request parameters

The table below lists only the unique request parameters for this interface and some common parameters. For more information, see common parameters.

Parameter
Type
Required
Example value
Description
Action
String
Yes

GetApplicationPacket

Operation to be performed. Value: GetApplicationPacket

Version
String
Yes

2023-08-15

API version. Value: 2023-08-15

ClusterId
String
Yes

emr-xxx

Cluster ID

ApplicationName
String
Yes

HDFS

Application name

response parameters

The table below lists only the unique response parameters for this interface. For more information, see response structure

Parameter
Type
Example value
Description
Uri
String

https://xxx

TOS URL of the application installation package

Digest
String

796120610

Size verification of the application installation package

Destination
String

/usr/lib/emr/current/hadoop/hadoop-3.3.4.5.tar.gz

Target address for application installation

StripComponents
Integer

1

Metadata of the application installation package

sample request

{ 
    "ClusterId":"emr-xxx", 
    "ApplicationName": "HDFS" 
}

sample response

{ 
    "ResponseMetadata": { 
        "RequestId": "202312051652149128E59F3800xxx", 
        "Action": "GetApplicationPacket", 
        "Version": "2023-08-15", 
        "Service": "emr", 
        "Region": "cn-beijing", 
        "Error": null, 
        "Deprecated": false 
    }, 
    "Result": [ 
        { 
            "Uri": "https://xxx", 
            "Digest": "796120610", 
            "Destination": "/usr/lib/emr/current/hadoop/hadoop-3.3.4.5.tar.gz", 
            "StripComponents": 1 
        } 
    ] 
}

error codes

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

HttpCode
Error code
Error message
Note
400
InvalidClusterId
cluster id {clusterId} not found

Cluster does not exist

400
IllegalOperationForCluster
The cluster id {clusterId} does not support the operation

Illegal operation. This cluster does not support this operation.

400
InvalidRequest
Access Denied {clusterId}

No permission for this cluster

Last updated: 2026.06.01 17:04:19