zhongjiajie commented on a change in pull request #732:
URL:
https://github.com/apache/dolphinscheduler-website/pull/732#discussion_r824341476
##########
File path: docs/en-us/dev/user_doc/guide/task/conditions.md
##########
@@ -17,20 +17,20 @@ Drag in the toolbar<img src="/img/conditions.png"
width="20"/>The task node to t
## Parameter
- Node name: The node name in a workflow definition is unique.
-- Run flag: Identifies whether this node can be scheduled normally, if it does
not need to be executed, you can turn on the prohibition switch.
-- Descriptive information: describe the function of the node.
-- Task priority: 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.
-- Worker grouping: 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.
-- Number of failed retry attempts: The number of times the task failed to be
resubmitted. It supports drop-down and hand-filling.
-- Failed retry interval: The time interval for resubmitting the task after a
failed task. It supports drop-down and hand-filling.
-- Timeout alarm: 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.
-- Downstream tasks: Supports two branches for now, success and failure
- - Success: When the Conditions task runs successfully, run this downstream
task
- - Failure: When the Conditions task runs fails, run this downstream task
-- Upstream condition selection: one or more upstream tasks can be selected for
conditions
- - Add the upstream dependency: Use the first parameter to choose task name,
and the second parameter for status of the upsteam task.
- - Upstream task relationship: we use `and` and `or` operators to handle
complex relationship of upstream when multiple upstream tasks for Conditions
task
+- Run flag: Identifies whether this node schedules normally, if it does not
need to execute, select the `prohibition execution`.
+- Descriptive information: Describe the function of the node.
+- Task priority: When the number of worker threads is insufficient, execute in
the order of priority from high to low, and tasks with the same priority will
execute in a first-in first-out order.
+- Worker grouping: Assign tasks to the machines of the worker group to
execute. If `Default` is selected, randomly select a worker machine for
execution.
+- Times of failed retry attempts: The number of times the task failed to
resubmit. You can select from drop-down or fill-in a number.
+- Failed retry interval: The time interval for resubmitting the task after a
failed task. You can select from drop-down or fill-in a number.
+- Timeout alarm: Check the timeout alarm and timeout failure. When the task
runs exceed the "timeout", an alarm email will send and the task execution will
fail.
+- Downstream tasks selection: supports two branches: success and failure
Review comment:
I found we use two `:` in one line, it is ok or a mistake?
##########
File path: docs/en-us/dev/user_doc/guide/task/map-reduce.md
##########
@@ -1,73 +1,73 @@
-# MapReduce
+# MapReduce Node
## Overview
-- MapReduce(MR) task type for executing MapReduce programs. For MapReduce
nodes, the worker submits the task by using the Hadoop command `hadoop jar`.
See [Hadoop Command
Manual](https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/CommandsManual.html#jar)
for more details.
+MapReduce(MR) task type used for executing MapReduce programs. For MapReduce
nodes, the worker submits the task by using the Hadoop command `hadoop jar`.
See [Hadoop Command
Manual](https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/CommandsManual.html#jar)
for more details.
## Create Task
- Click Project Management-Project Name-Workflow Definition, and click the
"Create Workflow" button to enter the DAG editing page.
-- Drag the <img src="/img/tasks/icons/mr.png" width="15"/> from the toolbar to
the drawing board.
+- Drag from the toolbar <img src="/img/tasks/icons/mr.png" width="15"/> to the
canvas.
## Task Parameter
-- **Node name**: The node name in a workflow definition is unique.
-- **Run flag**: Identifies whether this node can be scheduled normally, if it
does not need to be executed, you can turn on the prohibition switch.
-- **Descriptive information**: describe the function of the node.
-- **Task priority**: 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.
-- **Worker grouping**: 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.
-- **Environment Name**: Configure the environment name in which to run the
script.
-- **Number of failed retry attempts**: The number of times the task failed to
be resubmitted.
-- **Failed retry interval**: The time, in cents, interval for resubmitting the
task after a failed task.
-- **Delayed execution time**: the time, in cents, that a task is delayed in
execution.
-- **Timeout alarm**: 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.
-- **Resource**: 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.
-- **Custom parameters**: It is a user-defined parameter that is part of
MapReduce, which will replace the content with ${variable} in the script.
-- **Predecessor task**: Selecting a predecessor task for the current task will
set the selected predecessor task as upstream of the current task.
-
-### JAVA/SCALA Program
-
-- **Program type**: select JAVA/SCALA program.
-- **The class of the main function**: is the full path of the Main Class, the
entry point of the MapReduce program.
-- **Main jar package**: is the MapReduce jar package.
+- **Node name**: The node name in a workflow definition is unique.
+- **Run flag**: Identifies whether this node schedules normally, if it does
not need to execute, select the `prohibition execution`.
+- **Descriptive information**: Describe the function of the node.
+- **Task priority**: When the number of worker threads is insufficient,
execute in the order of priority from high to low, and tasks with the same
priority will execute in a first-in first-out order.
+- **Worker grouping**: Assign tasks to the machines of the worker group to
execute. If `Default` is selected, randomly select a worker machine for
execution.
+- **Environment Name**: Configure the environment name in which run the
script.
+- **Times of failed retry attempts**: The number of times the task failed
to resubmit.
+- **Failed retry interval**: The time interval (unit minute) for
resubmitting the task after a failed task.
+- **Delayed execution time**: The time (unit minute) that a task delays in
execution.
+- **Timeout alarm**: Check the timeout alarm and timeout failure. When the
task runs exceed the "timeout", an alarm email will send and the task execution
will fail.
Review comment:
Should we remove the unnessary space here?
```suggestion
- **Timeout alarm**: Check the timeout alarm and timeout failure. When the
task runs exceed the "timeout", an alarm email will send and the task execution
will fail.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]