Updates the submodule configurations of a cluster in a workspace. Currently, only Spark parameters are supported.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
integer |
Yes |
The ID of the cluster associated with DataWorks. |
1234 |
| ProjectId |
integer |
Yes |
The ID of the workspace. |
5678 |
| ConfigType |
string |
Yes |
The configuration type of the cluster. Valid values:
|
SPARK_CONF |
| ConfigValues |
array |
Yes |
The configuration information of the cluster submodule. |
|
| ClusterConfig |
No |
The configuration information of the cluster in a module. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| Data |
boolean |
Indicates whether the update was successful. Valid values:
|
true |
| RequestId |
string |
The ID of the request. It is used to locate logs and troubleshoot problems. |
0000-ABCD-E**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorCode |
string |
The error code. |
101011005 |
| ErrorMessage |
string |
The error message. |
Invalid.Cluster.ClusterNotFound |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
Examples
Success response
JSON format
{
"Data": true,
"RequestId": "0000-ABCD-E****",
"Success": true,
"ErrorCode": "101011005",
"ErrorMessage": "Invalid.Cluster.ClusterNotFound",
"HttpStatusCode": 200
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.