You can manage access for a native Spark engine.
About this task
- Managing user access
- You can edit the Spark details in list and topology views.
- Log in to the watsonx.data cluster. Go to the Infrastructure manager page.
- Click the name of Spark engine (either from list or topology view). Engine information window
opens.
- In the Access control tab, click Add access.
- In the Add access window, provide the name of the user and select the
role.
- Click Add. The user is added and assigned the role.
Note: To remove a
role, click the overflow menu for the selected user and then select
Remove.
- Infrastructure access
-
The access control at the infrastructure level allows you to grant access to the engines,
catalogs, buckets, and databases. The following table explains the permitted actions for each
role.
-
Table 1. Roles and privileges for a native Spark engine
| Privileges |
Administrator |
Manager |
User |
| Delete an engine |
Y |
N |
N |
| Grant access |
Y |
N |
N |
| Revoke access |
Y |
N |
N |
| Update Spark engine details (tags, description, version and configuration) |
Y |
Y |
N |
| View an engine |
Y |
Y |
Y |
| Run workloads against the engine |
Y |
Y |
Y |
| Start Spark history server |
Y |
Y |
Y |
| Stop Spark history server |
Y |
Y |
Y |
| View Spark history UI |
Y |
Y |
Y |
| View Spark UI |
Y |
Y |
Y |
| Associate catalog |
Y |
Y |
N |
| Disassociate catalog |
Y |
Y |
N |
Procedure
- Log in to the watsonx.data
console.
- From the navigation menu, select Access control. Under the
Infrastructure tab, the different components (Engine, Catalog, Bucket, and
Database) are displayed in the table.
- Click the overflow icon in the components row and then click Manage
access. Alternatively, you can click the Display name of the
component. The selected component page opens.
- Under the Access control tab, click Add
access.
- In the Add access window, provide the following details.
| Field |
Description |
| Name |
You can select individual users or a user group. |
| Role |
Select the role from the drop-down list. You can assign roles based on the component type.
For more information, see Roles and privileges. |
- Click Add. The user is added and assigned the role.
- To change the role that is assigned to a user, complete the following steps:
- Under the Infrastructure tab, click the Display
name of the component in the table.
- The Access control tab for selected component
opens.
- Click the overflow menu for the selected user and then select Change
role.
- In the Change role window, select the role from the drop-down
list.
- Click Save.
- To remove a user for a component, complete the following steps:
- Under the Infrastructure tab, click the Display
name of the component in the table.
- The Access control tab for the selected component
opens.
- Click the overflow menu for the selected user and then select
Remove.
- In the Confirm removal window, click
Remove.