You can call the DescribeFlowProjectClusterSetting operation to query the project setting details.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeFlowProjectClusterSetting |
The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to DescribeFlowProjectClusterSetting. |
ClusterId | String | Yes | C-DCEE11B49C8F**** |
The ID of the cluster. You can call ListClusters You can call this operation to view the ID of a cluster. |
ProjectId | String | Yes | FP-ED2F3E844FE3**** |
The ID of the project. You can call ListFlowProject View the ID of the project. |
RegionId | String | Yes | cn-hangzhou |
The region ID. You can call DescribeRegions To view the latest list of Alibaba Cloud regions. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ClusterId | String | C-DCEE11B49C8F**** |
The ID of the cluster. |
DefaultQueue | String | default |
The default YARN queue to which jobs are submitted. |
DefaultUser | String | hadoop |
The default Linux user who submits jobs. |
GmtCreate | Long | 1541561123000 |
The time when the user was added to the project. |
GmtModified | Long | 1541561123000 |
The modification time of the cluster. |
HostList | List | "Host":["emr-header-1.cluster-500159692" |
The whitelist of clients that can submit jobs. |
K8sClusterId | String | N/A |
A reserved parameter. |
ProjectId | String | FP-3535FE0BE522**** |
The ID of the project. |
QueueList | List | "Queue": ["default"] |
The whitelisted YARN queue to which jobs can be submitted. |
RequestId | String | F2168FB7-8E60-44EE-A946-DA887297**** |
The ID of the request. |
UserList | List | "User": ["hadoop"] |
The whitelisted Linux user who can submit jobs. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeFlowProjectClusterSetting
&ClusterId=C-DCEE11B49C8F****
&ProjectId=FP-ED2F3E844FE3****
&RegionId=cn-hangzhou
&<common request parameters>
Sample success responses
XML
format
<data>
<DefaultUser>hadoop</DefaultUser>
<GmtCreate>1541561123000</GmtCreate>
<RequestId>80F270E8-27BD-4F24-BB2A-CD3FBCC450DA</RequestId>
<DefaultQueue>undefined</DefaultQueue>
<ClusterId>C-F32FB31D8295****</ClusterId>
<ProjectId>FP-3535FE0BE5224A47</ProjectId>
<GmtModified>1542948908000</GmtModified>
<HostList>
<Host>emr-header-1.cluster-500159692</Host>
</HostList>
<UserList>
</UserList>
<QueueList>
</QueueList>
</data>
<requestId>80F270E8-27BD-4F24-BB2A-CD3FBCC450DA</requestId>
JSON
Syntax
{
"data": {
"DefaultUser": "hadoop",
"GmtCreate": 1541561123000,
"RequestId": "80F270E8-27BD-4F24-BB2A-CD3FBCC450DA",
"DefaultQueue": "undefined",
"ClusterId": "C-F32FB31D8295****",
"ProjectId": "FP-3535FE0BE5224A47",
"GmtModified": 1542948908000,
"HostList": {
"Host": [
"emr-header-1.cluster-500159692"
]
},
"UserList": {
"User": []
},
"QueueList": {
"Queue": []
}
},
"requestId": "80F270E8-27BD-4F24-BB2A-CD3FBCC450DA"
}