El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

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

Configuring YARN Big Job Scanning

Updated on 2024-12-13 GMT+08:00

YARN's big job scanning function monitors local temporary files (such as shuffle files) and key HDFS directories (OBS is not supported) for Hive, HetuEngine, and Spark jobs. It reports events when jobs consume excessive storage resources (local disks or key HDFS directories).

NOTE:

This section applies only to MRS 3.5.0 and later versions.

For details about the monitored HDFS directories, see Table 1.

Table 1 Monitored HDFS directories

Component

Monitored HDFS directories

Threshold

Hive

hdfs://hacluster/tmp/hive-scratch/*/

400G

Hetu

hdfs://hacluster/hetuserverhistory/*/coordinator/

100G

Spark

hdfs://hacluster/sparkJobHistory/

100G

For details about the parameters, see Table 2.

Go to the All Configurations page of YARN and enter a parameter name in the search box by referring to Modifying Cluster Service Configuration Parameters.

NOTICE:
  • To activate the Hive component configuration in the big job scanning feature, set hive-ext.record.mr.applicationid to true. Here are the steps you need to take:

    Go to the All Configurations page of the Hive service by referring to Modifying Cluster Service Configuration Parameters, choose HiveServer (Role) > Custom, and add hive-ext.record.mr.applicationid in the hive.server.customized.configs parameter. Set the added parameter to true and save the configuration.

  • Currently, the Hive large job scanning feature applies only to the MapReduce engine.
Table 2 Parameter configuration

Parameter

Description

Default Value

hetu.job.hdfs.monitor.dir

Large directory monitoring path of HetuEngine jobs. The root directory cannot be monitored.

If the directories to be monitored include variable directories such as user directories, replace them with /*/.

hdfs://hacluster/hetuserverhistory/*/coordinator/

hetu.job.appId.parser.rule

Rule for extracting job IDs in the big directory monitoring path of HetuEngine jobs. Examples:

  • {subdir}/{appid}: The job ID is in the subdirectory of the monitoring directory. The subdirectory name is not fixed.
  • {appid}: The job ID is in the monitoring directory.

{appid}

hetu.job.hdfs.dir.threshold

Large directory threshold of HetuEngine jobs. If the threshold is exceeded, an event is reported.

Unit: GB

100

hive.job.hdfs.monitor.dir

Big directory monitoring path of Hive jobs. The root directory cannot be monitored.

If the directories to be monitored include variable directories such as user directories, replace them with /*/.

hdfs://hacluster/tmp/hive-scratch/*/

hive.job.appId.parser.rule

Rule for extracting job IDs in the big directory monitoring path of Hive jobs. Some examples are as follows:

  • {subdir}/{appid}: The job ID is in the subdirectory of the monitoring directory. The subdirectory name is not fixed.
  • {appid}: The job ID is in the monitoring directory.

{subdir}/{appid}

hive.job.hdfs.dir.threshold

Big directory threshold for monitoring Hive jobs. If the threshold is exceeded, an event is reported.

Unit: GB

400

spark.job.hdfs.monitor.dir

Big directory monitoring path for monitoring Spark jobs. The root directory cannot be monitored.

If the directories to be monitored include variable directories such as user directories, replace them with /*/.

hdfs://hacluster/sparkJobHistory/

spark.job.appId.parser.rule

Rule for extracting the job ID in the large directory monitoring path of the monitored Spark job. For example:

  • {subdir}/{appid}: The job ID is in the subdirectory of the monitoring directory. The subdirectory name is not fixed.
  • {appid}: The job ID is in the monitoring directory.

{appid}

spark.job.hdfs.dir.threshold

Large directory threshold for monitoring Spark jobs. If the threshold is exceeded, an event is reported.

Unit: GB

100

job.monitor.local.thread.pool

Number of threads for obtaining information about big jobs monitored by NodeManager.

50

max.job.count

Number of big jobs displayed in the event.

10

job.monitor.local.dir.threshold

Threshold of the size of the job directory on NodeManager's local disk. An event will be triggered once this threshold is reached.

Unit: GB

20

job.monitor.check.period

Big job monitoring period. Setting the value to 0 disables big job monitoring.

Unit: minute

10

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback