How Do I Enable Different Service Programs to Use Different YARN Queues?
Create a tenant on Manager.
For details, see Adding a Sub-Tenant.
Procedure
- Log in to FusionInsight Manager and choose Tenant Resources.
- In the tenant list on the left, select a parent tenant and click
. On the page for adding a sub-tenant, set attributes for the sub-tenant according to Table 1.
Table 1 Sub-tenant parameters Parameter
Description
Cluster
Indicates the cluster to which the parent tenant belongs.
Parent Tenant Resource
Indicates the name of the parent tenant.
Name
- Indicates the name of the current tenant. The value consists of 3 to 50 characters, including digits, letters, and underscores (_).
- Plan a sub-tenant name based on service requirements. The name cannot be the same as that of a role, HDFS directory, or Yarn queue that exists in the current cluster.
Tenant Type
Specifies whether the tenant is a leaf tenant.
- When Leaf Tenant is selected, the current tenant is a leaf tenant and no sub-tenant can be added.
- When Non-leaf Tenant is selected, the current tenant is not a leaf tenant and sub-tenants can be added to the current tenant. However, the tenant depth cannot exceed 5 levels.
Computing Resource
Specifies the dynamic computing resources for the current tenant.
- When Yarn is selected, the system automatically creates a queue in Yarn and the queue is named the same as the sub-tenant name.
- A leaf tenant can directly submit jobs to the queue.
- A non-leaf tenant cannot directly submit jobs to the queue. However, Yarn adds an extra queue (hidden) named default for the non-leaf tenant to record the remaining resource capacity of the tenant. Actual jobs do not run in this queue.
- If Yarn is not selected, the system does not automatically create a queue.
Default Resource Pool Capacity (%)
Indicates the percentage of computing resources used by the current tenant. The base value is the total resources of the parent tenant.
Default Resource Pool Max Capacity (%)
Indicates the maximum percentage of computing resources used by the current tenant. The base value is the total resources of the parent tenant.
Storage Resource
Specifies storage resources for the current tenant.
- When HDFS is selected, the system automatically creates a folder named after the sub-tenant in the HDFS parent tenant directory.
- When HDFS is not selected, the system does not automatically allocate storage resources.
Quota
Indicates the quota for files and directories.
Space Quota
Indicates the quota for the HDFS storage space used by the current tenant.
- If the unit is set to MB, the value ranges from 1 to 8796093022208. If the unit is set to GB, the value ranges from 1 to 8589934592.
- This parameter indicates the maximum HDFS storage space that can be used by the tenant, but not the actual space used.
- If its value is greater than the size of the HDFS physical disk, the maximum space available is the full space of the HDFS physical disk.
- If this quota is greater than the quota of the parent tenant, the actual storage space does not exceed the quota of the parent tenant.
Storage Path
Indicates the HDFS storage directory for the tenant.
- The system automatically creates a folder named after the sub-tenant name in the directory of the parent tenant by default. For example, if the sub-tenant is ta1s and the parent directory is /tenant/ta1, the storage path for the sub-tenant is then /tenant/ta1/ta1s.
- The storage path is customizable in the parent directory.
Description
Indicates the description of the current tenant.
Roles, computing resources, and storage resources are automatically created when tenants are created.
- The new role has permissions on the computing and storage resources. This role and its permissions are automatically controlled by the system and cannot be manually managed by choosing System > Permission > Role. The role name is in the format of Tenant name_Cluster ID. The ID of the first cluster is not displayed by default.
- When using this tenant, create a system user and bind the user to the role of the tenant. For details, see Adding a User and Binding the User to a Tenant Role.
- The sub-tenant can further allocate the resources of its parent tenant. The sum of the resource percentages of direct sub-tenants under a parent tenant at each level cannot exceed 100%. The sum of the computing resource percentages of all level-1 tenants cannot exceed 100%.
- Check whether the current tenant needs to be associated with resources of other services.
- Click Associate Service to configure other service resources used by the current tenant.
- Set Services to HBase.
- Set Association Type as follows:
- Exclusive indicates that the service resources are used by the tenant exclusively and cannot be associated with other tenants.
- Shared indicates that the service resources can be shared with other tenants.
- Only HBase can be associated with a new tenant. However, HDFS, HBase, and Yarn can be associated with existing tenants.
- To associate an existing tenant with service resources, click the target tenant in the tenant list, switch to the Service Associations page, and click Associate Service to configure resources to be associated with the tenant.
- To disassociate an existing tenant from service resources, click the target tenant in the tenant list, switch to the Service Associations page, and click Delete in the Operation column. In the displayed dialog box, select I have read the information and understand the impact and click OK.
- Click OK.
- Click OK. Wait until the system displays a message indicating that the tenant is successfully created.
MRS Overview FAQs
- What Is MRS Used For?
- What Types of Distributed Storage Does MRS Support?
- How Do I Create an MRS Cluster Using a Custom Security Group?
- How Do I Use MRS?
- Region and AZ
- Can I Configure a Phoenix Connection Pool?
- Does MRS Support Change of the Network Segment?
- Can I Downgrade the Specifications of an MRS Cluster Node?
- What Is the Relationship Between Hive and Other Components?
- Does an MRS Cluster Support Hive on Spark?
- What Are the Differences Between Hive Versions?
- Which MRS Cluster Version Supports Hive Connection and User Synchronization?
- What Are the Differences Between OBS and HDFS in Data Storage?
- How Do I Obtain the Hadoop Pressure Test Tool?
- What Is the Relationship Between Impala and Other Components?
- Statement About the Public IP Addresses in the Open-Source Third-Party SDK Integrated by MRS
- What Is the Relationship Between Kudu and HBase?
- Does MRS Support Running Hive on Kudu?
- What Are the Solutions for processing 1 Billion Data Records?
- Can I Change the IP address of DBService?
- Can I Clear MRS sudo Logs?
- Is the Storm Log also limited to 20 GB in MRS cluster 2.1.0?
- What Is Spark ThriftServer?
- What Access Protocols Are Supported by Kafka?
- What If Error 408 Is Reported When an MRS Node Accesses OBS?
- What Is the Compression Ratio of zstd?
- Why Are the HDFS, YARN, and MapReduce Components Unavailable When an MRS Cluster Is Bought?
- Why Is the ZooKeeper Component Unavailable When an MRS Cluster Is Bought?
- Which Python Versions Are Supported by Spark Tasks in an MRS 3.1.0 Cluster?
- How Do I Enable Different Service Programs to Use Different YARN Queues?
- Differences and Relationships Between the MRS Management Console and Cluster Manager
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more