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

Configuring the Queue Capacity Policy of a Resource Pool

Updated on 2024-09-23 GMT+08:00

After a resource pool is added, the capacity policies of available resources need to be configured for Yarn task queues. This ensures that tasks in the resource pool are running properly. Each queue can be configured with the queue capacity policy of only one resource pool. Users can view the queues in any resource pool and configure queue capacity policies. After the queue policies are configured, Yarn task queues and resource pools are associated.

You can configure queue policies on MRS.

Prerequisites

  • The IAM users have been synchronized in advance. You can do this by clicking Synchronize next to IAM User Sync on the Dashboard page of the cluster details.
  • You have logged in to MRS Manager. For how to log in, see Accessing MRS Manager.
  • A resource pool has been added.
  • The task queue is not associated with other resource pools except the default default resource pool.

Configuring a Queue Capacity Policy on the MRS Management Console

  1. Log in to the MRS console.
  2. On the Active Clusters page, select a running cluster and click its name to switch to the cluster details page.
  3. On the MRS details page, click Tenant.
  4. Click the Resource Distribution Policies tab.
  5. In Resource Pools, select a specified resource pool.

    Available Resource Quota: indicates that all resources in each resource pool are available for queues by default.

  6. Locate the specified queue in the Resource Allocation table, and click Modify in the Operation column.
  7. In Modify Resource Allocation, configure the resource capacity policy of the task queue in the resource pool.

    • Capacity (%): specifies the percentage of the current tenant's computing resource usage.
    • Maximum Capacity (%): specifies the percentage of the current tenant's maximum computing resource usage.

  8. Click OK to save the settings.

Configuring the Queue Capacity Policy on Manager

For clusters of MRS 3.x and later

  1. Log in to FusionInsight Manager.
  2. Choose Tenant Resources > Dynamic Resource Plan and click the Resource Distribution Policy tab.
  3. Select the name of the target cluster from Cluster and select a resource pool from Resource Pool.
  4. Locate the row that contains the target queue in the Resource Allocation area, and click Modify in the Operation column.
  5. Modify the resource allocation.

    • Capacity scheduler
      • Capacity (%): indicates the percentage of compute resources used by the current tenant.
      • Maximum Capacity (%): indicates the maximum percentage of computing resources used by the current tenant.
    • Superior Scheduler
      1. On the Resource Configuration Policy tab of the Modify Resource Allocation window, set the resource configuration policy of the queue in the resource pool.
        Figure 1 Resource configuration policy
        • Weight: The task queue with a larger weight preempts resources first when resources are insufficient. Its initial value is the same as the minimum resource percentage.
        • Minimum Resource: indicates the minimum resources that a tenant can obtain.
        • Maximum Resource: indicates the maximum resources that a tenant can obtain.
        • Reserved Resource: indicates the resources that are reserved for the tenant's queues and cannot be lent to other tenants' queues.
      2. In the Modify Resource Allocation dialog box, click the User Policy tab and set the user policy.
        NOTE:

        defaultUser(built-in) indicates that the policy specified by defaultUser is used if a user does not specify a policy. The default policy cannot be deleted.

        • Click Add User Policy to add a user policy.
          • Username: indicates the name of a user.
          • Weight: The task queue with a larger weight preempts resources first when resources are insufficient.
          • Max vCores: indicates the maximum number of virtual cores that the user can obtain.
          • Max Memory(MB): indicates the maximum memory that the user can obtain.
        • Click Modify in the Operation column to modify an existing user policy.
        • Click Clear in the Operation column to delete an existing user policy.

  6. Click OK to save the settings.

For MRS clusters of 2.x and earlier:

  1. On MRS Manager, click Tenant.
  2. Click the Dynamic Resource Plan tab.
  3. In Resource Pools, select a specified resource pool.

    Available Resource Quota: indicates that all resources in each resource pool are available for queues by default.

  4. Locate the specified queue in the Resource Allocation table, and click Modify in the Operation column.
  5. In Modify Resource Allocation, configure the resource capacity policy of the task queue in the resource pool.

    • Capacity (%): specifies the percentage of the current tenant's computing resource usage.
    • Maximum Capacity (%): specifies the percentage of the current tenant's maximum computing resource usage.

  6. Click OK to save the settings.

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