You can call this operation to create cluster settings for a project.

Request parameters

Name Type Required Example Description
ClusterId String Yes C-DCEE11B49C8F42B4 The ID of the cluster.
ProjectId String Yes FP-ED2F3E844FE383AA The ID of the project.
RegionId String Yes cn-hangzhou The ID of the region.
DefaultQueue String No default The default queue for job submission. Default value: default.
DefaultUser String No hadoop The default Linux user to submit jobs. Default value: hadoop.
HostList.N RepeatList No emr-header-1.cluster-12345 The whitelist of hosts for job submission. Only gateways and master nodes are supported.
QueueList.N RepeatList No queue1 The whitelist of queues.
UserList.N RepeatList No hadoop The whitelist of Linux users for job submission.

Response parameters

Name Type Example Description
RequestId String 0AD9FF20-F585-4E0A-870D-B8A8F884CCE6 The ID of the request.
Data Boolean true Indicates whether the cluster settings are created.


  • Sample requests
    /? Action=CreateFlowProjectClusterSetting
    &HostList. 1=emr-header-1.cluster-12345
    &QueueList. 1=queue1
    &UserList. 1=hadoop
    &<Common request parameters>
  • Successful response examples
    JSON format
  • Error response examples
    JSON format
    	"message":"Cluster host does not exit [[emr-header-1.cluster-12345]",

Error codes

View error codes.