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
On this page

Show all

Help Center/ MapReduce Service/ FAQs/ Node Management/ How Do I Partition Disks in an MRS Cluster?

How Do I Partition Disks in an MRS Cluster?

Updated on 2024-08-16 GMT+08:00

MRS clusters can be used immediately after being delivered. You do not need to plan disk partitions. Table 1 describes the OS disk partitions of a created node.

Table 1 OS disk partitions of an MRS cluster node

Partition Type

Partition Directory

Capacity

Usage

OS partition

/

220 GB

OS root partition directory and program storage directory, including all directories (except the directories specified below)

/tmp

10 GB

Directory for storing temporary files

/var

10 GB

OS run directory

/var/log

The remaining space of the OS disk is allocated to the /var/log partition.

Directory for storing logs

/srv/BigData

60 GB

Data directory of FusionInsight Manager, which stores data such as ldapData, Manager, and metric_agent, and provides mount points for component data directories.

After an MRS node is created, the non-OS disks of the node are mounted to the /srv/BigData/dataN directory. For example, if the node has four data disks, the disk mounting directories are /srv/BigData/data1, /srv/BigData/data2, /srv/BigData/data3, and /srv/BigData/data4.

The metadata and data directories of each component deployed on the node are allocated to different disk partition directories based on certain mapping rules. Table 2 lists the data directory description of each component.

Table 2 Non-OS disk partitions of an MRS cluster node

Partition Type

Drive Partition Mount Directory

Data Catalog

Usage

Metadata partition

/srv/BigData/data1

dbdata_om

Directory for storing OMS database data. If Manager is to be installed on two nodes, both two nodes contain this partition directory.

LocalBackup

If the cluster data is backed up in LocalDir, the backup data is stored in the directory by default. If Manager is to be installed on two nodes, both two nodes contain this partition directory.

containers

Node where the WebContainer role is, which stores the WAR files and configuration sets of container BLU applications

doris/fe

Directory for storing Doris metadata

/srv/BigData/data2

journalnode

Node where the JournalNode role of HDFS is, which stores the JournalNode metadata of HDFS.

dbdata_service

Node where the DBServer role of DBService is, and the database directory of DBService

iotdb/iotdbserver

Directory for storing IoTDB metadata

iotdb/confignode

Directory for storing metadata of the IoTDB ConfigNode role

/srv/BigData/data3

namenode

Node where the NameNode role of HDFS is, which stores NameNode data.

iotdb/iotdbserver

Directory for storing IoTDBServer log data

/srv/BigData/data4

zookeeper

Node where the quorumpeer role of ZooKeeper is, which stores ZooKeeper data.

hetuengine/qas

Node where the QAS role of HetuEngine is, which stores QAS data.

Service data partition

/srv/BigData/dataN

  • dn
  • nm

Directory for storing DataNode data and intermediate MapReduce data

kafka-logs

Directory for storing Kafka broker data.

clickhouse

clickhouse_path

Directory for storing ClickHouse database data

The clickhouse_path directory storing ClickHouse metadata exists only in the data1 directory.

iotdb/iotdbserver

Directory for storing IoTDB service data

doris/be

Directory for storing Doris database data

NOTE:
  • The metadata partition directory uses a maximum of four disks (data1 to data4). The metadata directories are mapped to directories from /srv/BigData/data1 to /srv/BigData/data4 in sequence according to Table 2. If only three data disks are mounted to the current node, the directories under data4 and data2 are combined. If only two data disks are mounted, the directories under data3 and data1 are combined, and those under data4 and data2 are combined.

    For example, if the ZooKeeper node has four data disks, the ZooKeeper data directory is /srv/BigData/data4/zookeeper. If the node has only three data disks, the ZooKeeper data directory is /srv/BigData/data2/zookeeper.

  • The mapping rules of service data directories are as follows:

    For HDFS, Kafka, ClickHouse, and IoTDB, mount points that comply with the /srv/BigData/dataN directory are automatically identified as data directories based on the number of mounted disks on the current node.

    For example, if disks are mounted to the /srv/BigData/data1 to /srv/BigData/data3 directories, the DataNode data directories are /srv/BigData/data1/dn, /srv/BigData/data2/dn, and /srv/BigData/data3/dn, and the Kafka data directories are /srv/BigData/data1/kafka-logs, /srv/BigData/data2/kafka-logs, and /srv/BigData/data3/kafka-logs.

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