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

Managing the MRS Tenant Resource Directory

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

You can manage the HDFS storage directory used by a specific tenant on MRS. The management operations include adding a tenant directory, modifying the directory file quota, modifying the storage space, and deleting a directory.

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 tenant associated with HDFS storage resources has been added.

Managing a Tenant Directory

  1. Go to the Tenant page.

    • On the MRS management console: Click the target cluster. On the cluster details page, click Tenant.
    • On the Manager of an MRS 3.x or later cluster: Click Tenant Resources.
    • On the Manager of an MRS 2.x or later cluster: Click Tenant.

  2. In the tenant list on the left, click the target tenant.
  3. Click the resource tab and perform the following operations to manage tenant directory:

    • View the tenant directory.

      View related information in the HDFS Storage pane.

      • The File Number Threshold column provides the quota for files and directories of the tenant directory. (On the MRS management console, this parameter is Maximum Number of Files/Directories.)
      • The Storage Space Quota column indicates storage space size of tenant directories.
    • Add a tenant directory.
      1. In the HDFS Storage pane, click Create Directory.
        • Parent Directory: Select a storage directory of a parent tenant.

          This parameter is not displayed if the current tenant is not a sub-tenant. If the parent tenant has multiple directories, select any of them.

        • Path: Enter the tenant directory.
          • If the current tenant is not a sub-tenant, the new path is created in the HDFS root directory.
          • If the current tenant is a sub-tenant, the new path is created in the specified directory.

          A complete HDFS storage directory can contain a maximum of 1,023 characters. An HDFS directory name contains digits, letters, spaces, and underscores (_). The name cannot start or end with a space.

        • Maximum Number of Files/Directories: Enter the quota of files and directories. This parameter is optional.
        • File Number Threshold (%) is valid only when Quota is set. If the ratio of the number of used files to the value of Quota exceeds the value of this parameter, an alarm is generated. If this parameter is not specified, no alarm is reported in this scenario. This parameter is available for clusters of MRS 3.x or later.
          NOTE:

          The number of used files is collected every hour. Therefore, the alarm indicating that the ratio of used files exceeds the threshold is delayed.

        • Storage Space Quota: Specify the storage space size of the tenant directory.

          To ensure data reliability, one copy of a file is automatically generated when the file is stored in HDFS. That is, two copies of the same file are stored by default. The HDFS storage space indicates the total disk space occupied by all these copies. For example, if the value of Storage Space Quota is set to 500, the actual space for storing files is about 250 MB (500/2 = 250).

        • Storage Space Threshold (%): If the ratio of used storage space to the value of Space Quota exceeds this value, an alarm is generated. If this parameter is not specified, no alarm will be reported in this scenario. This parameter is available for clusters of MRS 3.x or later.
          NOTE:

          The used storage space is collected every hour. Therefore, the alarm indicating that the ratio of used storage space exceeds the threshold is delayed.

      2. Click OK. The system creates tenant directories in the HDFS root directory.
    • Modify a tenant directory.
      1. In the HDFS Storage table, click Modify in the Operation column of the specified tenant directory.
      2. Change the parameter values based on service requirements.
      3. Click OK.
    • Delete a tenant directory.
      1. In the HDFS Storage table, click Delete in the Operation column of the specified tenant directory.

        The default HDFS storage directory set during tenant creation cannot be deleted. Only the newly added HDFS storage directory can be deleted.

      2. Click OK. The tenant directory 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