Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Distributed system, allocation method of resource container, resource manager and application controller

A resource manager and distributed system technology, applied in the field of resource allocation, can solve the problems of long running delay, disadvantageous running of small jobs, large job delay, etc., and achieve the effect of reducing the startup time.

Active Publication Date: 2020-10-09
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this method will introduce a new problem: the job delay is large
Therefore, the Yarn job will generate a long running delay, which is not conducive to running small jobs, and because it needs to apply for an AM for each job, more computing resources are required

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
  • Distributed system, allocation method of resource container, resource manager and application controller
  • Distributed system, allocation method of resource container, resource manager and application controller
  • Distributed system, allocation method of resource container, resource manager and application controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0077] Embodiments of the embodiments of the present invention will be described below with reference to the accompanying drawings.

[0078] Definition of Terms:

[0079] Resource Manager (RM) is a global resource manager responsible for resource management and allocation of the entire yarn system.

[0080] A resource container is a resource abstraction in yarn, which can encapsulate multiple types of resources on a node, such as memory, CPU, disk, network, etc. Resource containers are used to perform application tasks.

[0081] The client is a device running an application to apply for resources. The type of the application can be MapReduce, Giraph, Storm, Spark, Tez / Impala, or Message Passing Interface (MPI).

[0082] Node Manager (Node Manager, NM) is the resource and task manager on each node. On the one hand, it will regularly report the resource usage on this node and the running status of each resource container to RM; on the other hand, It receives and handles vario...

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

Embodiments of the present invention provide a resource allocation method, device and system for allocating resources for applications. The method includes: the application controller receives a resource allocation request from the client, and the resource allocation request carries resource requirement information of an application running on the client, wherein the application controller is used to manage a resource pool, and the resource pool contains at least one The started container, the container in the resource pool is applied to and started by the application controller in advance from the resource manager; the application controller selects an idle resource container from the resource pool and assigns it to the client according to the resource requirement information of the application. According to this method, when the application controller receives the resource allocation request of the application, it can realize the timely allocation of resource container resources, avoiding the waiting time for resource container startup, and avoiding resource allocation by reusing resource containers in the resource pool. The resource consumption of multiple opening and closing of the container.

Description

technical field [0001] The embodiments of the present invention relate to the field of computers, and in particular, to a resource allocation method. Background technique [0002] Since the development of cloud computing, the scale of clusters has continued to expand, and the types of clusters have also continued to increase. Such as common distributed computing Hadoop clusters for parallel programming technical tasks. From the changing trend of the industry using distributed systems and the long-term development of the Hadoop framework, the job tracker (Job Tracker) / task tracker (Task Tracker) mechanism in the first version of MapReduce MRv1 needs large-scale adjustments to repair It has flaws in scalability, memory consumption, threading model, reliability and performance. [0003] 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 managem...

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 Patents(China)
IPC IPC(8): H04L29/06
CPCH04L9/40
Inventor 梁殿鹏赵彦荣刘佳党李飞彭磊
Owner HUAWEI CLOUD COMPUTING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products