How to Use MRS
MapReduce Service (MRS) is a HUAWEI CLOUD service that is used to deploy and manage the Hadoop system and enables one-click Hadoop cluster deployment. MRS provides enterprise-level big data clusters on the cloud. Tenants can fully control the clusters and easily run big data components such as Hadoop, Spark, HBase, Kafka, and Storm in the clusters.
MRS is easy to use. You can execute various tasks and process or store PB-level data using computers connected in a cluster. The procedure of using MRS is as follows:
- Develop a data processing program. MapReduce Service User Guide provides sample code and tutorials to help you quickly develop your own programs and properly run them.
- Upload local programs and data files to OBS.
- Create a cluster by following instructions in Creating a Cluster. You can choose a cluster type for offline data analysis or stream processing or both, and set ECS instance specifications, instance count, data disk type (common I/O, high I/O, and ultra-high I/O), and components to be installed such as Hadoop, Spark, HBase, Hive, Kafka, and Storm in a cluster. You can use a bootstrap action to execute a script on a specified node before or after the cluster is started to install additional third-party software, modify the cluster running environment, and perform other customizations.
- Manage jobs. MRS provides a platform for executing programs you develop. You can submit, execute, and monitor such programs on MRS.
- Manage clusters. MRS provides you with an enterprise-level unified management platform of big data clusters, helping you quickly know health status of services and hosts. Through graphical metric monitoring and customization, you can obtain critical system information in a timely manner. In addition, you can modify service attribute configurations based on service performance requirements, and start or stop clusters, services, and role instances in one click.
- Terminate a cluster. You can terminate an MRS cluster that is no longer use after job execution is complete. The terminated cluster is no longer charged.