This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 12bbd25 Automated deployment: 938c8144c7e1881c94f17674c6512088ffedd046
12bbd25 is described below
commit 12bbd25fe183001e0a8cee831f106ebc027b97fc
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Feb 12 12:46:06 2022 +0000
Automated deployment: 938c8144c7e1881c94f17674c6512088ffedd046
---
en-us/docs/2.0.3/user_doc/guide/task/flink.html | 63 +++++++++++++++++------
en-us/docs/2.0.3/user_doc/guide/task/flink.json | 2 +-
en-us/docs/dev/user_doc/guide/task/flink.html | 63 +++++++++++++++++------
en-us/docs/dev/user_doc/guide/task/flink.json | 2 +-
en-us/docs/latest/user_doc/guide/task/flink.html | 63 +++++++++++++++++------
en-us/docs/latest/user_doc/guide/task/flink.json | 2 +-
img/tasks/demo/flink_task.png | Bin 0 -> 247959 bytes
img/tasks/demo/upload_flink.png | Bin 0 -> 106645 bytes
img/tasks/icons/flink.png | Bin 0 -> 1443 bytes
zh-cn/docs/2.0.3/user_doc/guide/task/flink.html | 61 ++++++++++++++++------
zh-cn/docs/2.0.3/user_doc/guide/task/flink.json | 2 +-
zh-cn/docs/dev/user_doc/guide/task/flink.html | 61 ++++++++++++++++------
zh-cn/docs/dev/user_doc/guide/task/flink.json | 2 +-
zh-cn/docs/latest/user_doc/guide/task/flink.html | 61 ++++++++++++++++------
zh-cn/docs/latest/user_doc/guide/task/flink.json | 2 +-
15 files changed, 276 insertions(+), 108 deletions(-)
diff --git a/en-us/docs/2.0.3/user_doc/guide/task/flink.html
b/en-us/docs/2.0.3/user_doc/guide/task/flink.html
index e23c988..0e7cabd 100644
--- a/en-us/docs/2.0.3/user_doc/guide/task/flink.html
+++ b/en-us/docs/2.0.3/user_doc/guide/task/flink.html
@@ -11,27 +11,56 @@
</head>
<body>
<div id="root"><div class="md2html docs-page" data-reactroot=""><header
class="header-container header-container-dark"><div class="header-body"><span
class="mobile-menu-btn mobile-menu-btn-dark"></span><a
href="/en-us/index.html"><img class="logo" src="/img/hlogo_white.svg"/></a><div
class="search search-dark"><span class="icon-search"></span></div><span
class="language-switch language-switch-dark">中</span><div
class="header-menu"><div><ul class="ant-menu whiteClass ant-menu-light ant-
[...]
+<h2>Overview</h2>
+<p>Flink task type for executing Flink programs. For Flink nodes, the worker
submits the task by using the flink command <code>flink run</code>. See <a
href="https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/">flink
cli</a> for more details.</p>
+<h2>Create task</h2>
<ul>
-<li>Drag in the toolbar<img src="/img/flink.png" width="35"/>The task node to
the drawing board, as shown in the following figure:</li>
+<li>Click Project Management -> Project Name -> Workflow Definition, and
click the "Create Workflow" button to enter the DAG editing page.</li>
+<li>Drag the <img src="/img/tasks/icons/flink.png" width="15"/> from the
toolbar to the drawing board.</li>
</ul>
-<p align="center">
- <img src="/img/flink-en.png" width="80%" />
-</p>
+<h2>Task Parameter</h2>
<ul>
-<li>Program type: supports JAVA, Scala and Python three languages</li>
-<li>The class of the main function: is the full path of the Main Class, the
entry point of the Flink program</li>
-<li>Main jar package: is the Flink jar package</li>
-<li>Deployment mode: support three modes of cluster and local</li>
-<li>Number of slots: You can set the number of slots</li>
-<li>Number of taskManage: You can set the number of taskManage</li>
-<li>JobManager memory number: You can set the jobManager memory number</li>
-<li>TaskManager memory number: You can set the taskManager memory number</li>
-<li>Command line parameters: Set the input parameters of the Flink program and
support the substitution of custom parameter variables.</li>
-<li>Other parameters: support --jars, --files, --archives, --conf format</li>
-<li>Resource: If the resource file is referenced in other parameters, you need
to select and specify in the resource</li>
-<li>Custom parameter: It is a local user-defined parameter of Flink, which
will replace the content with ${variable} in the script</li>
+<li><strong>Node name</strong>: The node name in a workflow definition is
unique.</li>
+<li><strong>Run flag</strong>: Identifies whether this node can be scheduled
normally, if it does not need to be executed, you can turn on the prohibition
switch.</li>
+<li><strong>Descriptive information</strong>: describe the function of the
node.</li>
+<li><strong>Task priority</strong>: When the number of worker threads is
insufficient, they are executed in order from high to low, and when the
priority is the same, they are executed according to the first-in first-out
principle.</li>
+<li><strong>Worker grouping</strong>: Tasks are assigned to the machines of
the worker group to execute. If Default is selected, a worker machine will be
randomly selected for execution.</li>
+<li><strong>Environment Name</strong>: Configure the environment name in which
to run the script.</li>
+<li><strong>Number of failed retry attempts</strong>: The number of times the
task failed to be resubmitted.</li>
+<li><strong>Failed retry interval</strong>: The time, in cents, interval for
resubmitting the task after a failed task.</li>
+<li><strong>Delayed execution time</strong>: the time, in cents, that a task
is delayed in execution.</li>
+<li><strong>Timeout alarm</strong>: Check the timeout alarm and timeout
failure. When the task exceeds the "timeout period", an alarm email
will be sent and the task execution will fail.</li>
+<li><strong>Program type</strong>: supports Java、Scala and Python.</li>
+<li><strong>The class of main function</strong>: is the full path of Main
Class, the entry point of the Flink program.</li>
+<li><strong>Resource</strong>: Refers to the list of resource files that need
to be called in the script, and the files uploaded or created by the resource
center-file management.</li>
+<li><strong>Main jar package</strong>: is the Flink jar package.</li>
+<li><strong>Deployment mode</strong>: support three modes of cluster and
local</li>
+<li><strong>Task name</strong> (option): Flink task name.</li>
+<li><strong>jobManager memory number</strong>: This is used to set the number
of jobManager memories, which can be set according to the actual production
environment.</li>
+<li><strong>Number of slots</strong>: This is used to set the number of Slots,
which can be set according to the actual production environment.</li>
+<li><strong>taskManager memory number</strong>: This is used to set the number
of taskManager memories, which can be set according to the actual production
environment.</li>
+<li><strong>Number of taskManage</strong>: This is used to set the number of
taskManagers, which can be set according to the actual production
environment.</li>
+<li><strong>Custom parameters</strong>: It is a user-defined parameter that is
part of MapReduce, which will replace the content with ${variable} in the
script.</li>
+<li><strong>Predecessor task</strong>: Selecting a predecessor task for the
current task will set the selected predecessor task as upstream of the current
task.</li>
+<li><strong>Parallelism</strong>: Used to set the degree of parallelism for
executing Flink tasks.</li>
+<li><strong>Main program parameters</strong>: et the input parameters of the
Flink program and support the substitution of custom parameter variables.</li>
+<li><strong>Other parameters</strong>: support <code>--jars</code>,
<code>--files</code>,<code>--archives</code>, <code>--conf</code> format.</li>
+<li><strong>Resource</strong>: If the resource file is referenced in other
parameters, you need to select and specify in the resource.</li>
+<li><strong>Custom parameter</strong>: It is a local user-defined parameter of
Flink, which will replace the content with ${variable} in the script.</li>
+<li><strong>Predecessor task</strong>: Selecting a predecessor task for the
current task will set the selected predecessor task as upstream of the current
task.</li>
</ul>
-<p>Note: JAVA and Scala are only used for identification, there is no
difference, if it is Flink developed by Python, there is no class of the main
function, the others are the same</p>
+<h2>Task Example</h2>
+<h3>Execute the WordCount program</h3>
+<p>This is a common introductory case in the Big Data ecosystem, which often
applied to computational frameworks such as MapReduce, Flink and Spark. The
main purpose is to count the number of identical words in the input text.
(Flink's releases come with this example job)</p>
+<h4>Uploading the main package</h4>
+<p>When using the Flink task node, you will need to use the Resource Centre to
upload the jar package for the executable. Refer to the <a
href="../resource.md">resource center</a>.</p>
+<p>After configuring the Resource Centre, you can upload the required target
files directly using drag and drop.</p>
+<p><img src="/img/tasks/demo/upload_flink.png" alt="resource_upload"></p>
+<h4>Configuring Flink nodes</h4>
+<p>Simply configure the required content according to the parameter
descriptions above.</p>
+<p><img src="/img/tasks/demo/flink_task.png" alt="demo-flink-simple"></p>
+<h2>Notice</h2>
+<p>JAVA and Scala are only used for identification, there is no difference, if
it is Flink developed by Python, there is no class of the main function, the
others are the same.</p>
</div></section><footer class="footer-container"><div
class="footer-body"><div><h3>About us</h3><h4>Do you need feedback? Please
contact us through the following ways.</h4></div><div
class="contact-container"><ul><li><a
href="/en-us/community/development/subscribe.html"><img class="img-base"
src="/img/emailgray.png"/><img class="img-change"
src="/img/emailblue.png"/><p>Email List</p></a></li><li><a
href="https://twitter.com/dolphinschedule"><img class="img-base"
src="/img/twittergray.png [...]
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-with-addons.min.js"></script>
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
diff --git a/en-us/docs/2.0.3/user_doc/guide/task/flink.json
b/en-us/docs/2.0.3/user_doc/guide/task/flink.json
index 4532233..365ea1f 100644
--- a/en-us/docs/2.0.3/user_doc/guide/task/flink.json
+++ b/en-us/docs/2.0.3/user_doc/guide/task/flink.json
@@ -1,6 +1,6 @@
{
"filename": "flink.md",
- "__html": "<h1>Flink</h1>\n<ul>\n<li>Drag in the toolbar<img
src=\"/img/flink.png\" width=\"35\"/>The task node to the drawing board, as
shown in the following figure:</li>\n</ul>\n<p align=\"center\">\n <img
src=\"/img/flink-en.png\" width=\"80%\" />\n</p>\n<ul>\n<li>Program type:
supports JAVA, Scala and Python three languages</li>\n<li>The class of the main
function: is the full path of the Main Class, the entry point of the Flink
program</li>\n<li>Main jar package: is the Flink ja [...]
+ "__html": "<h1>Flink</h1>\n<h2>Overview</h2>\n<p>Flink task type for
executing Flink programs. For Flink nodes, the worker submits the task by using
the flink command <code>flink run</code>. See <a
href=\"https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/\">flink
cli</a> for more details.</p>\n<h2>Create task</h2>\n<ul>\n<li>Click Project
Management -> Project Name -> Workflow Definition, and click the
"Create Workflow" button to enter the D [...]
"link": "/dist/en-us/docs/2.0.3/user_doc/guide/task/flink.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/user_doc/guide/task/flink.html
b/en-us/docs/dev/user_doc/guide/task/flink.html
index 801c8db..fcebcbd 100644
--- a/en-us/docs/dev/user_doc/guide/task/flink.html
+++ b/en-us/docs/dev/user_doc/guide/task/flink.html
@@ -11,27 +11,56 @@
</head>
<body>
<div id="root"><div class="md2html docs-page" data-reactroot=""><header
class="header-container header-container-dark"><div class="header-body"><span
class="mobile-menu-btn mobile-menu-btn-dark"></span><a
href="/en-us/index.html"><img class="logo" src="/img/hlogo_white.svg"/></a><div
class="search search-dark"><span class="icon-search"></span></div><span
class="language-switch language-switch-dark">中</span><div
class="header-menu"><div><ul class="ant-menu whiteClass ant-menu-light ant-
[...]
+<h2>Overview</h2>
+<p>Flink task type for executing Flink programs. For Flink nodes, the worker
submits the task by using the flink command <code>flink run</code>. See <a
href="https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/">flink
cli</a> for more details.</p>
+<h2>Create task</h2>
<ul>
-<li>Drag in the toolbar<img src="/img/flink.png" width="35"/>The task node to
the drawing board, as shown in the following figure:</li>
+<li>Click Project Management -> Project Name -> Workflow Definition, and
click the "Create Workflow" button to enter the DAG editing page.</li>
+<li>Drag the <img src="/img/tasks/icons/flink.png" width="15"/> from the
toolbar to the drawing board.</li>
</ul>
-<p align="center">
- <img src="/img/flink-en.png" width="80%" />
-</p>
+<h2>Task Parameter</h2>
<ul>
-<li>Program type: supports JAVA, Scala and Python three languages</li>
-<li>The class of the main function: is the full path of the Main Class, the
entry point of the Flink program</li>
-<li>Main jar package: is the Flink jar package</li>
-<li>Deployment mode: support three modes of cluster and local</li>
-<li>Number of slots: You can set the number of slots</li>
-<li>Number of taskManage: You can set the number of taskManage</li>
-<li>JobManager memory number: You can set the jobManager memory number</li>
-<li>TaskManager memory number: You can set the taskManager memory number</li>
-<li>Command line parameters: Set the input parameters of the Flink program and
support the substitution of custom parameter variables.</li>
-<li>Other parameters: support --jars, --files, --archives, --conf format</li>
-<li>Resource: If the resource file is referenced in other parameters, you need
to select and specify in the resource</li>
-<li>Custom parameter: It is a local user-defined parameter of Flink, which
will replace the content with ${variable} in the script</li>
+<li><strong>Node name</strong>: The node name in a workflow definition is
unique.</li>
+<li><strong>Run flag</strong>: Identifies whether this node can be scheduled
normally, if it does not need to be executed, you can turn on the prohibition
switch.</li>
+<li><strong>Descriptive information</strong>: describe the function of the
node.</li>
+<li><strong>Task priority</strong>: When the number of worker threads is
insufficient, they are executed in order from high to low, and when the
priority is the same, they are executed according to the first-in first-out
principle.</li>
+<li><strong>Worker grouping</strong>: Tasks are assigned to the machines of
the worker group to execute. If Default is selected, a worker machine will be
randomly selected for execution.</li>
+<li><strong>Environment Name</strong>: Configure the environment name in which
to run the script.</li>
+<li><strong>Number of failed retry attempts</strong>: The number of times the
task failed to be resubmitted.</li>
+<li><strong>Failed retry interval</strong>: The time, in cents, interval for
resubmitting the task after a failed task.</li>
+<li><strong>Delayed execution time</strong>: the time, in cents, that a task
is delayed in execution.</li>
+<li><strong>Timeout alarm</strong>: Check the timeout alarm and timeout
failure. When the task exceeds the "timeout period", an alarm email
will be sent and the task execution will fail.</li>
+<li><strong>Program type</strong>: supports Java、Scala and Python.</li>
+<li><strong>The class of main function</strong>: is the full path of Main
Class, the entry point of the Flink program.</li>
+<li><strong>Resource</strong>: Refers to the list of resource files that need
to be called in the script, and the files uploaded or created by the resource
center-file management.</li>
+<li><strong>Main jar package</strong>: is the Flink jar package.</li>
+<li><strong>Deployment mode</strong>: support three modes of cluster and
local</li>
+<li><strong>Task name</strong> (option): Flink task name.</li>
+<li><strong>jobManager memory number</strong>: This is used to set the number
of jobManager memories, which can be set according to the actual production
environment.</li>
+<li><strong>Number of slots</strong>: This is used to set the number of Slots,
which can be set according to the actual production environment.</li>
+<li><strong>taskManager memory number</strong>: This is used to set the number
of taskManager memories, which can be set according to the actual production
environment.</li>
+<li><strong>Number of taskManage</strong>: This is used to set the number of
taskManagers, which can be set according to the actual production
environment.</li>
+<li><strong>Custom parameters</strong>: It is a user-defined parameter that is
part of MapReduce, which will replace the content with ${variable} in the
script.</li>
+<li><strong>Predecessor task</strong>: Selecting a predecessor task for the
current task will set the selected predecessor task as upstream of the current
task.</li>
+<li><strong>Parallelism</strong>: Used to set the degree of parallelism for
executing Flink tasks.</li>
+<li><strong>Main program parameters</strong>: et the input parameters of the
Flink program and support the substitution of custom parameter variables.</li>
+<li><strong>Other parameters</strong>: support <code>--jars</code>,
<code>--files</code>,<code>--archives</code>, <code>--conf</code> format.</li>
+<li><strong>Resource</strong>: If the resource file is referenced in other
parameters, you need to select and specify in the resource.</li>
+<li><strong>Custom parameter</strong>: It is a local user-defined parameter of
Flink, which will replace the content with ${variable} in the script.</li>
+<li><strong>Predecessor task</strong>: Selecting a predecessor task for the
current task will set the selected predecessor task as upstream of the current
task.</li>
</ul>
-<p>Note: JAVA and Scala are only used for identification, there is no
difference, if it is Flink developed by Python, there is no class of the main
function, the others are the same</p>
+<h2>Task Example</h2>
+<h3>Execute the WordCount program</h3>
+<p>This is a common introductory case in the Big Data ecosystem, which often
applied to computational frameworks such as MapReduce, Flink and Spark. The
main purpose is to count the number of identical words in the input text.
(Flink's releases come with this example job)</p>
+<h4>Uploading the main package</h4>
+<p>When using the Flink task node, you will need to use the Resource Centre to
upload the jar package for the executable. Refer to the <a
href="../resource.md">resource center</a>.</p>
+<p>After configuring the Resource Centre, you can upload the required target
files directly using drag and drop.</p>
+<p><img src="/img/tasks/demo/upload_flink.png" alt="resource_upload"></p>
+<h4>Configuring Flink nodes</h4>
+<p>Simply configure the required content according to the parameter
descriptions above.</p>
+<p><img src="/img/tasks/demo/flink_task.png" alt="demo-flink-simple"></p>
+<h2>Notice</h2>
+<p>JAVA and Scala are only used for identification, there is no difference, if
it is Flink developed by Python, there is no class of the main function, the
others are the same.</p>
</div></section><footer class="footer-container"><div
class="footer-body"><div><h3>About us</h3><h4>Do you need feedback? Please
contact us through the following ways.</h4></div><div
class="contact-container"><ul><li><a
href="/en-us/community/development/subscribe.html"><img class="img-base"
src="/img/emailgray.png"/><img class="img-change"
src="/img/emailblue.png"/><p>Email List</p></a></li><li><a
href="https://twitter.com/dolphinschedule"><img class="img-base"
src="/img/twittergray.png [...]
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-with-addons.min.js"></script>
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
diff --git a/en-us/docs/dev/user_doc/guide/task/flink.json
b/en-us/docs/dev/user_doc/guide/task/flink.json
index 5b33581..f2f3ed8 100644
--- a/en-us/docs/dev/user_doc/guide/task/flink.json
+++ b/en-us/docs/dev/user_doc/guide/task/flink.json
@@ -1,6 +1,6 @@
{
"filename": "flink.md",
- "__html": "<h1>Flink</h1>\n<ul>\n<li>Drag in the toolbar<img
src=\"/img/flink.png\" width=\"35\"/>The task node to the drawing board, as
shown in the following figure:</li>\n</ul>\n<p align=\"center\">\n <img
src=\"/img/flink-en.png\" width=\"80%\" />\n</p>\n<ul>\n<li>Program type:
supports JAVA, Scala and Python three languages</li>\n<li>The class of the main
function: is the full path of the Main Class, the entry point of the Flink
program</li>\n<li>Main jar package: is the Flink ja [...]
+ "__html": "<h1>Flink</h1>\n<h2>Overview</h2>\n<p>Flink task type for
executing Flink programs. For Flink nodes, the worker submits the task by using
the flink command <code>flink run</code>. See <a
href=\"https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/\">flink
cli</a> for more details.</p>\n<h2>Create task</h2>\n<ul>\n<li>Click Project
Management -> Project Name -> Workflow Definition, and click the
"Create Workflow" button to enter the D [...]
"link": "/dist/en-us/docs/dev/user_doc/guide/task/flink.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/latest/user_doc/guide/task/flink.html
b/en-us/docs/latest/user_doc/guide/task/flink.html
index e23c988..0e7cabd 100644
--- a/en-us/docs/latest/user_doc/guide/task/flink.html
+++ b/en-us/docs/latest/user_doc/guide/task/flink.html
@@ -11,27 +11,56 @@
</head>
<body>
<div id="root"><div class="md2html docs-page" data-reactroot=""><header
class="header-container header-container-dark"><div class="header-body"><span
class="mobile-menu-btn mobile-menu-btn-dark"></span><a
href="/en-us/index.html"><img class="logo" src="/img/hlogo_white.svg"/></a><div
class="search search-dark"><span class="icon-search"></span></div><span
class="language-switch language-switch-dark">中</span><div
class="header-menu"><div><ul class="ant-menu whiteClass ant-menu-light ant-
[...]
+<h2>Overview</h2>
+<p>Flink task type for executing Flink programs. For Flink nodes, the worker
submits the task by using the flink command <code>flink run</code>. See <a
href="https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/">flink
cli</a> for more details.</p>
+<h2>Create task</h2>
<ul>
-<li>Drag in the toolbar<img src="/img/flink.png" width="35"/>The task node to
the drawing board, as shown in the following figure:</li>
+<li>Click Project Management -> Project Name -> Workflow Definition, and
click the "Create Workflow" button to enter the DAG editing page.</li>
+<li>Drag the <img src="/img/tasks/icons/flink.png" width="15"/> from the
toolbar to the drawing board.</li>
</ul>
-<p align="center">
- <img src="/img/flink-en.png" width="80%" />
-</p>
+<h2>Task Parameter</h2>
<ul>
-<li>Program type: supports JAVA, Scala and Python three languages</li>
-<li>The class of the main function: is the full path of the Main Class, the
entry point of the Flink program</li>
-<li>Main jar package: is the Flink jar package</li>
-<li>Deployment mode: support three modes of cluster and local</li>
-<li>Number of slots: You can set the number of slots</li>
-<li>Number of taskManage: You can set the number of taskManage</li>
-<li>JobManager memory number: You can set the jobManager memory number</li>
-<li>TaskManager memory number: You can set the taskManager memory number</li>
-<li>Command line parameters: Set the input parameters of the Flink program and
support the substitution of custom parameter variables.</li>
-<li>Other parameters: support --jars, --files, --archives, --conf format</li>
-<li>Resource: If the resource file is referenced in other parameters, you need
to select and specify in the resource</li>
-<li>Custom parameter: It is a local user-defined parameter of Flink, which
will replace the content with ${variable} in the script</li>
+<li><strong>Node name</strong>: The node name in a workflow definition is
unique.</li>
+<li><strong>Run flag</strong>: Identifies whether this node can be scheduled
normally, if it does not need to be executed, you can turn on the prohibition
switch.</li>
+<li><strong>Descriptive information</strong>: describe the function of the
node.</li>
+<li><strong>Task priority</strong>: When the number of worker threads is
insufficient, they are executed in order from high to low, and when the
priority is the same, they are executed according to the first-in first-out
principle.</li>
+<li><strong>Worker grouping</strong>: Tasks are assigned to the machines of
the worker group to execute. If Default is selected, a worker machine will be
randomly selected for execution.</li>
+<li><strong>Environment Name</strong>: Configure the environment name in which
to run the script.</li>
+<li><strong>Number of failed retry attempts</strong>: The number of times the
task failed to be resubmitted.</li>
+<li><strong>Failed retry interval</strong>: The time, in cents, interval for
resubmitting the task after a failed task.</li>
+<li><strong>Delayed execution time</strong>: the time, in cents, that a task
is delayed in execution.</li>
+<li><strong>Timeout alarm</strong>: Check the timeout alarm and timeout
failure. When the task exceeds the "timeout period", an alarm email
will be sent and the task execution will fail.</li>
+<li><strong>Program type</strong>: supports Java、Scala and Python.</li>
+<li><strong>The class of main function</strong>: is the full path of Main
Class, the entry point of the Flink program.</li>
+<li><strong>Resource</strong>: Refers to the list of resource files that need
to be called in the script, and the files uploaded or created by the resource
center-file management.</li>
+<li><strong>Main jar package</strong>: is the Flink jar package.</li>
+<li><strong>Deployment mode</strong>: support three modes of cluster and
local</li>
+<li><strong>Task name</strong> (option): Flink task name.</li>
+<li><strong>jobManager memory number</strong>: This is used to set the number
of jobManager memories, which can be set according to the actual production
environment.</li>
+<li><strong>Number of slots</strong>: This is used to set the number of Slots,
which can be set according to the actual production environment.</li>
+<li><strong>taskManager memory number</strong>: This is used to set the number
of taskManager memories, which can be set according to the actual production
environment.</li>
+<li><strong>Number of taskManage</strong>: This is used to set the number of
taskManagers, which can be set according to the actual production
environment.</li>
+<li><strong>Custom parameters</strong>: It is a user-defined parameter that is
part of MapReduce, which will replace the content with ${variable} in the
script.</li>
+<li><strong>Predecessor task</strong>: Selecting a predecessor task for the
current task will set the selected predecessor task as upstream of the current
task.</li>
+<li><strong>Parallelism</strong>: Used to set the degree of parallelism for
executing Flink tasks.</li>
+<li><strong>Main program parameters</strong>: et the input parameters of the
Flink program and support the substitution of custom parameter variables.</li>
+<li><strong>Other parameters</strong>: support <code>--jars</code>,
<code>--files</code>,<code>--archives</code>, <code>--conf</code> format.</li>
+<li><strong>Resource</strong>: If the resource file is referenced in other
parameters, you need to select and specify in the resource.</li>
+<li><strong>Custom parameter</strong>: It is a local user-defined parameter of
Flink, which will replace the content with ${variable} in the script.</li>
+<li><strong>Predecessor task</strong>: Selecting a predecessor task for the
current task will set the selected predecessor task as upstream of the current
task.</li>
</ul>
-<p>Note: JAVA and Scala are only used for identification, there is no
difference, if it is Flink developed by Python, there is no class of the main
function, the others are the same</p>
+<h2>Task Example</h2>
+<h3>Execute the WordCount program</h3>
+<p>This is a common introductory case in the Big Data ecosystem, which often
applied to computational frameworks such as MapReduce, Flink and Spark. The
main purpose is to count the number of identical words in the input text.
(Flink's releases come with this example job)</p>
+<h4>Uploading the main package</h4>
+<p>When using the Flink task node, you will need to use the Resource Centre to
upload the jar package for the executable. Refer to the <a
href="../resource.md">resource center</a>.</p>
+<p>After configuring the Resource Centre, you can upload the required target
files directly using drag and drop.</p>
+<p><img src="/img/tasks/demo/upload_flink.png" alt="resource_upload"></p>
+<h4>Configuring Flink nodes</h4>
+<p>Simply configure the required content according to the parameter
descriptions above.</p>
+<p><img src="/img/tasks/demo/flink_task.png" alt="demo-flink-simple"></p>
+<h2>Notice</h2>
+<p>JAVA and Scala are only used for identification, there is no difference, if
it is Flink developed by Python, there is no class of the main function, the
others are the same.</p>
</div></section><footer class="footer-container"><div
class="footer-body"><div><h3>About us</h3><h4>Do you need feedback? Please
contact us through the following ways.</h4></div><div
class="contact-container"><ul><li><a
href="/en-us/community/development/subscribe.html"><img class="img-base"
src="/img/emailgray.png"/><img class="img-change"
src="/img/emailblue.png"/><p>Email List</p></a></li><li><a
href="https://twitter.com/dolphinschedule"><img class="img-base"
src="/img/twittergray.png [...]
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-with-addons.min.js"></script>
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
diff --git a/en-us/docs/latest/user_doc/guide/task/flink.json
b/en-us/docs/latest/user_doc/guide/task/flink.json
index 4532233..365ea1f 100644
--- a/en-us/docs/latest/user_doc/guide/task/flink.json
+++ b/en-us/docs/latest/user_doc/guide/task/flink.json
@@ -1,6 +1,6 @@
{
"filename": "flink.md",
- "__html": "<h1>Flink</h1>\n<ul>\n<li>Drag in the toolbar<img
src=\"/img/flink.png\" width=\"35\"/>The task node to the drawing board, as
shown in the following figure:</li>\n</ul>\n<p align=\"center\">\n <img
src=\"/img/flink-en.png\" width=\"80%\" />\n</p>\n<ul>\n<li>Program type:
supports JAVA, Scala and Python three languages</li>\n<li>The class of the main
function: is the full path of the Main Class, the entry point of the Flink
program</li>\n<li>Main jar package: is the Flink ja [...]
+ "__html": "<h1>Flink</h1>\n<h2>Overview</h2>\n<p>Flink task type for
executing Flink programs. For Flink nodes, the worker submits the task by using
the flink command <code>flink run</code>. See <a
href=\"https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/\">flink
cli</a> for more details.</p>\n<h2>Create task</h2>\n<ul>\n<li>Click Project
Management -> Project Name -> Workflow Definition, and click the
"Create Workflow" button to enter the D [...]
"link": "/dist/en-us/docs/2.0.3/user_doc/guide/task/flink.html",
"meta": {}
}
\ No newline at end of file
diff --git a/img/tasks/demo/flink_task.png b/img/tasks/demo/flink_task.png
new file mode 100644
index 0000000..cda455f
Binary files /dev/null and b/img/tasks/demo/flink_task.png differ
diff --git a/img/tasks/demo/upload_flink.png b/img/tasks/demo/upload_flink.png
new file mode 100644
index 0000000..4c13f17
Binary files /dev/null and b/img/tasks/demo/upload_flink.png differ
diff --git a/img/tasks/icons/flink.png b/img/tasks/icons/flink.png
new file mode 100644
index 0000000..568efbe
Binary files /dev/null and b/img/tasks/icons/flink.png differ
diff --git a/zh-cn/docs/2.0.3/user_doc/guide/task/flink.html
b/zh-cn/docs/2.0.3/user_doc/guide/task/flink.html
index 4192d8b..ff8e7dc 100644
--- a/zh-cn/docs/2.0.3/user_doc/guide/task/flink.html
+++ b/zh-cn/docs/2.0.3/user_doc/guide/task/flink.html
@@ -11,27 +11,54 @@
</head>
<body>
<div id="root"><div class="md2html docs-page" data-reactroot=""><header
class="header-container header-container-dark"><div class="header-body"><span
class="mobile-menu-btn mobile-menu-btn-dark"></span><a
href="/zh-cn/index.html"><img class="logo" src="/img/hlogo_white.svg"/></a><div
class="search search-dark"><span class="icon-search"></span></div><span
class="language-switch language-switch-dark">En</span><div
class="header-menu"><div><ul class="ant-menu whiteClass ant-menu-light ant [...]
+<h2>综述</h2>
+<p>Flink 任务类型,用于执行 Flink 程序。对于 Flink 节点,worker 会通过使用 flink 命令 <code>flink
run</code> 的方式提交任务。更多详情查看 <a
href="https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/">flink
cli</a>。</p>
+<h2>创建任务</h2>
<ul>
-<li>拖动工具栏中的<img src="/img/flink.png" width="35"/>任务节点到画板中,如下图所示:</li>
+<li>点击项目管理-项目名称-工作流定义,点击“创建工作流”按钮,进入 DAG 编辑页面;</li>
+<li>拖动工具栏的 <img src="/img/tasks/icons/flink.png" width="15"/> 任务节点到画板中。</li>
</ul>
-<p align="center">
- <img src="/img/flink_edit.png" width="80%" />
-</p>
+<h2>任务参数</h2>
<ul>
-<li>程序类型:支持JAVA、Scala和Python三种语言</li>
-<li>主函数的class:是Flink程序的入口Main Class的全路径</li>
-<li>主jar包:是Flink的jar包</li>
-<li>部署方式:支持cluster、local三种模式</li>
-<li>slot数量:可以设置slot数</li>
-<li>taskManage数量:可以设置taskManage数</li>
-<li>jobManager内存数:可以设置jobManager内存数</li>
-<li>taskManager内存数:可以设置taskManager内存数</li>
-<li>命令行参数:是设置Flink程序的输入参数,支持自定义参数变量的替换。</li>
-<li>其他参数:支持 --jars、--files、--archives、--conf格式</li>
-<li>资源:如果其他参数中引用了资源文件,需要在资源中选择指定</li>
-<li>自定义参数:是Flink局部的用户自定义参数,会替换脚本中以${变量}的内容</li>
+<li>节点名称:设置任务的名称。一个工作流定义中的节点名称是唯一的。</li>
+<li>运行标志:标识这个节点是否能正常调度,如果不需要执行,可以打开禁止执行开关。</li>
+<li>描述:描述该节点的功能。</li>
+<li>任务优先级:worker 线程数不足时,根据优先级从高到低依次执行,优先级一样时根据先进先出原则执行。</li>
+<li>Worker 分组:任务分配给 worker 组的机器执行,选择 Default,会随机选择一台 worker 机执行。</li>
+<li>环境名称:配置运行脚本的环境。</li>
+<li>失败重试次数:任务失败重新提交的次数。</li>
+<li>失败重试间隔:任务失败重新提交任务的时间间隔,以分为单位。</li>
+<li>延迟执行时间:任务延迟执行的时间,以分为单位。</li>
+<li>超时告警:勾选超时告警、超时失败,当任务超过"超时时长"后,会发送告警邮件并且任务执行失败。</li>
+<li>程序类型:支持 Java、Scala 和 Python 三种语言。</li>
+<li>主函数的 Class:Flink 程序的入口 Main Class 的<strong>全路径</strong>。</li>
+<li>主程序包:执行 Flink 程序的 jar 包(通过资源中心上传)。</li>
+<li>部署方式:支持 cluster 和 local 两种模式的部署。</li>
+<li>Flink 版本:根据所需环境选择对应的版本即可。</li>
+<li>任务名称(选填):Flink 程序的名称。</li>
+<li>jobManager 内存数:用于设置 jobManager 内存数,可根据实际生产环境设置对应的内存数。</li>
+<li>Slot 数量:用于设置 Slot 的数量,可根据实际生产环境设置对应的数量。</li>
+<li>taskManager 内存数:用于设置 taskManager 内存数,可根据实际生产环境设置对应的内存数。</li>
+<li>taskManager 数量:用于设置 taskManager 的数量,可根据实际生产环境设置对应的数量。</li>
+<li>并行度:用于设置执行 Flink 任务的并行度。</li>
+<li>主程序参数:设置 Flink 程序的输入参数,支持自定义参数变量的替换。</li>
+<li>选项参数:支持
<code>--jar</code>、<code>--files</code>、<code>--archives</code>、<code>--conf</code>
格式。</li>
+<li>资源:如果其他参数中引用了资源文件,需要在资源中选择指定。</li>
+<li>自定义参数:是 Flink 局部的用户自定义参数,会替换脚本中以 ${变量} 的内容</li>
+<li>前置任务:选择当前任务的前置任务,会将被选择的前置任务设置为当前任务的上游。</li>
</ul>
-<p>注意:JAVA和Scala只是用来标识,没有区别,如果是Python开发的Flink则没有主函数的class,其他都是一样</p>
+<h2>任务样例</h2>
+<h3>执行 WordCount 程序</h3>
+<p>本案例为大数据生态中常见的入门案例,常应用于 MapReduce、Flink、Spark
等计算框架。主要为统计输入的文本中,相同的单词的数量有多少。(Flink 的 Releases 附带了此示例作业)</p>
+<h4>上传主程序包</h4>
+<p>在使用 Flink 任务节点时,需要利用资源中心上传执行程序的 jar 包,可参考<a
href="../resource.md">资源中心</a>。</p>
+<p>当配置完成资源中心之后,直接使用拖拽的方式,即可上传所需目标文件。</p>
+<p><img src="/img/tasks/demo/upload_flink.png" alt="resource_upload"></p>
+<h4>配置 Flink 节点</h4>
+<p>根据上述参数说明,配置所需的内容即可。</p>
+<p><img src="/img/tasks/demo/flink_task.png" alt="demo-flink-simple"></p>
+<h2>注意事项:</h2>
+<p>Java 和 Scala 只是用来标识,没有区别,如果是 Python 开发的 Flink 则没有主函数的 class,其余的都一样。</p>
</div></section><footer class="footer-container"><div
class="footer-body"><div><h3>联系我们</h3><h4>有问题需要反馈?请通过以下方式联系我们。</h4></div><div
class="contact-container"><ul><li><a
href="/zh-cn/community/development/subscribe.html"><img class="img-base"
src="/img/emailgray.png"/><img class="img-change"
src="/img/emailblue.png"/><p>邮件列表</p></a></li><li><a
href="https://twitter.com/dolphinschedule"><img class="img-base"
src="/img/twittergray.png"/><img class="img-change"
src="/img/twitterblue.png"/><p [...]
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-with-addons.min.js"></script>
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
diff --git a/zh-cn/docs/2.0.3/user_doc/guide/task/flink.json
b/zh-cn/docs/2.0.3/user_doc/guide/task/flink.json
index 3fa6ecd..634a0ec 100644
--- a/zh-cn/docs/2.0.3/user_doc/guide/task/flink.json
+++ b/zh-cn/docs/2.0.3/user_doc/guide/task/flink.json
@@ -1,6 +1,6 @@
{
"filename": "flink.md",
- "__html": "<h1>Flink节点</h1>\n<ul>\n<li>拖动工具栏中的<img src=\"/img/flink.png\"
width=\"35\"/>任务节点到画板中,如下图所示:</li>\n</ul>\n<p align=\"center\">\n <img
src=\"/img/flink_edit.png\" width=\"80%\"
/>\n</p>\n<ul>\n<li>程序类型:支持JAVA、Scala和Python三种语言</li>\n<li>主函数的class:是Flink程序的入口Main
Class的全路径</li>\n<li>主jar包:是Flink的jar包</li>\n<li>部署方式:支持cluster、local三种模式</li>\n<li>slot数量:可以设置slot数</li>\n<li>taskManage数量:可以设置taskManage数</li>\n<li>jobManager内存数:可以设置jobManager内存数</li>\n<li>taskManager内存数:可以设置taskMan
[...]
+ "__html": "<h1>Flink节点</h1>\n<h2>综述</h2>\n<p>Flink 任务类型,用于执行 Flink 程序。对于
Flink 节点,worker 会通过使用 flink 命令 <code>flink run</code> 的方式提交任务。更多详情查看 <a
href=\"https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/\">flink
cli</a>。</p>\n<h2>创建任务</h2>\n<ul>\n<li>点击项目管理-项目名称-工作流定义,点击“创建工作流”按钮,进入 DAG
编辑页面;</li>\n<li>拖动工具栏的 <img src=\"/img/tasks/icons/flink.png\" width=\"15\"/>
任务节点到画板中。</li>\n</ul>\n<h2>任务参数</h2>\n<ul>\n<li>节点名称:设置任务的名称。一个工作流定义中的节点名称是唯一的。</li>\n<li>运行标志:标
[...]
"link": "/dist/zh-cn/docs/2.0.3/user_doc/guide/task/flink.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/user_doc/guide/task/flink.html
b/zh-cn/docs/dev/user_doc/guide/task/flink.html
index 67c339918..2fda0a7 100644
--- a/zh-cn/docs/dev/user_doc/guide/task/flink.html
+++ b/zh-cn/docs/dev/user_doc/guide/task/flink.html
@@ -11,27 +11,54 @@
</head>
<body>
<div id="root"><div class="md2html docs-page" data-reactroot=""><header
class="header-container header-container-dark"><div class="header-body"><span
class="mobile-menu-btn mobile-menu-btn-dark"></span><a
href="/zh-cn/index.html"><img class="logo" src="/img/hlogo_white.svg"/></a><div
class="search search-dark"><span class="icon-search"></span></div><span
class="language-switch language-switch-dark">En</span><div
class="header-menu"><div><ul class="ant-menu whiteClass ant-menu-light ant [...]
+<h2>综述</h2>
+<p>Flink 任务类型,用于执行 Flink 程序。对于 Flink 节点,worker 会通过使用 flink 命令 <code>flink
run</code> 的方式提交任务。更多详情查看 <a
href="https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/">flink
cli</a>。</p>
+<h2>创建任务</h2>
<ul>
-<li>拖动工具栏中的<img src="/img/flink.png" width="35"/>任务节点到画板中,如下图所示:</li>
+<li>点击项目管理-项目名称-工作流定义,点击“创建工作流”按钮,进入 DAG 编辑页面;</li>
+<li>拖动工具栏的 <img src="/img/tasks/icons/flink.png" width="15"/> 任务节点到画板中。</li>
</ul>
-<p align="center">
- <img src="/img/flink_edit.png" width="80%" />
-</p>
+<h2>任务参数</h2>
<ul>
-<li>程序类型:支持JAVA、Scala和Python三种语言</li>
-<li>主函数的class:是Flink程序的入口Main Class的全路径</li>
-<li>主jar包:是Flink的jar包</li>
-<li>部署方式:支持cluster、local三种模式</li>
-<li>slot数量:可以设置slot数</li>
-<li>taskManage数量:可以设置taskManage数</li>
-<li>jobManager内存数:可以设置jobManager内存数</li>
-<li>taskManager内存数:可以设置taskManager内存数</li>
-<li>命令行参数:是设置Flink程序的输入参数,支持自定义参数变量的替换。</li>
-<li>其他参数:支持 --jars、--files、--archives、--conf格式</li>
-<li>资源:如果其他参数中引用了资源文件,需要在资源中选择指定</li>
-<li>自定义参数:是Flink局部的用户自定义参数,会替换脚本中以${变量}的内容</li>
+<li>节点名称:设置任务的名称。一个工作流定义中的节点名称是唯一的。</li>
+<li>运行标志:标识这个节点是否能正常调度,如果不需要执行,可以打开禁止执行开关。</li>
+<li>描述:描述该节点的功能。</li>
+<li>任务优先级:worker 线程数不足时,根据优先级从高到低依次执行,优先级一样时根据先进先出原则执行。</li>
+<li>Worker 分组:任务分配给 worker 组的机器执行,选择 Default,会随机选择一台 worker 机执行。</li>
+<li>环境名称:配置运行脚本的环境。</li>
+<li>失败重试次数:任务失败重新提交的次数。</li>
+<li>失败重试间隔:任务失败重新提交任务的时间间隔,以分为单位。</li>
+<li>延迟执行时间:任务延迟执行的时间,以分为单位。</li>
+<li>超时告警:勾选超时告警、超时失败,当任务超过"超时时长"后,会发送告警邮件并且任务执行失败。</li>
+<li>程序类型:支持 Java、Scala 和 Python 三种语言。</li>
+<li>主函数的 Class:Flink 程序的入口 Main Class 的<strong>全路径</strong>。</li>
+<li>主程序包:执行 Flink 程序的 jar 包(通过资源中心上传)。</li>
+<li>部署方式:支持 cluster 和 local 两种模式的部署。</li>
+<li>Flink 版本:根据所需环境选择对应的版本即可。</li>
+<li>任务名称(选填):Flink 程序的名称。</li>
+<li>jobManager 内存数:用于设置 jobManager 内存数,可根据实际生产环境设置对应的内存数。</li>
+<li>Slot 数量:用于设置 Slot 的数量,可根据实际生产环境设置对应的数量。</li>
+<li>taskManager 内存数:用于设置 taskManager 内存数,可根据实际生产环境设置对应的内存数。</li>
+<li>taskManager 数量:用于设置 taskManager 的数量,可根据实际生产环境设置对应的数量。</li>
+<li>并行度:用于设置执行 Flink 任务的并行度。</li>
+<li>主程序参数:设置 Flink 程序的输入参数,支持自定义参数变量的替换。</li>
+<li>选项参数:支持
<code>--jar</code>、<code>--files</code>、<code>--archives</code>、<code>--conf</code>
格式。</li>
+<li>资源:如果其他参数中引用了资源文件,需要在资源中选择指定。</li>
+<li>自定义参数:是 Flink 局部的用户自定义参数,会替换脚本中以 ${变量} 的内容</li>
+<li>前置任务:选择当前任务的前置任务,会将被选择的前置任务设置为当前任务的上游。</li>
</ul>
-<p>注意:JAVA和Scala只是用来标识,没有区别,如果是Python开发的Flink则没有主函数的class,其他都是一样</p>
+<h2>任务样例</h2>
+<h3>执行 WordCount 程序</h3>
+<p>本案例为大数据生态中常见的入门案例,常应用于 MapReduce、Flink、Spark
等计算框架。主要为统计输入的文本中,相同的单词的数量有多少。(Flink 的 Releases 附带了此示例作业)</p>
+<h4>上传主程序包</h4>
+<p>在使用 Flink 任务节点时,需要利用资源中心上传执行程序的 jar 包,可参考<a
href="../resource.md">资源中心</a>。</p>
+<p>当配置完成资源中心之后,直接使用拖拽的方式,即可上传所需目标文件。</p>
+<p><img src="/img/tasks/demo/upload_flink.png" alt="resource_upload"></p>
+<h4>配置 Flink 节点</h4>
+<p>根据上述参数说明,配置所需的内容即可。</p>
+<p><img src="/img/tasks/demo/flink_task.png" alt="demo-flink-simple"></p>
+<h2>注意事项:</h2>
+<p>Java 和 Scala 只是用来标识,没有区别,如果是 Python 开发的 Flink 则没有主函数的 class,其余的都一样。</p>
</div></section><footer class="footer-container"><div
class="footer-body"><div><h3>联系我们</h3><h4>有问题需要反馈?请通过以下方式联系我们。</h4></div><div
class="contact-container"><ul><li><a
href="/zh-cn/community/development/subscribe.html"><img class="img-base"
src="/img/emailgray.png"/><img class="img-change"
src="/img/emailblue.png"/><p>邮件列表</p></a></li><li><a
href="https://twitter.com/dolphinschedule"><img class="img-base"
src="/img/twittergray.png"/><img class="img-change"
src="/img/twitterblue.png"/><p [...]
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-with-addons.min.js"></script>
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
diff --git a/zh-cn/docs/dev/user_doc/guide/task/flink.json
b/zh-cn/docs/dev/user_doc/guide/task/flink.json
index 7bc694f..9dff256 100644
--- a/zh-cn/docs/dev/user_doc/guide/task/flink.json
+++ b/zh-cn/docs/dev/user_doc/guide/task/flink.json
@@ -1,6 +1,6 @@
{
"filename": "flink.md",
- "__html": "<h1>Flink节点</h1>\n<ul>\n<li>拖动工具栏中的<img src=\"/img/flink.png\"
width=\"35\"/>任务节点到画板中,如下图所示:</li>\n</ul>\n<p align=\"center\">\n <img
src=\"/img/flink_edit.png\" width=\"80%\"
/>\n</p>\n<ul>\n<li>程序类型:支持JAVA、Scala和Python三种语言</li>\n<li>主函数的class:是Flink程序的入口Main
Class的全路径</li>\n<li>主jar包:是Flink的jar包</li>\n<li>部署方式:支持cluster、local三种模式</li>\n<li>slot数量:可以设置slot数</li>\n<li>taskManage数量:可以设置taskManage数</li>\n<li>jobManager内存数:可以设置jobManager内存数</li>\n<li>taskManager内存数:可以设置taskMan
[...]
+ "__html": "<h1>Flink节点</h1>\n<h2>综述</h2>\n<p>Flink 任务类型,用于执行 Flink 程序。对于
Flink 节点,worker 会通过使用 flink 命令 <code>flink run</code> 的方式提交任务。更多详情查看 <a
href=\"https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/\">flink
cli</a>。</p>\n<h2>创建任务</h2>\n<ul>\n<li>点击项目管理-项目名称-工作流定义,点击“创建工作流”按钮,进入 DAG
编辑页面;</li>\n<li>拖动工具栏的 <img src=\"/img/tasks/icons/flink.png\" width=\"15\"/>
任务节点到画板中。</li>\n</ul>\n<h2>任务参数</h2>\n<ul>\n<li>节点名称:设置任务的名称。一个工作流定义中的节点名称是唯一的。</li>\n<li>运行标志:标
[...]
"link": "/dist/zh-cn/docs/dev/user_doc/guide/task/flink.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/latest/user_doc/guide/task/flink.html
b/zh-cn/docs/latest/user_doc/guide/task/flink.html
index 4192d8b..ff8e7dc 100644
--- a/zh-cn/docs/latest/user_doc/guide/task/flink.html
+++ b/zh-cn/docs/latest/user_doc/guide/task/flink.html
@@ -11,27 +11,54 @@
</head>
<body>
<div id="root"><div class="md2html docs-page" data-reactroot=""><header
class="header-container header-container-dark"><div class="header-body"><span
class="mobile-menu-btn mobile-menu-btn-dark"></span><a
href="/zh-cn/index.html"><img class="logo" src="/img/hlogo_white.svg"/></a><div
class="search search-dark"><span class="icon-search"></span></div><span
class="language-switch language-switch-dark">En</span><div
class="header-menu"><div><ul class="ant-menu whiteClass ant-menu-light ant [...]
+<h2>综述</h2>
+<p>Flink 任务类型,用于执行 Flink 程序。对于 Flink 节点,worker 会通过使用 flink 命令 <code>flink
run</code> 的方式提交任务。更多详情查看 <a
href="https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/">flink
cli</a>。</p>
+<h2>创建任务</h2>
<ul>
-<li>拖动工具栏中的<img src="/img/flink.png" width="35"/>任务节点到画板中,如下图所示:</li>
+<li>点击项目管理-项目名称-工作流定义,点击“创建工作流”按钮,进入 DAG 编辑页面;</li>
+<li>拖动工具栏的 <img src="/img/tasks/icons/flink.png" width="15"/> 任务节点到画板中。</li>
</ul>
-<p align="center">
- <img src="/img/flink_edit.png" width="80%" />
-</p>
+<h2>任务参数</h2>
<ul>
-<li>程序类型:支持JAVA、Scala和Python三种语言</li>
-<li>主函数的class:是Flink程序的入口Main Class的全路径</li>
-<li>主jar包:是Flink的jar包</li>
-<li>部署方式:支持cluster、local三种模式</li>
-<li>slot数量:可以设置slot数</li>
-<li>taskManage数量:可以设置taskManage数</li>
-<li>jobManager内存数:可以设置jobManager内存数</li>
-<li>taskManager内存数:可以设置taskManager内存数</li>
-<li>命令行参数:是设置Flink程序的输入参数,支持自定义参数变量的替换。</li>
-<li>其他参数:支持 --jars、--files、--archives、--conf格式</li>
-<li>资源:如果其他参数中引用了资源文件,需要在资源中选择指定</li>
-<li>自定义参数:是Flink局部的用户自定义参数,会替换脚本中以${变量}的内容</li>
+<li>节点名称:设置任务的名称。一个工作流定义中的节点名称是唯一的。</li>
+<li>运行标志:标识这个节点是否能正常调度,如果不需要执行,可以打开禁止执行开关。</li>
+<li>描述:描述该节点的功能。</li>
+<li>任务优先级:worker 线程数不足时,根据优先级从高到低依次执行,优先级一样时根据先进先出原则执行。</li>
+<li>Worker 分组:任务分配给 worker 组的机器执行,选择 Default,会随机选择一台 worker 机执行。</li>
+<li>环境名称:配置运行脚本的环境。</li>
+<li>失败重试次数:任务失败重新提交的次数。</li>
+<li>失败重试间隔:任务失败重新提交任务的时间间隔,以分为单位。</li>
+<li>延迟执行时间:任务延迟执行的时间,以分为单位。</li>
+<li>超时告警:勾选超时告警、超时失败,当任务超过"超时时长"后,会发送告警邮件并且任务执行失败。</li>
+<li>程序类型:支持 Java、Scala 和 Python 三种语言。</li>
+<li>主函数的 Class:Flink 程序的入口 Main Class 的<strong>全路径</strong>。</li>
+<li>主程序包:执行 Flink 程序的 jar 包(通过资源中心上传)。</li>
+<li>部署方式:支持 cluster 和 local 两种模式的部署。</li>
+<li>Flink 版本:根据所需环境选择对应的版本即可。</li>
+<li>任务名称(选填):Flink 程序的名称。</li>
+<li>jobManager 内存数:用于设置 jobManager 内存数,可根据实际生产环境设置对应的内存数。</li>
+<li>Slot 数量:用于设置 Slot 的数量,可根据实际生产环境设置对应的数量。</li>
+<li>taskManager 内存数:用于设置 taskManager 内存数,可根据实际生产环境设置对应的内存数。</li>
+<li>taskManager 数量:用于设置 taskManager 的数量,可根据实际生产环境设置对应的数量。</li>
+<li>并行度:用于设置执行 Flink 任务的并行度。</li>
+<li>主程序参数:设置 Flink 程序的输入参数,支持自定义参数变量的替换。</li>
+<li>选项参数:支持
<code>--jar</code>、<code>--files</code>、<code>--archives</code>、<code>--conf</code>
格式。</li>
+<li>资源:如果其他参数中引用了资源文件,需要在资源中选择指定。</li>
+<li>自定义参数:是 Flink 局部的用户自定义参数,会替换脚本中以 ${变量} 的内容</li>
+<li>前置任务:选择当前任务的前置任务,会将被选择的前置任务设置为当前任务的上游。</li>
</ul>
-<p>注意:JAVA和Scala只是用来标识,没有区别,如果是Python开发的Flink则没有主函数的class,其他都是一样</p>
+<h2>任务样例</h2>
+<h3>执行 WordCount 程序</h3>
+<p>本案例为大数据生态中常见的入门案例,常应用于 MapReduce、Flink、Spark
等计算框架。主要为统计输入的文本中,相同的单词的数量有多少。(Flink 的 Releases 附带了此示例作业)</p>
+<h4>上传主程序包</h4>
+<p>在使用 Flink 任务节点时,需要利用资源中心上传执行程序的 jar 包,可参考<a
href="../resource.md">资源中心</a>。</p>
+<p>当配置完成资源中心之后,直接使用拖拽的方式,即可上传所需目标文件。</p>
+<p><img src="/img/tasks/demo/upload_flink.png" alt="resource_upload"></p>
+<h4>配置 Flink 节点</h4>
+<p>根据上述参数说明,配置所需的内容即可。</p>
+<p><img src="/img/tasks/demo/flink_task.png" alt="demo-flink-simple"></p>
+<h2>注意事项:</h2>
+<p>Java 和 Scala 只是用来标识,没有区别,如果是 Python 开发的 Flink 则没有主函数的 class,其余的都一样。</p>
</div></section><footer class="footer-container"><div
class="footer-body"><div><h3>联系我们</h3><h4>有问题需要反馈?请通过以下方式联系我们。</h4></div><div
class="contact-container"><ul><li><a
href="/zh-cn/community/development/subscribe.html"><img class="img-base"
src="/img/emailgray.png"/><img class="img-change"
src="/img/emailblue.png"/><p>邮件列表</p></a></li><li><a
href="https://twitter.com/dolphinschedule"><img class="img-base"
src="/img/twittergray.png"/><img class="img-change"
src="/img/twitterblue.png"/><p [...]
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-with-addons.min.js"></script>
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
diff --git a/zh-cn/docs/latest/user_doc/guide/task/flink.json
b/zh-cn/docs/latest/user_doc/guide/task/flink.json
index 3fa6ecd..634a0ec 100644
--- a/zh-cn/docs/latest/user_doc/guide/task/flink.json
+++ b/zh-cn/docs/latest/user_doc/guide/task/flink.json
@@ -1,6 +1,6 @@
{
"filename": "flink.md",
- "__html": "<h1>Flink节点</h1>\n<ul>\n<li>拖动工具栏中的<img src=\"/img/flink.png\"
width=\"35\"/>任务节点到画板中,如下图所示:</li>\n</ul>\n<p align=\"center\">\n <img
src=\"/img/flink_edit.png\" width=\"80%\"
/>\n</p>\n<ul>\n<li>程序类型:支持JAVA、Scala和Python三种语言</li>\n<li>主函数的class:是Flink程序的入口Main
Class的全路径</li>\n<li>主jar包:是Flink的jar包</li>\n<li>部署方式:支持cluster、local三种模式</li>\n<li>slot数量:可以设置slot数</li>\n<li>taskManage数量:可以设置taskManage数</li>\n<li>jobManager内存数:可以设置jobManager内存数</li>\n<li>taskManager内存数:可以设置taskMan
[...]
+ "__html": "<h1>Flink节点</h1>\n<h2>综述</h2>\n<p>Flink 任务类型,用于执行 Flink 程序。对于
Flink 节点,worker 会通过使用 flink 命令 <code>flink run</code> 的方式提交任务。更多详情查看 <a
href=\"https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/\">flink
cli</a>。</p>\n<h2>创建任务</h2>\n<ul>\n<li>点击项目管理-项目名称-工作流定义,点击“创建工作流”按钮,进入 DAG
编辑页面;</li>\n<li>拖动工具栏的 <img src=\"/img/tasks/icons/flink.png\" width=\"15\"/>
任务节点到画板中。</li>\n</ul>\n<h2>任务参数</h2>\n<ul>\n<li>节点名称:设置任务的名称。一个工作流定义中的节点名称是唯一的。</li>\n<li>运行标志:标
[...]
"link": "/dist/zh-cn/docs/2.0.3/user_doc/guide/task/flink.html",
"meta": {}
}
\ No newline at end of file