123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657 |
- {
- "user_name": "XXX",
- "user_id": 1,
- "nodes_task_name": "dfs",
- "nodes_task_id": 123,
- "itermidate_data": [
- "hdfs://host:port/uri"
- ],
- "nodes": [
- {
- "id": "c180bdb3-c29b-4c3f-9ca5-706aa7104144",
- "name": "outputNode1",
- "op": "datasource",
- "data": {
- "output_source": [
- {
- "dataField": "name",
- "dataType": "string"
- },
- {
- "dataField": "address",
- "dataType": "string"
- }
- ]
- }
- },
- {
- "id": "d8e031c0-f87c-445d-8451-eb8f7bf416cb",
- "name": "inputNode1",
- "op": "datasource",
- "data": {
- "input_source": [
- {
- "dataSelect": false,
- "dataField": "name",
- "dataType": "string"
- },
- {
- "dataSelect": true,
- "dataField": "address",
- "dataType": "string"
- }
- ],
- "input_table": 5
- }
- },
- {
- "id": "2f04affc-9c4d-4c88-80d3-6c8a95743110",
- "name": "SqlNode1",
- "op": "sql",
- "data": {
- "input_number": 2,
- "output": [
- {
- "outputVar": "r1"
- }
- ],
- "script": "select * from table1",
- "param": "sql params"
- }
- },
- {
- "id": "6e673e3f-87e6-4f68-8c69-14a14057faf6",
- "name": "PysparkNode1",
- "op": "pyspark",
- "data": {
- "input_number": 1,
- "output": [
- {
- "outputVar": "r1"
- },
- {
- "outputVar": "r2"
- }
- ],
- "script": "import os\n\nprint('hello pyspark')",
- "param": "pyspark params",
- "package": "jupyterlab = 1.1"
- }
- },
- {
- "id": "6aeed233-0951-4637-99e8-4736262edc94",
- "name": "PythonNode1",
- "op": "python",
- "data": {
- "input_number": 2,
- "output": [
- {
- "outputVar": "r1"
- },
- {
- "outputVar": "r2"
- },
- {
- "outputVar": "r3"
- }
- ],
- "script": "import os\n\nprint('hello python')\n",
- "param": "python params"
- }
- }
- ],
- "edges": [
- {
- "id": "d6ec13bd-1feb-4394-ace7-973874600b4a",
- "source": "d8e031c0-f87c-445d-8451-eb8f7bf416cb",
- "target": "c180bdb3-c29b-4c3f-9ca5-706aa7104144"
- }
- ],
- "graph": {
- "cells": [
- {
- "shape": "dag-edge",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- },
- "id": "d6ec13bd-1feb-4394-ace7-973874600b4a",
- "zIndex": -1,
- "source": {
- "cell": "d8e031c0-f87c-445d-8451-eb8f7bf416cb",
- "port": "bottomPort"
- },
- "target": {
- "cell": "c180bdb3-c29b-4c3f-9ca5-706aa7104144",
- "port": "topPort"
- }
- },
- {
- "position": {
- "x": 350,
- "y": 530
- },
- "size": {
- "width": 180,
- "height": 80
- },
- "view": "react-shape-view",
- "shape": "dag-node",
- "component": {
- "key": null,
- "ref": null,
- "props": {},
- "_owner": null,
- "_store": {}
- },
- "portMarkup": [
- {
- "tagName": "foreignObject",
- "selector": "fo",
- "children": [
- {
- "ns": "http://www.w3.org/1999/xhtml",
- "tagName": "body",
- "selector": "foBody",
- "attrs": {
- "xmlns": "http://www.w3.org/1999/xhtml"
- },
- "style": {
- "width": "100%",
- "height": "100%",
- "background": "transparent"
- },
- "children": [
- {
- "tagName": "div",
- "selector": "foContent",
- "style": {
- "width": "100%",
- "height": "100%"
- }
- }
- ]
- }
- ]
- }
- ],
- "ports": {
- "groups": {
- "top": {
- "position": "top",
- "attrs": {
- "fo": {
- "width": 10,
- "height": 10,
- "x": -5,
- "y": -5,
- "magnet": "true"
- },
- "circle": {
- "r": 4,
- "magnet": true,
- "stroke": "#C2C8D5",
- "strokeWidth": 1,
- "fill": "#fff"
- }
- }
- },
- "bottom": {
- "position": "bottom",
- "attrs": {
- "fo": {
- "width": 10,
- "height": 10,
- "x": -5,
- "y": -5,
- "magnet": "true"
- },
- "circle": {
- "r": 4,
- "magnet": true,
- "stroke": "#C2C8D5",
- "strokeWidth": 1,
- "fill": "#fff"
- }
- }
- }
- },
- "items": [
- {
- "id": "topPort",
- "group": "top"
- }
- ]
- },
- "id": "c180bdb3-c29b-4c3f-9ca5-706aa7104144",
- "data": {
- "label": "OutputSource",
- "status": "default",
- "type": "outputsource",
- "id": "c180bdb3-c29b-4c3f-9ca5-706aa7104144",
- "nodeName": "outputNode1",
- "outputSource": [
- {
- "dataField": "name",
- "dataType": "string"
- },
- {
- "dataField": "address",
- "dataType": "string"
- }
- ],
- "inputNumber": 0
- },
- "zIndex": 7
- },
- {
- "position": {
- "x": 250,
- "y": 120
- },
- "size": {
- "width": 180,
- "height": 80
- },
- "view": "react-shape-view",
- "shape": "dag-node",
- "component": {
- "key": null,
- "ref": null,
- "props": {},
- "_owner": null,
- "_store": {}
- },
- "portMarkup": [
- {
- "tagName": "foreignObject",
- "selector": "fo",
- "children": [
- {
- "ns": "http://www.w3.org/1999/xhtml",
- "tagName": "body",
- "selector": "foBody",
- "attrs": {
- "xmlns": "http://www.w3.org/1999/xhtml"
- },
- "style": {
- "width": "100%",
- "height": "100%",
- "background": "transparent"
- },
- "children": [
- {
- "tagName": "div",
- "selector": "foContent",
- "style": {
- "width": "100%",
- "height": "100%"
- }
- }
- ]
- }
- ]
- }
- ],
- "ports": {
- "groups": {
- "top": {
- "position": "top",
- "attrs": {
- "fo": {
- "width": 10,
- "height": 10,
- "x": -5,
- "y": -5,
- "magnet": "true"
- }
- }
- },
- "bottom": {
- "position": "bottom",
- "attrs": {
- "fo": {
- "width": 10,
- "height": 10,
- "x": -5,
- "y": -5,
- "magnet": "true"
- }
- }
- }
- },
- "items": [
- {
- "id": "bottomPort",
- "group": "bottom"
- }
- ]
- },
- "id": "d8e031c0-f87c-445d-8451-eb8f7bf416cb",
- "data": {
- "label": "InputSource",
- "status": "default",
- "type": "datasource",
- "id": "d8e031c0-f87c-445d-8451-eb8f7bf416cb",
- "nodeName": "inputNode1",
- "dataTable": 5,
- "inputSource": [
- {
- "dataSelect": false,
- "dataField": "name",
- "dataType": "string"
- },
- {
- "dataSelect": true,
- "dataField": "address",
- "dataType": "string"
- }
- ]
- },
- "zIndex": 8
- },
- {
- "position": {
- "x": 90,
- "y": 370
- },
- "size": {
- "width": 180,
- "height": 36
- },
- "view": "react-shape-view",
- "shape": "dag-node",
- "component": {
- "key": null,
- "ref": null,
- "props": {},
- "_owner": null,
- "_store": {}
- },
- "portMarkup": [
- {
- "tagName": "foreignObject",
- "selector": "fo",
- "children": [
- {
- "ns": "http://www.w3.org/1999/xhtml",
- "tagName": "body",
- "selector": "foBody",
- "attrs": {
- "xmlns": "http://www.w3.org/1999/xhtml"
- },
- "style": {
- "width": "100%",
- "height": "100%",
- "background": "transparent"
- },
- "children": [
- {
- "tagName": "div",
- "selector": "foContent",
- "style": {
- "width": "100%",
- "height": "100%"
- }
- }
- ]
- }
- ]
- }
- ],
- "ports": {
- "groups": {
- "top": {
- "position": "top",
- "attrs": {
- "fo": {
- "width": 10,
- "height": 10,
- "x": -5,
- "y": -5,
- "magnet": "true"
- }
- }
- },
- "bottom": {
- "position": "bottom",
- "attrs": {
- "fo": {
- "width": 10,
- "height": 10,
- "x": -5,
- "y": -5,
- "magnet": "true"
- }
- }
- }
- },
- "items": []
- },
- "id": "2f04affc-9c4d-4c88-80d3-6c8a95743110",
- "data": {
- "label": "sql",
- "status": "undone",
- "type": "script",
- "id": "2f04affc-9c4d-4c88-80d3-6c8a95743110",
- "paramText": "sql params",
- "nodeName": "SqlNode1",
- "scriptText": "select * from table1",
- "outputData": [
- {
- "outputVar": "r1"
- }
- ],
- "inputNumber": 2,
- "outputNumber": 1
- },
- "zIndex": 9
- },
- {
- "position": {
- "x": 360,
- "y": 380
- },
- "size": {
- "width": 180,
- "height": 36
- },
- "view": "react-shape-view",
- "shape": "dag-node",
- "component": {
- "key": null,
- "ref": null,
- "props": {},
- "_owner": null,
- "_store": {}
- },
- "portMarkup": [
- {
- "tagName": "foreignObject",
- "selector": "fo",
- "children": [
- {
- "ns": "http://www.w3.org/1999/xhtml",
- "tagName": "body",
- "selector": "foBody",
- "attrs": {
- "xmlns": "http://www.w3.org/1999/xhtml"
- },
- "style": {
- "width": "100%",
- "height": "100%",
- "background": "transparent"
- },
- "children": [
- {
- "tagName": "div",
- "selector": "foContent",
- "style": {
- "width": "100%",
- "height": "100%"
- }
- }
- ]
- }
- ]
- }
- ],
- "ports": {
- "groups": {
- "top": {
- "position": "top",
- "attrs": {
- "fo": {
- "width": 10,
- "height": 10,
- "x": -5,
- "y": -5,
- "magnet": "true"
- }
- }
- },
- "bottom": {
- "position": "bottom",
- "attrs": {
- "fo": {
- "width": 10,
- "height": 10,
- "x": -5,
- "y": -5,
- "magnet": "true"
- }
- }
- }
- },
- "items": []
- },
- "id": "6e673e3f-87e6-4f68-8c69-14a14057faf6",
- "data": {
- "label": "pyspark",
- "status": "undone",
- "type": "script",
- "id": "6e673e3f-87e6-4f68-8c69-14a14057faf6",
- "paramText": "pyspark params",
- "nodeName": "PysparkNode1",
- "scriptText": "import os\n\nprint('hello pyspark')",
- "outputData": [
- {
- "outputVar": "r1"
- },
- {
- "outputVar": "r2"
- }
- ],
- "inputNumber": 1,
- "packageData": "jupyterlab = 1.1",
- "outputNumber": 2
- },
- "zIndex": 10
- },
- {
- "position": {
- "x": 580,
- "y": 320
- },
- "size": {
- "width": 180,
- "height": 36
- },
- "view": "react-shape-view",
- "shape": "dag-node",
- "component": {
- "key": null,
- "ref": null,
- "props": {},
- "_owner": null,
- "_store": {}
- },
- "portMarkup": [
- {
- "tagName": "foreignObject",
- "selector": "fo",
- "children": [
- {
- "ns": "http://www.w3.org/1999/xhtml",
- "tagName": "body",
- "selector": "foBody",
- "attrs": {
- "xmlns": "http://www.w3.org/1999/xhtml"
- },
- "style": {
- "width": "100%",
- "height": "100%",
- "background": "transparent"
- },
- "children": [
- {
- "tagName": "div",
- "selector": "foContent",
- "style": {
- "width": "100%",
- "height": "100%"
- }
- }
- ]
- }
- ]
- }
- ],
- "ports": {
- "groups": {
- "top": {
- "position": "top",
- "attrs": {
- "fo": {
- "width": 10,
- "height": 10,
- "x": -5,
- "y": -5,
- "magnet": "true"
- }
- }
- },
- "bottom": {
- "position": "bottom",
- "attrs": {
- "fo": {
- "width": 10,
- "height": 10,
- "x": -5,
- "y": -5,
- "magnet": "true"
- }
- }
- }
- },
- "items": []
- },
- "id": "6aeed233-0951-4637-99e8-4736262edc94",
- "data": {
- "label": "python",
- "status": "undone",
- "type": "script",
- "id": "6aeed233-0951-4637-99e8-4736262edc94",
- "paramText": "python params",
- "nodeName": "PythonNode1",
- "scriptText": "import os\n\nprint('hello python')\n",
- "outputData": [
- {
- "outputVar": "r1"
- },
- {
- "outputVar": "r2"
- },
- {
- "outputVar": "r3"
- }
- ],
- "inputNumber": 2,
- "outputNumber": 3
- },
- "zIndex": 11
- }
- ]
- }
- }
|