Unlock instant, AI-driven research and patent intelligence for your innovation.

Resource monitoring method and device based on YARN, and terminal equipment

A resource monitoring and resource technology, applied in the field of big data, can solve problems such as busy system, inability to execute tasks, insufficient operating resources, etc., and achieve the effect of avoiding long-term occupation, improving resource utilization and task operating efficiency

Pending Publication Date: 2020-06-16
深圳市云智融科技有限公司
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present application provides a YARN-based resource monitoring method, device, and terminal equipment to solve the problem that tasks cannot be executed or are over-executed due to busy systems and insufficient operating resources in existing YARN-based distributed systems. slow problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resource monitoring method and device based on YARN, and terminal equipment
  • Resource monitoring method and device based on YARN, and terminal equipment
  • Resource monitoring method and device based on YARN, and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] figure 1 It shows a schematic flowchart of the first YARN-based resource monitoring method provided by the embodiment of the present application. The execution subject of the embodiment of the present application is a terminal device, and the terminal device can access the YARN interface of the YARN-based distributed system. Details as follows:

[0042] In S101 , within the target time period, the running state information of each target task being executed is obtained through the YARN interface every first preset time period, and the running state information includes the running time and the resource size occupied by the running.

[0043] The YARN interface in the embodiment of this application specifically refers to the representational state transfer application interface (Representational State Transfer API, REST API) provided by the Hadoop YARN Web service, which is used to obtain the cluster, node and application program information of the YARN-based distributed ...

Embodiment 2

[0064] figure 2 It shows a schematic flowchart of the second YARN-based resource monitoring method provided by the embodiment of the present application. The execution subject of the embodiment of the present application is a terminal device, and the terminal device can access the YARN interface of the YARN-based distributed system. Details as follows:

[0065] The YARN-based resource monitoring method in the embodiment of the present application includes both the steps from step S101 to step S102 described in the first embodiment, and the step of storing operation log information. The detailed content of step S101 to step S102 in the embodiment of the present application is completely the same as that in the first embodiment, and will not be repeated here. The operation log information storage steps of the embodiment of the present application are described in detail as follows:

[0066] S201: If a task whose execution is completed is detected, store the running log inform...

Embodiment 3

[0079] image 3 It shows a schematic structural diagram of a YARN-based resource monitoring device provided by the embodiment of the present application. For the convenience of description, only the parts related to the embodiment of the present application are shown:

[0080] The YARN-based resource monitoring device includes: a running state information acquisition unit 31 and an abnormal task termination unit 32 . in:

[0081] The running state information acquisition unit 31 is used to obtain the running state information of each target task in execution through the YARN interface every first preset time period within the target time period, and the running state information includes the running time length and the running time. resource size;

[0082] The abnormal task terminating unit 32 is configured to terminate the abnormal task if it is detected that there is an abnormal task in the target task, wherein the abnormal task is that the running time exceeds the running...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The method is suitable for the technical field of big data, and provides a YARN-based resource monitoring method and device and terminal equipment, and the method comprises the steps: obtaining the operation state information of each executed target task through a YARN interface every other first preset duration in a target time period, and enabling the operation state information to comprise theoperation duration and the size of resources occupied by operation; and if it is detected that an abnormal task exists in the target task, terminating the abnormal task, wherein the abnormal task is atask with the running duration exceeding a running duration threshold value and / or the running occupied resource size exceeding a preset resource threshold value. According to the embodiment of the invention, the resource utilization rate and task operation efficiency of the YARN-based distributed system can be improved.

Description

technical field [0001] The present application belongs to the technical field of big data, and in particular relates to a resource monitoring method, device and terminal equipment based on YARN. Background technique [0002] Another resource coordinator (Yet Another Resource Negotiator, YARN) is a new Hadoop resource manager, which is a general resource management system that can provide unified resource management and scheduling for upper-layer applications. There are huge benefits in terms of utilization, unified management of resources, and data sharing. [0003] Although YARN can optimize the resource allocation in the Hadoop distributed system, it may still cause the problem that the task cannot be executed or the execution is too slow during the busy period of the system. Contents of the invention [0004] In view of this, the embodiment of the present application provides a YARN-based resource monitoring method, device, and terminal equipment to solve the problem t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30G06F9/50G06F9/48
CPCG06F11/3051G06F11/3065G06F9/5083G06F9/4843G06F2209/481G06F2209/508
Inventor 程飞
Owner 深圳市云智融科技有限公司