Managing the user access for native Spark engine

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.
  1. Log in to the watsonx.data cluster. Go to the Infrastructure manager page.
  2. Click the name of Spark engine (either from list or topology view). Engine information window opens.
  3. In the Access control tab, click Add access.
  4. In the Add access window, provide the name of the user and select the role.
  5. 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

  1. Log in to the watsonx.data console.
  2. From the navigation menu, select Access control. Under the Infrastructure tab, the different components (Engine, Catalog, Bucket, and Database) are displayed in the table.
  3. 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.
  4. Under the Access control tab, click Add access.
  5. 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.
  6. Click Add. The user is added and assigned the role.
  7. To change the role that is assigned to a user, complete the following steps:
    1. Under the Infrastructure tab, click the Display name of the component in the table.
    2. The Access control tab for selected component opens.
    3. Click the overflow menu for the selected user and then select Change role.
    4. In the Change role window, select the role from the drop-down list.
    5. Click Save.
  8. To remove a user for a component, complete the following steps:
    1. Under the Infrastructure tab, click the Display name of the component in the table.
    2. The Access control tab for the selected component opens.
    3. Click the overflow menu for the selected user and then select Remove.
    4. In the Confirm removal window, click Remove.