CN107204868B - Task operation monitoring information acquisition method and device - Google Patents

Task operation monitoring information acquisition method and device Download PDF

Info

Publication number
CN107204868B
CN107204868B CN201610158804.3A CN201610158804A CN107204868B CN 107204868 B CN107204868 B CN 107204868B CN 201610158804 A CN201610158804 A CN 201610158804A CN 107204868 B CN107204868 B CN 107204868B
Authority
CN
China
Prior art keywords
task
monitoring information
platform
fault point
fault
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610158804.3A
Other languages
Chinese (zh)
Other versions
CN107204868A (en
Inventor
卢山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Shanxi Co Ltd
Original Assignee
China Mobile Group Shanxi Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Shanxi Co Ltd filed Critical China Mobile Group Shanxi Co Ltd
Priority to CN201610158804.3A priority Critical patent/CN107204868B/en
Publication of CN107204868A publication Critical patent/CN107204868A/en
Application granted granted Critical
Publication of CN107204868B publication Critical patent/CN107204868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method for acquiring task operation monitoring information, which respectively sets task identifiers according to the operation information of each task node where a task is located; the method further comprises the following steps: according to the fault point task identification, task monitoring information, platform monitoring information and/or equipment monitoring information of the task node corresponding to the fault point task identification content are obtained from the monitoring information, and fault information is determined. The invention also discloses a device for acquiring the task operation monitoring information.

Description

Task operation monitoring information acquisition method and device
Technical Field
The invention relates to a big data operation management technology, in particular to a method and a device for acquiring task operation monitoring information.
Background
At present, big data application is developed rapidly and is widely applied in various fields; each technical platform task operation has respective unique advantages, but forms a system and is respectively administrative; the advantages of different technical systems need to be integrated to meet the service requirements of different layers, so that the remarkable characteristic that the large data platform is different from the traditional platform is achieved by building an operation mode of isomerism, technical mixing, fusion deployment and multi-service linkage. In this case, at the time of failure, the troubleshooting steps are basically as follows:
firstly, fault positioning: because the large data platform tasks run and are scattered in each platform, the monitoring information management systems of each platform are independent of each other and work according to the standards and rules of each platform, when a fault occurs, operation and maintenance personnel need to cross and compare the fault information found by each platform on the management platform of each platform in a manual mode, manually remove secondary and associated alarms, and confirm fault alarms and fault reasons;
secondly, fault analysis: because the data of each system are independent, most of the current fault analysis is carried out in the system, the data of each system are summarized and associated in a manual mode, when the platform has numerous tasks and the operation logic relationship is complex, the mutual crossing relationship cannot be basically judged, the analysis can only be gradually refined from the whole system, the process is long in time consumption, and the influence degree and the influence range of the fault cannot be confirmed at the first time;
thirdly, failure resolution: after information of each manufacturer is summarized and a fault point is manually determined, each manufacturer needs to be coordinated to solve the fault point, each manufacturer is only responsible for solving the fault of the system, the influence of the fault solution of the system on other systems is not considered, and the manufacturer cannot stand at the system architecture level to carry out integral grasp on the fault; after the solution is completed, the solution condition is required to be confirmed on the management and control platform of each system, whether the fault is solved or not is judged manually, whether a new problem is generated or not is judged, and the like.
Under the existing conditions, the fault service influence evaluation, the fault analysis efficiency and the alarm accuracy of the big data platform have the following defects: the existing fault location is respectively analyzed by different manufacturers, particularly under the condition of mixed construction of a large data platform and multiple technologies, as platform tasks are more and more online, the logical association relationship among the platform tasks cannot be really known, and the operation dependency relationship among the tasks is difficult to clear, so that the comprehensive fault analysis capability is lacked, and the influence of a fault on a service is difficult to accurately evaluate; the existing fault analysis can not clear the system fault correlation influence among the assemblies under the background of uneven operation management levels of large data technologies of various manufacturers, particularly under the mixed use condition of a plurality of technical assemblies such as Spark, Storm, Sqoop, HIVE, HBASE and the like, and only each assembly can be checked and positioned from the beginning in the fault positioning process, so that the solution timeliness of the whole fault is prolonged; the existing fault monitoring is mainly carried out, each task fault, platform fault and equipment fault have own interface and information, the association and fusion of the information are lacked, when the fault occurs, a large amount of alarm information appears on different layers, the alarm information cannot be effectively associated and filtered, an alarm storm is formed, and operation and maintenance personnel can not follow the alarm storm. The method needs a manual mode to gather and analyze the alarm information of each platform, eliminates secondary alarms and associated alarms, finds out the fault reason, and has high dependency on expert personnel and low fault processing efficiency.
Therefore, the rapid positioning of the fault of the big data platform is improved, the automatic analysis of the fault influence is realized, the timeliness of fault solution is improved, and the problem to be solved urgently is solved.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide a method and an apparatus for acquiring task operation monitoring information, so as to improve fast positioning of a fault of a large data platform, implement automatic analysis of fault influence, and improve timeliness of fault resolution.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the embodiment of the invention provides a method for acquiring task operation monitoring information, which comprises the following steps: respectively setting task identifiers according to the running information of each task node where the task is located; the method further comprises the following steps:
according to the fault point task identification, task monitoring information, platform monitoring information and/or equipment monitoring information of the task node corresponding to the fault point task identification content are obtained from the monitoring information, and fault information is determined.
In the above scheme, the operation information includes: a run platform type, and/or a run platform component type;
the content of the task identification comprises: the operating platform type, and/or the operating platform component type, and/or a task serial number;
the task sequence number includes: and presetting a unique identification number according to the task, or presetting a unique identification number according to the task node.
In the above scheme, according to the fault point task identifier, the task monitoring information of the task node corresponding to the content of the fault point task identifier is obtained from the monitoring information, and the fault information is determined; the method comprises the following steps:
pre-associating the task serial number with the task monitoring information;
and determining task monitoring information of the task node corresponding to the fault point task identifier according to the task serial number in the fault point task identifier.
In the above scheme, the platform monitoring information of the task node corresponding to the content of the fault point task identifier is obtained from the monitoring information according to the fault point task identifier, and the fault information is determined; the method comprises the following steps:
determining the platform type and the platform component type of a task node corresponding to the fault point task identifier according to the operation platform type and the operation platform component type in the fault point task identifier;
and determining the platform type of the task node corresponding to the fault point task identifier and the platform monitoring information corresponding to the platform component type according to the platform type and the platform component type of the task node corresponding to the fault point task identifier.
In the above scheme, according to the fault point task identifier, acquiring device monitoring information of the task node corresponding to the content of the fault point task identifier from monitoring information, and determining fault information; the method comprises the following steps:
searching the running platform type and the equipment host name of the running platform component type running in the fault point task identifier in a task execution log;
and determining the equipment monitoring information of the task node corresponding to the fault point task identifier according to the equipment host name.
The embodiment of the invention also provides a device for acquiring the task operation monitoring information, which comprises: setting means and determining means, wherein,
the setting device is used for respectively setting task identifiers according to the running information of each task node where the task is located;
and the determining device acquires the task monitoring information, and/or platform monitoring information and/or equipment monitoring information of the task node corresponding to the content of the fault point task identifier from the monitoring information according to the fault point task identifier, and determines the fault information.
In the above scheme, the operation information includes: a run platform type, and/or a run platform component type;
the content of the task identification comprises: the operating platform type, and/or the operating platform component type, and/or a task serial number;
the task sequence number includes: and presetting a unique identification number according to the task, or presetting a unique identification number according to the task node.
In the foregoing solution, the determining apparatus is specifically configured to:
pre-associating the task serial number with the task monitoring information;
the determining the fault information includes: and determining task monitoring information of the task node corresponding to the fault point task identifier according to the task serial number in the fault point task identifier.
In the foregoing solution, the determining apparatus is specifically configured to:
determining the platform type and the platform component type of a task node corresponding to the fault point task identifier according to the operation platform type and the operation platform component type in the fault point task identifier;
and determining the platform type of the task node corresponding to the fault point task identifier and the platform monitoring information corresponding to the platform component type according to the platform type and the platform component type of the task node corresponding to the fault point task identifier.
In the foregoing solution, the determining apparatus is specifically configured to:
searching the running platform type and the equipment host name of the running platform component type running in the fault point task identifier in a task execution log;
and determining the equipment monitoring information of the task node corresponding to the fault point task identifier according to the equipment host name.
According to the method and the device for acquiring the task operation monitoring information, the task identifiers are respectively set according to the operation information of each task node where the task is located; the method further comprises the following steps: according to the fault point task identification, task monitoring information, platform monitoring information and/or equipment monitoring information of the task node corresponding to the fault point task identification content are obtained from the monitoring information, and fault information is determined. Therefore, the task monitoring information, the platform monitoring information and the equipment monitoring information of the task node of the fault point can be accurately acquired through the task identifier of the task node of the fault point; when a fault occurs, fault monitoring information can be acquired according to the task identification of the fault node, the fault is quickly positioned, automatic analysis of fault influence is realized, and the timeliness of fault resolution is improved.
Drawings
Fig. 1 is a schematic flow chart of a task operation monitoring information acquisition method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of task identifier components according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a sequence of a process for implementing fault location by task identification according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a task identifier association principle according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a business process of an application example according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a business process operation record of an application example according to an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating a service task identifier operation result of an application example according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a component of a task operation monitoring information obtaining apparatus according to an embodiment of the present invention.
Detailed Description
In the embodiment of the invention, task identifiers are respectively set according to the running information of each task node where a task is located; the method further comprises the following steps: according to the fault point task identification, task monitoring information, platform monitoring information and/or equipment monitoring information of the task node corresponding to the fault point task identification content are obtained from the monitoring information, and fault information is determined.
The present invention will be described in further detail with reference to examples.
As shown in fig. 1, a method for acquiring task operation monitoring information according to an embodiment of the present invention includes:
step 101: respectively setting task identifiers according to the running information of each task node where the task is located;
generally, one big data application comprises a plurality of tasks, the relation between the big data application and the tasks is a one-to-many relation, and the incidence relation between the big data application and the tasks is maintained by a system; a single task is also called a workflow, and the single workflow is composed of a plurality of task nodes; the method adopted by the prior art is that a task identifier or a task serial number which is irrelevant to task running information is distributed to each task and used for tracking the execution state of the task, and the method has the defects that the execution state of each task node cannot be accurately obtained, and the running information cannot be directly obtained from the execution state;
according to the technical scheme, different task identifiers are set for each task node in the task running process, the task identifiers comprise running information of tasks at the task nodes, and the running information comprises: a run platform type, a run platform component type, and/or a task serial number; the operation platform type refers to the type of an operation platform of a node where the task operates, such as a Java, Storm, Hadoop, Spark and other platforms; the operation platform component type refers to the type of a component of an operation platform of a task Node where a task operates, such as a Java-Node component in a Java platform; the task sequence number is a unique sequence number assigned to the task before the task runs.
In practical applications, the form of the task identifier may be as shown in fig. 2, where the task identifier may further include: task type and task name, used for identifying the task more quickly and conveniently; according to different specific task component types, in the form of fig. 2, the task identifier may be set as follows:
for the synchronous task component, the synchronous task component directly runs on the oozie server, and only success or failure information is available, and no information is particularly obvious, so the task identifier can be set as: oozie: none;
for a single mapping (map)/regression (Reduce) task component, submitting a single mapping (only map) mapreduce task trigger to run, wherein a user-defined action component is encapsulated in the map, and a task identifier of the task can be defined as: oozie: and (2) lancher: t ═ 0 }: w ═ 1 }: a ═ 2 }: ID {3 }; wherein, 0 represents the component type, 1 represents the platform type, 2 represents the task name, and 3 represents the task serial number, thus, the task represents the relationship between the embodied task and the platform;
for a dual map/Reduce task component, on the basis of running a single map/Reduce task, an action defined by a user in a map is a job with a map property, and a task identifier of the map job with the map property can be defined as: oozie: action: t ═ 0 }: w ═ 1 }: a ═ 2 }: the ID is {3}, wherein 0 represents a component type, 1 represents a platform type, 2 represents a task name, and 3 represents a task serial number, so that the task represents the relationship between the embodied task and the platform;
Single-map/Reduce task components and dual-map/Reduce task components are referred to herein as asynchronous task components.
Step 102: according to the fault point task identification, acquiring task monitoring information, platform monitoring information and/or equipment monitoring information of a task node corresponding to the content of the fault point task identification from monitoring information, and determining fault information;
the existing big data monitoring information comprises: applying monitoring information, task monitoring information, platform monitoring information and equipment monitoring information; each monitoring information comprises various running information of the task in the running process; the task monitoring information, the platform monitoring information and the equipment monitoring information are independent and not related to each other; the association relationship between the big data application and the task is maintained by the system, so that the association between the task monitoring information and the application monitoring information can be completed through the task attribution relationship. The task monitoring information, the platform monitoring information and the equipment monitoring information can be associated through the task identifier of the technical scheme of the invention, so that the application monitoring information, the task monitoring information, the platform monitoring information and the equipment monitoring information are associated; wherein, the platform monitoring information includes: the method comprises the following steps of (1) carrying out task execution on a platform according to a platform name, a platform type, a platform state and a task execution state and log on the platform; the task monitoring information includes: task flow information, flow links, current links, time used by each link, node change and task output logs; the device monitoring information includes: the method comprises the following steps of (1) carrying out equipment platform, equipment host information and equipment host running conditions; the task identification of the technical scheme of the invention realizes the association of the task monitoring information, the platform monitoring information and the equipment monitoring information, and can combine the associated information into the application monitoring information, so that the application monitoring information can provide the following information: applying tasks contained in the system, wherein the execution condition of each task, the running condition of the task on a platform and the running condition of a device host where the task is located are applied; therefore, the information of each task of the whole application and the running information of each task node can be obtained;
specifically, before the task runs, a unique task serial number may be assigned to the task, and the task monitoring information may correspond to the task serial number, for example: the task monitoring information can be named by the task serial number, so that the corresponding task monitoring information can be obtained through the task serial number in the task identifier; the unique task node identifier can be added behind the serial number, and the task monitoring information is respectively established according to the serial number of each task node, so that the corresponding task node task monitoring information can be obtained through the task serial number in the task identifier; in the running process of the big data task, if a fault occurs, task monitoring information corresponding to the fault task node can be obtained through the task identifier of the fault task node.
The platform type and the platform component type of the task node where the current task runs can be determined through the operation platform type and the operation platform component type in the task identifier; generally, the platform monitoring information is classified according to a platform type and a platform component type, so that the platform monitoring information of the task node can be associated through the platform type and the platform component type; in the running process of the big data task, if a fault occurs, the platform monitoring information of the fault task node can be associated through the platform type and the platform component type in the task identifier of the fault task node.
Through the operation platform type and the operation platform component type in the task identifier, the host name of the equipment for operating the platform type and the component type can be retrieved from the task execution log of the platform monitoring information; the device monitoring information of the task node can be retrieved from the device monitoring information through the host name of the device; in the process of running the big data task, if a fault occurs, the host name of the equipment can be determined in the task execution log through the platform type and the platform component type in the task identifier of the fault task node, and the equipment monitoring information of the task node is further obtained.
Therefore, the monitoring information, the task monitoring information, the platform monitoring information and the equipment monitoring information are applied to complete the association of the monitoring information through the task identification, and the seamless fusion of the monitoring information is achieved; in practical application, through the fusion relationship, a user interface can be established during daily maintenance and guarantee, the associated information of each monitoring information is collected, the associated application monitoring information, task monitoring information, platform monitoring information, equipment monitoring information and other information are provided for maintenance personnel at the same time, various monitoring information of the application including tasks in each task node is directly obtained, and operation guarantee and fault location are facilitated; when a fault occurs, the type of a platform component or fault equipment related to the fault can be determined through the fault point task identifier; the efficiency of fault location is greatly improved.
The present invention is described in further detail below with reference to example 1.
As shown in fig. 3, a and b respectively show the flow sequence of the synchronous task component and the asynchronous task component in the implementation of fault location by task identification; the principle of associating tasks, platforms, devices and applications by the task identifier is shown in fig. 4: an application comprises a plurality of tasks, the relationship between the application and the tasks is a one-to-many relationship, and the association relationship is maintained by the system; the single task refers to a work flow, the work flow consists of a plurality of task nodes, and each task node sets a unique task identifier when the flow runs each time; associating with a task running on the platform through the task identification; in the execution of platform jobs on a particular device, the platform job log or job status may in turn be associated with corresponding device information. Thus, the task identification can complete the capabilities of tasks, platforms, equipment, application association and the like; further, when a fault occurs, service processing such as fault positioning, fault analysis and fault monitoring can be completed through the task log.
The present invention will be described in further detail with reference to example 2.
In the embodiment, the task identifier is set at the task node of each task of the specific service application, so that the task running in the specific service application is well monitored;
here, the functions implemented by the specific service application are: calculating and analyzing the behavior of the user interaction circle, finding and analyzing the interaction circle of the user by using the user voice detailed list, analyzing the interaction behavior of the user by judging the communication behaviors of the user and other users, such as indexes of communication frequency, communication duration, communication time period and the like, and judging whether the user is the user with the highest influence on the interaction circle; the specific business process is shown in fig. 5, and includes:
step 501: collecting detailed files from an interface machine into a Hadoop Distributed File System (HDFS);
step 502: washing, filtering and sorting the detailed list by using a Map/Reduce program;
step 503: the result of the step 502 is input into a Hive library, and is summarized according to the calling number and the called number, and indexes such as the number of calls, the call duration, the call time period and the like are calculated;
step 504: and exporting the analysis result to a relational database through the sqoop script.
The technical scheme of the invention is adopted in the business process, task identifiers are set at each node, the business process running records are shown in figure 6, the business process node states are shown in figure 7(a), and the business process running logs are shown in figure 7 (b); the task identifier in the service flow node corresponds to the task identifier in the platform according to the name, as shown in fig. 7 (c); the operation state of the task identifier in the service flow node corresponding to the operation in the platform is shown in fig. 7 (d); the operation situation and the corresponding device situation of the task identifier in the service flow node in the platform are shown in fig. 7 (e);
it can be seen from fig. 7 that in the whole service flow, the task monitoring information, the platform monitoring information, and the device monitoring information in the task node have been associated by the task identifier; therefore, maintenance personnel can conveniently acquire required information; when a fault occurs, information of a platform, a platform component or equipment and the like of the fault can be conveniently determined.
As shown in fig. 8, the device for acquiring task operation monitoring information according to an embodiment of the present invention includes: a setting module 81, a determination module 82, wherein,
the setting module 81 is configured to set task identifiers according to the operation information of each task node where the task is located;
generally, one big data application comprises a plurality of tasks, the relation between the big data application and the tasks is a one-to-many relation, and the incidence relation between the big data application and the tasks is maintained by a system; a single task is also called a workflow, and the single workflow is composed of a plurality of task nodes; the method adopted by the prior art is that a task identifier or a task serial number which is irrelevant to task running information is distributed to each task and used for tracking the execution state of the task, and the method has the defects that the execution state of each task node cannot be accurately obtained, and the running information cannot be directly obtained from the execution state;
according to the technical scheme, different task identifiers are set for each task node in the task running process, the task identifiers comprise running information of tasks at the task nodes, and the running information comprises: a run platform type, a run platform component type, and/or a task serial number; the operation platform type refers to a type of an operation platform of a task node where a task operates, such as a Java, Storm, Hadoop, Spark and other platforms; the operation platform component type refers to the type of a component of an operation platform of a task Node where a task operates, such as a Java-Node component in a Java platform; the task sequence number is a unique sequence number assigned to the task before the task runs.
In practical applications, the form of the task identifier may be as shown in fig. 2, where the task identifier may further include: task type and task name, used for identifying the task more quickly and conveniently; according to different specific task component types, in the form of fig. 2, the task identifier may be set as follows:
for the synchronous task component, the synchronous task component directly runs on the oozie server, and only success or failure information is available, and no information is particularly obvious, so the task identifier can be set as: oozie: none;
for a single mapping (map)/regression (Reduce) task component, submitting a single mapping (only map) mapreduce task trigger to run, wherein a user-defined action component is encapsulated in the map, and a task identifier of the task can be defined as: oozie: and (2) lancher: t ═ 0 }: w ═ 1 }: a ═ 2 }: ID {3 }; wherein, 0 represents the component type, 1 represents the platform type, 2 represents the task name, and 3 represents the task serial number, thus, the task represents the relationship between the embodied task and the platform;
for a dual map/Reduce task component, on the basis of running a single map/Reduce task, an action defined by a user in a map is a job with a map property, and a task identifier of the map job with the map property can be defined as: oozie: action: t ═ 0 }: w ═ 1 }: a ═ 2 }: the ID is {3}, wherein 0 represents a component type, 1 represents a platform type, 2 represents a task name, and 3 represents a task serial number, so that the task represents the relationship between the embodied task and the platform;
Single-map/Reduce task components and dual-map/Reduce task components are referred to herein as asynchronous task components.
The determining module 82 is configured to obtain monitoring information of task operation of each task node corresponding to the content of each task identifier from the monitoring information according to each task identifier;
the existing big data monitoring information comprises: applying monitoring information, task monitoring information, platform monitoring information and equipment monitoring information; each monitoring information comprises various running information of the task in the running process; the task monitoring information, the platform monitoring information and the equipment monitoring information are independent and not related to each other; the association relationship between the big data application and the task is maintained by the system, so that the association between the task monitoring information and the application monitoring information can be completed through the task attribution relationship. The task monitoring information, the platform monitoring information and the equipment monitoring information can be associated through the task identifier of the technical scheme of the invention, so that the application monitoring information, the task monitoring information, the platform monitoring information and the equipment monitoring information are associated; wherein, the platform monitoring information includes: the method comprises the following steps of (1) carrying out task execution on a platform according to a platform name, a platform type, a platform state and a task execution state and log on the platform; the task monitoring information includes: task flow information, flow links, current links, time used by each link, node change and task output logs; the device monitoring information includes: the method comprises the following steps of (1) carrying out equipment platform, equipment host information and equipment host running conditions; the task identification of the technical scheme of the invention realizes the association of the task monitoring information, the platform monitoring information and the equipment monitoring information, and can combine the associated information into the application monitoring information, so that the application monitoring information can provide the following information: applying tasks contained in the system, wherein the execution condition of each task, the running condition of the task on a platform and the running condition of a device host where the task is located are applied; therefore, the information of each task of the whole application and the running information of each task node can be obtained;
specifically, before the task runs, a unique task serial number may be assigned to the task, and the task monitoring information may correspond to the task serial number, for example: the task monitoring information can be named by the task serial number, so that the corresponding task monitoring information can be obtained through the task serial number in the task identifier; the unique task node identifier can be added behind the serial number, and the task monitoring information is respectively established according to the serial number of each task node, so that the corresponding task node task monitoring information can be obtained through the task serial number in the task identifier; in the running process of the big data task, if a fault occurs, task monitoring information corresponding to the fault task node can be obtained through the task identifier of the fault task node.
The platform type and the platform component type of the task node where the current task runs can be determined through the operation platform type and the operation platform component type in the task identifier; generally, the platform monitoring information is classified according to a platform type and a platform component type, so that the platform monitoring information of the task node can be associated through the platform type and the platform component type; in the running process of the big data task, if a fault occurs, the platform monitoring information of the fault task node can be associated through the platform type and the platform component type in the task identifier of the fault task node.
Through the operation platform type and the operation platform component type in the task identifier, the host name of the equipment for operating the platform type and the component type can be retrieved from the task execution log of the platform monitoring information; the device monitoring information of the task node can be retrieved from the device monitoring information through the host name of the device; in the process of running the big data task, if a fault occurs, the host name of the equipment can be determined in the task execution log through the platform type and the platform component type in the task identifier of the fault task node, and the equipment monitoring information of the task node is further obtained.
Therefore, the monitoring information, the task monitoring information, the platform monitoring information and the equipment monitoring information are applied to complete the association of the monitoring information through the task identification, and the seamless fusion of the monitoring information is achieved; in practical application, through the fusion relationship, a user interface can be established during daily maintenance and guarantee, the associated information of each monitoring information is collected, the associated application monitoring information, task monitoring information, platform monitoring information, equipment monitoring information and other information are provided for maintenance personnel at the same time, various monitoring information of the application including tasks in each task node is directly obtained, and operation guarantee and fault location are facilitated; when a fault occurs, the type of a platform component or fault equipment related to the fault can be determined through the fault point task identifier; the efficiency of fault location is greatly improved.
In practical applications, the setting module 81 and the determining module 82 may be implemented by a Central Processing Unit (CPU), a microprocessor unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like of a big data server system.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, which is intended to cover any modifications, equivalents, improvements, etc. within the spirit and scope of the present invention.

Claims (4)

1. A task operation monitoring information acquisition method is characterized by comprising the following steps: respectively setting task identifiers according to the running information of each task node where the task is located; the method further comprises the following steps:
according to the fault point task identification, acquiring task monitoring information, platform monitoring information and/or equipment monitoring information of a task node corresponding to the content of the fault point task identification from monitoring information, and determining fault information;
the content of the task identification comprises: a run platform type, and/or a run platform component type, and/or a task serial number;
acquiring task monitoring information of a task node corresponding to the content of a fault point task identifier from monitoring information according to the fault point task identifier, and determining fault information; the method comprises the following steps: pre-associating the task serial number with the task monitoring information; determining task monitoring information of a task node corresponding to the fault point task identifier according to the task serial number in the fault point task identifier;
according to the fault point task identification, platform monitoring information of a task node corresponding to the content of the fault point task identification is obtained from monitoring information, and fault information is determined; the method comprises the following steps: determining the platform type and the platform component type of a task node corresponding to the fault point task identifier according to the operation platform type and the operation platform component type in the fault point task identifier; determining the platform type of the task node corresponding to the fault point task identifier and the platform monitoring information corresponding to the platform component type according to the platform type and the platform component type of the task node corresponding to the fault point task identifier;
according to the fault point task identification, acquiring equipment monitoring information of the task node corresponding to the content of the fault point task identification from monitoring information, and determining fault information; the method comprises the following steps: searching the running platform type and the equipment host name of the running platform component type running in the fault point task identifier in a task execution log; and determining the equipment monitoring information of the task node corresponding to the fault point task identifier according to the equipment host name.
2. The method of claim 1,
the operation information includes: a run platform type, and/or a run platform component type;
the task sequence number includes: and presetting a unique identification number according to the task, or presetting a unique identification number according to the task node.
3. A task operation monitoring information acquisition apparatus, characterized in that the apparatus comprises: setting means and determining means, wherein,
the setting device is used for respectively setting task identifiers according to the running information of each task node where the task is located;
the determining device acquires task monitoring information, platform monitoring information and/or equipment monitoring information of a task node corresponding to the content of the fault point task identifier from monitoring information according to the fault point task identifier, and determines fault information;
the content of the task identification comprises: a run platform type, and/or a run platform component type, and/or a task serial number;
the determining means is specifically configured to:
determining task monitoring information of a task node corresponding to the fault point task identifier according to the task serial number in the fault point task identifier;
determining the platform type and the platform component type of a task node corresponding to the fault point task identifier according to the operation platform type and the operation platform component type in the fault point task identifier; determining the platform type of the task node corresponding to the fault point task identifier and the platform monitoring information corresponding to the platform component type according to the platform type and the platform component type of the task node corresponding to the fault point task identifier;
searching the running platform type and the equipment host name of the running platform component type running in the fault point task identifier in a task execution log; and determining the equipment monitoring information of the task node corresponding to the fault point task identifier according to the equipment host name.
4. The apparatus of claim 3,
the operation information includes: a run platform type, and/or a run platform component type;
the task sequence number includes: and presetting a unique identification number according to the task, or presetting a unique identification number according to the task node.
CN201610158804.3A 2016-03-18 2016-03-18 Task operation monitoring information acquisition method and device Active CN107204868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610158804.3A CN107204868B (en) 2016-03-18 2016-03-18 Task operation monitoring information acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610158804.3A CN107204868B (en) 2016-03-18 2016-03-18 Task operation monitoring information acquisition method and device

Publications (2)

Publication Number Publication Date
CN107204868A CN107204868A (en) 2017-09-26
CN107204868B true CN107204868B (en) 2020-08-18

Family

ID=59904279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610158804.3A Active CN107204868B (en) 2016-03-18 2016-03-18 Task operation monitoring information acquisition method and device

Country Status (1)

Country Link
CN (1) CN107204868B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108776579B (en) * 2018-06-19 2021-10-15 郑州云海信息技术有限公司 Distributed storage cluster capacity expansion method, device, equipment and storage medium
CN109471709B (en) * 2018-10-16 2022-02-18 深圳中顺易金融服务有限公司 Scheduling method for flow task processing big data based on Apache Oozie framework
CN110209893A (en) * 2019-04-23 2019-09-06 北京奇艺世纪科技有限公司 Task creating method, system and storage medium
CN110489261A (en) * 2019-07-31 2019-11-22 上海艾融软件股份有限公司 Task handles alarm method, device and electronic equipment, storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6952780B2 (en) * 2000-01-28 2005-10-04 Safecom A/S System and method for ensuring secure transfer of a document from a client of a network to a printer
GB2465860A (en) * 2008-12-04 2010-06-09 Ibm A directed graph behaviour model for monitoring a computer system in which each node of the graph represents an event generated by an application
CN102521099A (en) * 2011-11-24 2012-06-27 深圳市同洲视讯传媒有限公司 Process monitoring method and process monitoring system
CN103902646A (en) * 2013-12-27 2014-07-02 北京天融信软件有限公司 Distributed task managing system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6952780B2 (en) * 2000-01-28 2005-10-04 Safecom A/S System and method for ensuring secure transfer of a document from a client of a network to a printer
GB2465860A (en) * 2008-12-04 2010-06-09 Ibm A directed graph behaviour model for monitoring a computer system in which each node of the graph represents an event generated by an application
CN102521099A (en) * 2011-11-24 2012-06-27 深圳市同洲视讯传媒有限公司 Process monitoring method and process monitoring system
CN103902646A (en) * 2013-12-27 2014-07-02 北京天融信软件有限公司 Distributed task managing system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
How to schedule sqoop job command using oozie in azure,https://social.msdn.microsoft.com/Forums/en-US/a520f0df-ef13-48c0-b737-218625047284/how-to-schedule-sqoop-job-command-using-oozie-in-azure-hdinsightremote-machine?forum=hdinsight;MSDN;《MSDN》;20140701;全文 *
Oozie 与 Yarn 协同工作,https://blog.csdn.net/samhacker/article/details/21413057;LiuQiYun;《CSDN》;20140317;全文 *

Also Published As

Publication number Publication date
CN107204868A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
CN111756582B (en) Service chain monitoring method based on NFV log alarm
US10841365B2 (en) Mapping application dependencies in a computer network
CN112612675A (en) Distributed big data log link tracking method and system under micro-service architecture
CN107204868B (en) Task operation monitoring information acquisition method and device
CN108521339B (en) Feedback type node fault processing method and system based on cluster log
CN105631026A (en) Security data analysis system
CN105337765A (en) Distributed hadoop cluster fault automatic diagnosis and restoration system
EP3255833B1 (en) Alarm information processing method, relevant device and system
CN111181767A (en) Monitoring and fault self-healing system and method for complex system
CN109885496B (en) Test log management method and system
CN108632111A (en) Service link monitoring method based on log
CN112769605B (en) Heterogeneous multi-cloud operation and maintenance management method and hybrid cloud platform
CN111901204B (en) Cloud network inspection method, device and system
CN103023028A (en) Rapid grid failure positioning method based on dependency graph of entities
CN111859047A (en) Fault solving method and device
CN115357418A (en) Microservice fault detection method and device, storage medium and computer equipment
CN110968479A (en) Business-level full-link monitoring method for application program and server
CN110609761B (en) Method and device for determining fault source, storage medium and electronic equipment
CN105607983B (en) Data exception monitoring method and device
CN105703942B (en) Log collection method and device
CN111158979A (en) Service dial testing method, system, device and storage medium
US20230004478A1 (en) Systems and methods of continuous stack trace collection to monitor an application on a server and resolve an application incident
CN114374600A (en) Network operation and maintenance method, device, equipment and product based on big data
CN114531338A (en) Monitoring alarm and tracing method and system based on call chain data
CN111988172B (en) Network information management platform, device and security management method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant