Method for preventing excessive occupation of big data task resources
A technology of resource occupation and big data, applied in the field of big data, can solve problems affecting the overall operation of big data services, downtime of big data clusters, high resource occupation of big data clusters, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] The method of establishing the big data Yarn task health status reporting service in step a) is:
[0036] a-1.1) Create a tool class YarnAppListener, and inherit the SparkListener class in this class;
[0037] a-1.2) Establish onApplicationStart and onApplicationEnd in the YarnAppListener class to realize sending task details to the control server when the task starts and ends, respectively;
[0038] a-1.3) When creating a spark object, add config, specify spark.extraListeners as the YarnAppListener class, and automatically execute YarnAppListener when the task is running.
Embodiment 2
[0040] The big data Yarn task control client established in step a) executes and controls the instructions sent by the server. The big data Yarn task control client has the authority to execute the Kill Yarn task. The big data Yarn task control client is deployed on the nodes of the big data cluster .
Embodiment 3
[0042] The functions provided by the big data Yarn task management and control server established in step a) are:
[0043] a-2.1) The big data Yarn task control server provides a timeout threshold for configuring each task;
[0044] a-2.2) The big data Yarn task management and control server provides and receives the Yarn task information reported by the big data Yarn task health status reporting service;
[0045]a-2.3) When the big data Yarn task management and control server judges that the current task running time exceeds the configured time threshold, it inputs the task running information into the data model, and judges the task based on the task's running status, resources occupied by running, and running progress Whether it affects other tasks and cluster operation, and if so, send an instruction to stop the task to the big data Yarn task control server;
[0046] a-2.4) The big data Yarn task management and control server counts the data according to the running time ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com