Updated on 2024-11-29 GMT+08:00

Creating a FlinkServer Role

Create and configure a FlinkServer role on Manager as an MRS cluster administrator. A FlinkServer role can be configured with the FlinkServer administrator permission and the permissions to edit and view applications.

You need to set permissions for the specified user in FlinkServer so that they can update, query, and delete data.

Prerequisites

The cluster administrator has planned permissions based on service requirements.

Procedure

  1. Log in to Manager.
  2. Choose System > Permission > Role.
  3. On the displayed page, click Create Role and specify Role Name and Description.
  4. Set Configure Resource Permission.

    FlinkServer permissions are as follows:

    • FlinkServer Admin Privilege: highest-level permission. Users with the permission can perform service operations on all FlinkServer applications.
    • FlinkServer Application: Users can set application view and applications management permissions on applications.
    Table 1 Setting a role

    Scenario

    Role Authorization

    Setting the FlinkServer administrator permission

    In Configure Resource Permission, choose Name of the desired cluster > Flink and select FlinkServer Admin Privilege.

    Setting FlinkServer application permissions

    In the Configure Resource Permission table, choose Name of the desired cluster > Flink > FlinkServer Application. In the Permission column, select application view or applications management.

  5. Click OK. Return to role management page.
  6. (Optional) Create a user with FlinkServer-related permissions.

    After the FlinkServer role is created, create a FlinkServer user and bind the user to the configured FlinkServer role and user group. For details, see "FusionInsight Manager Operation Guide" > "System Configuration" > "Configuring Permission" > "Managing Users" > "Creating a User" in MapReduce Service User Guide.