Grant the AliyunServiceRoleForEMRServerlessSpark and AliyunEMRSparkJobRunDefaultRole default roles to your Alibaba Cloud account before you use EMR Serverless Spark.
Procedure
The system typically triggers automatic authorization when you first access the service.
-
Log on to the EMR console.
-
In the left-side navigation pane, choose EMR Serverless > Spark.
-
On the Dependency Check page, in the row for the AliyunServiceRoleForEMRServerlessSpark role, click Authorize.
-
On the Dependency Check page, in the row for the AliyunEMRSparkJobRunDefaultRole role, click Authorize Now.
NoteYou can perform this operation by using a root account or a RAM user that has the AliyunRAMFullAccess permission.
-
On the Cloud resource access authorization page, click Authorize at the bottom of the page.
References
If you use a RAM user with EMR Serverless Spark, grant the required permissions to the RAM user. For more information, see Grant permissions to a RAM user.