Executor allocation method and device based on Spark framework, equipment and storage medium
An allocation method and framework technology, applied in the computer field, can solve problems such as extending task running time, cluster network congestion, affecting system performance, etc., and achieve the effect of improving data locality, reducing network traffic and data access delay
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2022-03-11
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the field of computer technology, in particular to an Executor allocation method, device, equipment and storage medium based on the Spark framework. Background technique
[0002] As the response requirements of applications in the era of big data are getting higher and higher, the emerging Spark distributed computing framework has attracted great attention and has been widely used due to its excellent characteristics, such as Goggle, Yahoo! , Baidu, Tencent, etc. Compared with Hadoop and other distributed computing frameworks, Spark introduces the concept of Resilient Distributed Dataset (RDD), which can use memory computing to efficiently execute jobs, especially for iterative computing. The large amount of data transmission generated by the Spark application during the execution of the calculation logic will prolong the task running time, cause cluster network congestion, and thus affect the performance of the system...
Examples
Embodiment Construction
[0036] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
[0037]In the prior art, Spark provides two Executor allocation algorithms, spreadOut and noSpreadOut, to determine on which nodes the Executor starts. However, unlike the Hadoop framework, tasks in Spark run in parallel in Executor in a multi-threaded manner. As the execution container of the task, the position of the Executor will directly affect the locality acquisition of the task. Both spreadOut and noSpreadOut do not fully consider the data locality facto...