Spark application monitoring method, system and device and storage medium
A technology of intelligent monitoring and monitoring data, applied in the computer field, can solve the problems of no dynamic self-healing, unfavorable rapid positioning of technicians, and inability to monitor SparkThriftServer, so as to achieve the effect of realizing intelligence
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] Such as figure 1 As shown, Embodiment 1 of the present invention provides a Spark application monitoring method, the method comprising:
[0046] S110. Add the pre-written intelligent monitoring code to the Spark application when starting the Spark application.
[0047]In this embodiment, the developer needs to pre-write the intelligent monitoring code, which can be JavaAgent code. When starting the Spark application, the jar package specified by the Java Agent code is written into the Spark application, and the preparation for the Spark application monitoring is completed. Work, and start monitoring according to the monitoring items defined by the developer without intrusion into the source code of the Spark application.
[0048] S120. When the Spark application is running, monitor the Spark application according to the intelligent monitoring code to obtain monitoring data, so as to determine whether the Spark application is abnormal.
[0049] S130. If the Spark appli...
Embodiment 2
[0053] Such as figure 2 As shown, Embodiment 2 of the present invention provides a Spark application monitoring method. Embodiment 2 of the present invention is a further explanation on the basis of Embodiment 1 of the present invention. The method includes:
[0054] S200. Determine whether to enable intelligent monitoring.
[0055] In this embodiment, if you want to monitor the Spark application, you first need to determine whether to enable the intelligent monitoring set by the developer. For different application scenarios, for example, if the Spark application that needs to be monitored is more important, then you need to enable the intelligent monitoring. Execute step S210-step S214. For example, if the current system computing resources are insufficient or there is a running time limit, it is not necessary to enable intelligent monitoring, and execute step S220-step S225.
[0056] S210. If it is necessary to enable the intelligent monitoring, add a pre-written intellig...
Embodiment 3
[0075] Such as image 3 As shown, Embodiment 3 of the present invention provides a Spark application monitoring system 100. The Spark application monitoring system 100 provided in Embodiment 3 of the present invention can execute the Spark application monitoring method provided in any embodiment of the present invention, and has the execution method corresponding functional modules and beneficial effects. The Spark application monitoring system 100 includes a code adding module 200 , an application monitoring module 300 and an email sending module 400 .
[0076] Specifically, the code adding module 200 is used to add pre-written intelligent monitoring codes to the Spark application when starting the Spark application; the application monitoring module 300 is used to monitor the Spark application according to the intelligent monitoring code when the Spark application is running. Application obtains monitoring data, to judge whether abnormal situation occurs in described Spark ...
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