You need to enable JavaScript to run this app.
文档中心
E-MapReduce

E-MapReduce

复制全文
下载 pdf
应用管理
ListApplicationConfigFiles - 集群配置文件列表
复制全文
下载 pdf
ListApplicationConfigFiles - 集群配置文件列表

集群配置文件列表

使用说明

调用 ListApplicationConfigFiles,查看一个 E-MapReduce(EMR)集群中的应用配置文件。

注意事项

已拥有火山引擎账号并开通 EMR 权限。

请求说明

请求方式:POST
请求地址:https://emr.cn-beijing.volcengineapi.com/?Version=2023-08-15&Action=ListApplicationConfigFiles

调试

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

参数
类型
是否必填
示例值
描述
Action
String

ListApplicationConfigFiles

要执行的操作,取值:ListApplicationConfigFiles。

Version
String

2023-08-15

API的版本,取值:2023-08-15。

ClusterId
String

emr-xxx

集群id

ApplicationName
String

HDFS

应用名称

MaxResults
Integer

10

返回的最大记录数,默认10 ,最大100

NextToken
String

xxx

分页查询的下一页token

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构

参数
类型
示例值
描述
Items
Array of Object

--

应用配置文件列表

MaxResults
Integer

10

单次查询可返回的最大记录数

NextToken
String

TfhvaePXZl2eNA6K58wUIw==

分页查询的下一页token

TotalCount
Integer

383

总记录数

请求示例

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

返回示例

{
    "ResponseMetadata": {
        "RequestId": "20231204150314DDAD5A0C4767xxx",
        "Action": "ListApplicationConfigFiles",
        "Version": "2023-08-15",
        "Service": "emr",
        "Region": "cn-beijing",
        "Error": null,
        "Deprecated": false
    },
    "Result": {
        "Items": [
            {
                "ApplicationName": "HDFS",
                "FileName": "core-site.xml",
                "FilePath": "/etc/emr/hadoop/conf",
                "FileMode": null,
                "FileUser": "hdfs",
                "FileGroup": "hadoop",
                "SupportCustomConfigItem": null,
                "Description": null
            },
            {
                "ApplicationName": "HDFS",
                "FileName": "hadoop-env.sh",
                "FilePath": "/etc/emr/hadoop/conf",
                "FileMode": null,
                "FileUser": "hdfs",
                "FileGroup": "hadoop",
                "SupportCustomConfigItem": null,
                "Description": null
            }, ...
        ],
        "TotalCount": 9,
        "MaxResults": 10,
        "NextToken": null
    }
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

状态码
错误码
错误信息
说明
400
IllegalOperationForCluster

The cluster id {clusterId} does not support the operation

非法操作,该集群不支持该操作

400
InvalidRequest

Access Denied {clusterId}

对该集群没有权限

400
InvalidClusterId

cluster id {clusterId} not found

集群不存在

405
UnSupportedListConfigFiles

UnSupported List ConfigFiles when releaseVersion {0} is lower than 3.5.x

最近更新时间:2025.09.25 14:44:53
这个页面对您有帮助吗?
有用
有用
无用
无用