Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Creating a Role

Updated on 2022-08-12 GMT+08:00

Scenario

This section describes how to create a role on MRS Manager and authorize and manage Manager and components.

Up to 1,000 roles can be created on MRS Manager.

Prerequisites

You have learned service requirements.

Procedure

  1. On MRS Manager, choose System > Manage Role.
  2. Click Create Role and fill in Role Name and Description.

    Role Name is mandatory and contains 3 to 30 digits, letters, and underscores (_). Description is optional.

  3. In Permission, set role permission.

    1. Click Service Name and select a name in View Name.
    2. Select one or more permissions.
    NOTE:
    • The Permission parameter is optional.
    • If you select View Name to set component permissions, you can enter a resource name in the Search box in the upper right corner and click . The search result is displayed.
    • The search scope covers only directories with current permissions. You cannot search subdirectories. Search by keywords supports fuzzy match and is case-insensitive. Results of the next page can be searched.
    Table 1 Manager permission description

    Resource Supporting Permission Management

    Permission Setting

    Alarm

    Authorizes the Manager alarm function. You can select View to view alarms and Management to manage alarms.

    Audit

    Authorizes the Manager audit log function. You can select View to view audit logs and Management to manage audit logs.

    Dashboard

    Authorizes the Manager overview function. You can select View to view the cluster overview.

    Hosts

    Authorizes the node management function. You can select View to view node information and Management to manage nodes.

    Services

    Authorizes the service management function. You can select View to view service information and Management to manage services.

    System_cluster_management

    Authorizes the MRS cluster management function. You can select Management to use the MRS patch management function.

    System_configuration

    Authorizes the MRS cluster configuration function. You can select Management to configure MRS clusters on Manager.

    System_task

    Authorizes the MRS cluster task function. You can select Management to manage periodic tasks of MRS clusters on Manager.

    Tenant

    Authorizes the Manager multi-tenant management function. You can select Management to manage multi-tenants.

    Table 2 HBase permission description

    Resource Supporting Permission Management

    Permission Setting

    SUPER_USER_GROUP

    Grants you HBase administrator rights.

    Global

    HBase resource type, indicating the whole HBase.

    Namespace

    HBase resource type, indicating namespace, which is used to store HBase tables. It has the following permissions:

    • Admin permission to manage the namespace
    • Create: permission to create HBase tables in the namespace
    • Read: permission to access the namespace
    • Write: permission to write data to the namespace
    • Execute: permission to execute the coprocessor (Endpoint)

    Table

    HBase resource type, indicating a data table, which is used to store data. It has the following permissions:

    • Admin: permission to manage a data table
    • Create: permission to create column families and columns in a data table
    • Read: permission to read a data table
    • Write: permission to write data to a data table
    • Execute: permission to execute the coprocessor (Endpoint)

    ColumnFamily

    HBase resource type, indicating a column family, which is used to store data. It has the following permissions:

    • Create: permission to create columns in a column family
    • Read: permission to read a column family
    • Write: permission to write data to a column family

    Qualifier

    HBase resource type, indicating a column, which is used to store data. It has the following permissions:

    • Read: permission to read a column
    • Write: permission to write data to a column

    By default, permissions of an HBase resource type of each level are shared by resource types of sub-levels. However, the Recursive option is not selected by default. For example, if Read and Write permissions are added to the default namespace, they are automatically added to the tables, column families, and columns in the namespace. If a child resource is set after the parent resource, the permission of the child resource is the union of the permissions of the parent resource and the current child resource.

    Table 3 HDFS permission description

    Resource Supporting Permission Management

    Permission Setting

    Folder

    HDFS resource type, indicating an HDFS directory, which is used to store files or subdirectories. It has the following permissions:

    • Read: permission to access the HDFS directory
    • Write: permission to write data to the HDFS directory
    • Execute: permission to perform an operation. It must be selected when you add access or write permission.

    Files

    HDFS resource type, indicating a file in HDFS. It has the following permissions:

    • Read: permission to access the file
    • Write: permission to write data to the file
    • Execute: permission to perform an operation. It must be selected when you add access or write permission.

    Permissions of an HDFS directory of each level are not shared by directory types of sub-levels by default. For example, if Read and Execute permissions are added to the tmp directory, you must select Recursive at the same time to add permissions to subdirectories.

    Table 4 Hive permission description

    Resource Supporting Permission Management

    Permission Setting

    Hive Admin Privilege

    Grants you Hive administrator rights.

    Database

    Hive resource type, indicating a Hive database, which is used to store Hive tables. It has the following permissions:

    • Select: permission to query the Hive database
    • Delete: permission to perform the deletion operation in the Hive database
    • Insert: permission to perform the insertion operation in the Hive database
    • Create: permission to perform the creation operation in the Hive database

    Table

    Hive resource type, indicating a Hive table, which is used to store data. It has the following permissions:

    • Select: permission to query the Hive table
    • Delete: permission to perform the deletion operation in the Hive table
    • Update: grants users the Update permission of the Hive table
    • Insert: permission to perform the insertion operation in the Hive table
    • Grant of Select: permission to grant the Select permission to other users using Hive statements
    • Grant of Delete: permission to grant the Delete permission to other users using Hive statements
    • Grant of Update: permission to grant the Update permission to other users using Hive statements
    • Grant of Insert: permission to grant the Insert permission to other users using Hive statements

    By default, permissions of a Hive resource type of each level are shared by resource types of sub-levels. However, the Recursive option is not selected by default. For example, if Select and Insert permissions are added to the default database, they are automatically added to the tables and columns in the database. If a child resource is set after the parent resource, the permission of the child resource is the union of the permissions of the parent resource and the current child resource.

    Table 5 Yarn permission description

    Resource Supporting Permission Management

    Permission Setting

    Cluster Admin Operations

    Grants you Yarn administrator rights.

    root

    Root queue of Yarn. It has the following permissions:

    • Submit: permission to submit jobs in the queue
    • Admin: permission to manage permissions of the current queue

    Parent Queue

    Yarn resource type, indicating a parent queue containing sub-queues. A root queue is a type of a parent queue. It has the following permissions:

    • Submit: permission to submit jobs in the queue
    • Admin: permission to manage permissions of the current queue

    Leaf Queue

    Yarn resource type, indicating a leaf queue. It has the following permissions:

    • Submit: permission to submit jobs in the queue
    • Admin: permission to manage permissions of the current queue

    By default, permissions of a Yarn resource type of each level are shared by resource types of sub-levels. However, the Recursive option is not selected by default. For example, if the Submit permission is added to the root queue, it is automatically added to the sub-queue. Permissions inherited by sub-queues will not be displayed as selected in the Permission table. If a child resource is set after the parent resource, the permission of the child resource is the union of the permissions of the parent resource and the current child resource.

    Table 6 Hue permission description

    Resource Supporting Permission Management

    Permission Setting

    Storage Policy Admin

    Grants you storage policy administrator rights.

  4. Click OK. Return to Manage Role.

Related Tasks

Modifying a role

  1. On MRS Manager, click System.
  2. In the Permission area, click Manage Role.
  3. In the row of the role to be modified, click Modify to modify role information.

    NOTE:

    If you change permissions assigned by the role, it takes 3 minutes to make new configurations take effect.

  4. Click OK. The modification is complete.

Deleting a role

  1. On MRS Manager, click System.
  2. In the Permission area, click Manage Role.
  3. In the row of the role to be deleted, click Delete.
  4. Click OK. The role is deleted.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback