Method for processing multiple precursors and multiple subsequent nodes in Oozie workflow
A workflow and successor node technology, applied in the direction of electrical digital data processing, program control design, multi-program device, etc., can solve the problems of multiple successors, multiple predecessors of task nodes, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] In this embodiment, oozie 4.3.1 is adopted, and the element type is added to the xsd of oozie-client, a sub-project of oozie. Since there are many xsd versions of oozie, oozie-workflow-0.4.xsd is selected here.
[0038] The oozie-core project of Oozie defines MultiNextNodeDef and MultiPrevNodeDef, the MultiNextNodeDef is a multi-successor task processing node, and the MultiPrevNodeDef is a multi-precursor task processing node.
[0039] (1) Code 1 defines the element type MULTI_PREV and MULTI_NEXT defines the element type MIX_IN
[0040]
[0041]
[0042] (2) Code 2 declares MULTI_PREV and MULTI_NEXT elements
[0043]
[0044]
[0045] (3) Finally, add mix-in to workflow-app, as shown in code 3.
[0046] Code 3 adds MULTI-PREV and MULTI-NEXT elements to workflow-app
[0047]
[0048]
[0049] In the MultiNextNodeDef, the executor is defined as MultiNextActionExecutor and the internal class SignalXCommand, and the SignalXCommand is used to add newly star...
Embodiment 2
[0060] In this embodiment, taking two main task nodes (Task A1 and Task A2), and each main task node has two sub-task nodes (Task B1~Task B4) as an example, the traditional Oozie workflow and the Oozie The workflow of the processing method of multiple predecessors and multiple successor nodes in the workflow is compared and verified.
[0061] attached figure 1 It is a schematic diagram of the traditional Oozie workflow. In the figure, although Fork / Join appear in pairs, but the two tasks separated by TaskA1, Task B1 is merged into Join J1, and Task B2 is merged into Join J2; any node in Task B1~TaskB4 will be punished when the execution is completed. , so there is no guarantee that Task B1 to Task B4 will be executed successfully in this process.
[0062] attached figure 2 It is a workflow schematic diagram of the processing method of multiple predecessors and multiple successor nodes in the Oozie workflow. In the figure, the MULTI-NEXT node is used to replace the Fork no...
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