EricGao888 commented on code in PR #13607: URL: https://github.com/apache/dolphinscheduler/pull/13607#discussion_r1119511001
########## docs/docs/en/guide/start/quick-start.md: ########## @@ -1,61 +1,118 @@ # Quick Start -This is a Quick Start guide to help you get a basic idea of working with Apache DolphinScheduler. Once you've gone through the tutorial video, we encourage you to find out more about Apache DolphinScheduler functions and examples in . +In this section, we will use DolphinScheduler to create and run a simple workflow step by step. During this journey, +you will learn the basic concepts of DolphinScheduler and know the most basic configuration to run the workflow. We +provide both video and text in this tutorial, you can choose the way you prefer + +## Video Tutorial <figure class="video_container"> <iframe src="https://www.youtube.com/embed/nrF20hpCkug" frameborder="0" allowfullscreen="true"></iframe> </figure> -## Administrator User Login +## Text Tutorial + +### Setup Dolphinscheduler + +You have to install and start dolphinscheduler first before go ahead. For the beginner, we recommend setup up Review Comment: ```suggestion You have to install and start dolphinscheduler first before go ahead. For beginners, we recommend setting up ``` ########## docs/docs/en/guide/start/quick-start.md: ########## @@ -1,61 +1,118 @@ # Quick Start -This is a Quick Start guide to help you get a basic idea of working with Apache DolphinScheduler. Once you've gone through the tutorial video, we encourage you to find out more about Apache DolphinScheduler functions and examples in . +In this section, we will use DolphinScheduler to create and run a simple workflow step by step. During this journey, +you will learn the basic concepts of DolphinScheduler and know the most basic configuration to run the workflow. We +provide both video and text in this tutorial, you can choose the way you prefer + +## Video Tutorial <figure class="video_container"> <iframe src="https://www.youtube.com/embed/nrF20hpCkug" frameborder="0" allowfullscreen="true"></iframe> </figure> -## Administrator User Login +## Text Tutorial + +### Setup Dolphinscheduler + +You have to install and start dolphinscheduler first before go ahead. For the beginner, we recommend setup up +dolphionscheduler with the official Docker image or starting the standalone server. Review Comment: ```suggestion DolphinScheduler with the official Docker image or with the standalone server. ``` ########## docs/docs/en/guide/start/quick-start.md: ########## @@ -1,61 +1,118 @@ # Quick Start -This is a Quick Start guide to help you get a basic idea of working with Apache DolphinScheduler. Once you've gone through the tutorial video, we encourage you to find out more about Apache DolphinScheduler functions and examples in . +In this section, we will use DolphinScheduler to create and run a simple workflow step by step. During this journey, +you will learn the basic concepts of DolphinScheduler and know the most basic configuration to run the workflow. We +provide both video and text in this tutorial, you can choose the way you prefer + +## Video Tutorial <figure class="video_container"> <iframe src="https://www.youtube.com/embed/nrF20hpCkug" frameborder="0" allowfullscreen="true"></iframe> </figure> -## Administrator User Login +## Text Tutorial + +### Setup Dolphinscheduler + +You have to install and start dolphinscheduler first before go ahead. For the beginner, we recommend setup up +dolphionscheduler with the official Docker image or starting the standalone server. + +* [standalone server](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/installation/standalone) +* [docker](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/start/docker) + +### Build Your First Workflow + +You can log in dolphinscheduler with http://localhost:12345/dolphinscheduler/ui the default username/password Review Comment: ```suggestion You can log in DolphinScheduler through http://localhost:12345/dolphinscheduler/ui and the default username/password ``` ########## docs/docs/en/guide/start/quick-start.md: ########## @@ -1,61 +1,118 @@ # Quick Start -This is a Quick Start guide to help you get a basic idea of working with Apache DolphinScheduler. Once you've gone through the tutorial video, we encourage you to find out more about Apache DolphinScheduler functions and examples in . +In this section, we will use DolphinScheduler to create and run a simple workflow step by step. During this journey, +you will learn the basic concepts of DolphinScheduler and know the most basic configuration to run the workflow. We +provide both video and text in this tutorial, you can choose the way you prefer + +## Video Tutorial <figure class="video_container"> <iframe src="https://www.youtube.com/embed/nrF20hpCkug" frameborder="0" allowfullscreen="true"></iframe> </figure> -## Administrator User Login +## Text Tutorial + +### Setup Dolphinscheduler + +You have to install and start dolphinscheduler first before go ahead. For the beginner, we recommend setup up +dolphionscheduler with the official Docker image or starting the standalone server. + +* [standalone server](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/installation/standalone) +* [docker](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/start/docker) + +### Build Your First Workflow + +You can log in dolphinscheduler with http://localhost:12345/dolphinscheduler/ui the default username/password +is `admin/dolphinscheduler123`. + + + +#### Create Tenant + +Tenant is a concept that cannot be bypassed while using DolphinScheduler, so Review Comment: ```suggestion Tenant is an important concept while using DolphinScheduler, so ``` ########## docs/docs/en/guide/start/quick-start.md: ########## @@ -1,61 +1,118 @@ # Quick Start -This is a Quick Start guide to help you get a basic idea of working with Apache DolphinScheduler. Once you've gone through the tutorial video, we encourage you to find out more about Apache DolphinScheduler functions and examples in . +In this section, we will use DolphinScheduler to create and run a simple workflow step by step. During this journey, +you will learn the basic concepts of DolphinScheduler and know the most basic configuration to run the workflow. We +provide both video and text in this tutorial, you can choose the way you prefer + +## Video Tutorial <figure class="video_container"> <iframe src="https://www.youtube.com/embed/nrF20hpCkug" frameborder="0" allowfullscreen="true"></iframe> </figure> -## Administrator User Login +## Text Tutorial + +### Setup Dolphinscheduler + +You have to install and start dolphinscheduler first before go ahead. For the beginner, we recommend setup up +dolphionscheduler with the official Docker image or starting the standalone server. + +* [standalone server](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/installation/standalone) +* [docker](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/start/docker) + +### Build Your First Workflow + +You can log in dolphinscheduler with http://localhost:12345/dolphinscheduler/ui the default username/password +is `admin/dolphinscheduler123`. + + + +#### Create Tenant + +Tenant is a concept that cannot be bypassed while using DolphinScheduler, so +let's briefly introduce the concept of tenant first. + +The account named `admin` logged into DolphinScheduler is called user in dolphinscheduler. Review Comment: DolphinScheduler maps the `admin` account you use to log into DolphinScheduler to `user`. ########## docs/docs/en/guide/start/quick-start.md: ########## @@ -1,61 +1,118 @@ # Quick Start -This is a Quick Start guide to help you get a basic idea of working with Apache DolphinScheduler. Once you've gone through the tutorial video, we encourage you to find out more about Apache DolphinScheduler functions and examples in . +In this section, we will use DolphinScheduler to create and run a simple workflow step by step. During this journey, +you will learn the basic concepts of DolphinScheduler and know the most basic configuration to run the workflow. We +provide both video and text in this tutorial, you can choose the way you prefer + +## Video Tutorial <figure class="video_container"> <iframe src="https://www.youtube.com/embed/nrF20hpCkug" frameborder="0" allowfullscreen="true"></iframe> </figure> -## Administrator User Login +## Text Tutorial + +### Setup Dolphinscheduler + +You have to install and start dolphinscheduler first before go ahead. For the beginner, we recommend setup up +dolphionscheduler with the official Docker image or starting the standalone server. + +* [standalone server](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/installation/standalone) +* [docker](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/start/docker) + +### Build Your First Workflow + +You can log in dolphinscheduler with http://localhost:12345/dolphinscheduler/ui the default username/password +is `admin/dolphinscheduler123`. + + + +#### Create Tenant + +Tenant is a concept that cannot be bypassed while using DolphinScheduler, so +let's briefly introduce the concept of tenant first. + +The account named `admin` logged into DolphinScheduler is called user in dolphinscheduler. +To better control system resources, DolphinScheduler introduce the concept of Review Comment: ```suggestion To better control system resources, DolphinScheduler introduces the concept of ``` ########## docs/docs/en/guide/start/quick-start.md: ########## @@ -1,61 +1,118 @@ # Quick Start -This is a Quick Start guide to help you get a basic idea of working with Apache DolphinScheduler. Once you've gone through the tutorial video, we encourage you to find out more about Apache DolphinScheduler functions and examples in . +In this section, we will use DolphinScheduler to create and run a simple workflow step by step. During this journey, +you will learn the basic concepts of DolphinScheduler and know the most basic configuration to run the workflow. We +provide both video and text in this tutorial, you can choose the way you prefer + +## Video Tutorial <figure class="video_container"> <iframe src="https://www.youtube.com/embed/nrF20hpCkug" frameborder="0" allowfullscreen="true"></iframe> </figure> -## Administrator User Login +## Text Tutorial + +### Setup Dolphinscheduler + +You have to install and start dolphinscheduler first before go ahead. For the beginner, we recommend setup up +dolphionscheduler with the official Docker image or starting the standalone server. + +* [standalone server](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/installation/standalone) +* [docker](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/start/docker) + +### Build Your First Workflow + +You can log in dolphinscheduler with http://localhost:12345/dolphinscheduler/ui the default username/password +is `admin/dolphinscheduler123`. + + + +#### Create Tenant + +Tenant is a concept that cannot be bypassed while using DolphinScheduler, so +let's briefly introduce the concept of tenant first. + +The account named `admin` logged into DolphinScheduler is called user in dolphinscheduler. +To better control system resources, DolphinScheduler introduce the concept of +tenants, which are used to execute tasks. + +The brief is as follows: + +* User: login web UI, do all operations in the web UI, including workflow management and tenant creation. +* Tenant: the actual executor of the task, A Linux user for DolphinScheduler worker. + +We can create a tenant in DolphinScheduler `Security -> Tenant Manage` page. + + + +#### Assign Tenant to User -* Address: http://localhost:12345/dolphinscheduler -* Username and password: admin/dolphinscheduler123 +As we talked about above in Create Tenant, the user can only run the task unless the user is assigned to a tenant. Review Comment: ```suggestion As we have shown above in `Create Tenant` section, the`user` can not run tasks until we assign it with a `tenant`. ``` ########## docs/docs/en/guide/start/quick-start.md: ########## @@ -1,61 +1,118 @@ # Quick Start -This is a Quick Start guide to help you get a basic idea of working with Apache DolphinScheduler. Once you've gone through the tutorial video, we encourage you to find out more about Apache DolphinScheduler functions and examples in . +In this section, we will use DolphinScheduler to create and run a simple workflow step by step. During this journey, +you will learn the basic concepts of DolphinScheduler and know the most basic configuration to run the workflow. We +provide both video and text in this tutorial, you can choose the way you prefer + +## Video Tutorial <figure class="video_container"> <iframe src="https://www.youtube.com/embed/nrF20hpCkug" frameborder="0" allowfullscreen="true"></iframe> </figure> -## Administrator User Login +## Text Tutorial + +### Setup Dolphinscheduler + +You have to install and start dolphinscheduler first before go ahead. For the beginner, we recommend setup up +dolphionscheduler with the official Docker image or starting the standalone server. + +* [standalone server](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/installation/standalone) +* [docker](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/start/docker) + +### Build Your First Workflow + +You can log in dolphinscheduler with http://localhost:12345/dolphinscheduler/ui the default username/password +is `admin/dolphinscheduler123`. + + + +#### Create Tenant + +Tenant is a concept that cannot be bypassed while using DolphinScheduler, so +let's briefly introduce the concept of tenant first. + +The account named `admin` logged into DolphinScheduler is called user in dolphinscheduler. +To better control system resources, DolphinScheduler introduce the concept of +tenants, which are used to execute tasks. + +The brief is as follows: + +* User: login web UI, do all operations in the web UI, including workflow management and tenant creation. +* Tenant: the actual executor of the task, A Linux user for DolphinScheduler worker. + +We can create a tenant in DolphinScheduler `Security -> Tenant Manage` page. + + + +#### Assign Tenant to User -* Address: http://localhost:12345/dolphinscheduler -* Username and password: admin/dolphinscheduler123 +As we talked about above in Create Tenant, the user can only run the task unless the user is assigned to a tenant. - +We can assign a tenant to a specific user in DolphinScheduler `Security -> User Manage` page. -## Create a queue + - +After we create a tenant and assign it to a user, we can start creating a +simple workflow in DolphinScheduler. -## Create a tenant +#### Create Project - +But in DolphinScheduler, all workflow must belong to a project, so we need +to create a project first. -## Create Ordinary Users +We can create a project in DolphinScheduler `Project` page by clicking +`Create Project` button. - + -## Create an alarm instance +#### Create Workflow - +Now we can create a workflow for the project `tutorial`. Click the project we just created, +go to `Workflow Definition` page, click `Create Workflow` button, and we will redirect +to the workflow detail page. -## Create an alarm group + - +#### Create Tasks -## Create a worker group +We can use the mouse to drag the task you want to create from the toolbar in the workflow canvas. +In this case, we create a `Shell` task. Entering the necessary information for the task, +we just fill the attribute `Node Name` with `Script` to the task for this simple workflow. +After that, we can click the `Save` button save the task into the workflow. We create another task Review Comment: ```suggestion After that, we can click the `Save` button to save the task into the workflow. We create another task ``` ########## docs/docs/en/guide/start/quick-start.md: ########## @@ -1,61 +1,118 @@ # Quick Start -This is a Quick Start guide to help you get a basic idea of working with Apache DolphinScheduler. Once you've gone through the tutorial video, we encourage you to find out more about Apache DolphinScheduler functions and examples in . +In this section, we will use DolphinScheduler to create and run a simple workflow step by step. During this journey, +you will learn the basic concepts of DolphinScheduler and know the most basic configuration to run the workflow. We +provide both video and text in this tutorial, you can choose the way you prefer + +## Video Tutorial <figure class="video_container"> <iframe src="https://www.youtube.com/embed/nrF20hpCkug" frameborder="0" allowfullscreen="true"></iframe> </figure> -## Administrator User Login +## Text Tutorial + +### Setup Dolphinscheduler + +You have to install and start dolphinscheduler first before go ahead. For the beginner, we recommend setup up +dolphionscheduler with the official Docker image or starting the standalone server. + +* [standalone server](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/installation/standalone) +* [docker](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/start/docker) + +### Build Your First Workflow + +You can log in dolphinscheduler with http://localhost:12345/dolphinscheduler/ui the default username/password +is `admin/dolphinscheduler123`. + + + +#### Create Tenant + +Tenant is a concept that cannot be bypassed while using DolphinScheduler, so +let's briefly introduce the concept of tenant first. + +The account named `admin` logged into DolphinScheduler is called user in dolphinscheduler. +To better control system resources, DolphinScheduler introduce the concept of +tenants, which are used to execute tasks. + +The brief is as follows: + +* User: login web UI, do all operations in the web UI, including workflow management and tenant creation. +* Tenant: the actual executor of the task, A Linux user for DolphinScheduler worker. + +We can create a tenant in DolphinScheduler `Security -> Tenant Manage` page. + + + +#### Assign Tenant to User -* Address: http://localhost:12345/dolphinscheduler -* Username and password: admin/dolphinscheduler123 +As we talked about above in Create Tenant, the user can only run the task unless the user is assigned to a tenant. - +We can assign a tenant to a specific user in DolphinScheduler `Security -> User Manage` page. -## Create a queue + - +After we create a tenant and assign it to a user, we can start creating a +simple workflow in DolphinScheduler. -## Create a tenant +#### Create Project - +But in DolphinScheduler, all workflow must belong to a project, so we need +to create a project first. -## Create Ordinary Users +We can create a project in DolphinScheduler `Project` page by clicking +`Create Project` button. - + -## Create an alarm instance +#### Create Workflow - +Now we can create a workflow for the project `tutorial`. Click the project we just created, +go to `Workflow Definition` page, click `Create Workflow` button, and we will redirect +to the workflow detail page. -## Create an alarm group + - +#### Create Tasks -## Create a worker group +We can use the mouse to drag the task you want to create from the toolbar in the workflow canvas. +In this case, we create a `Shell` task. Entering the necessary information for the task, +we just fill the attribute `Node Name` with `Script` to the task for this simple workflow. +After that, we can click the `Save` button save the task into the workflow. We create another task +using the same way. - + -## Create environment +#### Set Task Dependency - +So we have two different tasks with different names and commands to run in the workflow. The +only thing missing from the current workflow is task dependency. We can add dependency using +the mouse to drag the arrow from the upstream task to the downstream and then release the mouse. +And you can see the link with the arrow between the two tasks is created, from the upstream +task to the downstream one. Finally, we can click the `Save` button from the top right corner +to save the workflow, do not forget to fill name of the workflow. Review Comment: ```suggestion to save the workflow, do not forget to enter the name of the workflow. ``` ########## docs/docs/en/guide/start/quick-start.md: ########## @@ -1,61 +1,118 @@ # Quick Start -This is a Quick Start guide to help you get a basic idea of working with Apache DolphinScheduler. Once you've gone through the tutorial video, we encourage you to find out more about Apache DolphinScheduler functions and examples in . +In this section, we will use DolphinScheduler to create and run a simple workflow step by step. During this journey, +you will learn the basic concepts of DolphinScheduler and know the most basic configuration to run the workflow. We +provide both video and text in this tutorial, you can choose the way you prefer + +## Video Tutorial <figure class="video_container"> <iframe src="https://www.youtube.com/embed/nrF20hpCkug" frameborder="0" allowfullscreen="true"></iframe> </figure> -## Administrator User Login +## Text Tutorial + +### Setup Dolphinscheduler + +You have to install and start dolphinscheduler first before go ahead. For the beginner, we recommend setup up +dolphionscheduler with the official Docker image or starting the standalone server. + +* [standalone server](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/installation/standalone) +* [docker](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/start/docker) + +### Build Your First Workflow + +You can log in dolphinscheduler with http://localhost:12345/dolphinscheduler/ui the default username/password +is `admin/dolphinscheduler123`. + + + +#### Create Tenant + +Tenant is a concept that cannot be bypassed while using DolphinScheduler, so +let's briefly introduce the concept of tenant first. + +The account named `admin` logged into DolphinScheduler is called user in dolphinscheduler. +To better control system resources, DolphinScheduler introduce the concept of +tenants, which are used to execute tasks. + +The brief is as follows: + +* User: login web UI, do all operations in the web UI, including workflow management and tenant creation. +* Tenant: the actual executor of the task, A Linux user for DolphinScheduler worker. + +We can create a tenant in DolphinScheduler `Security -> Tenant Manage` page. + + + +#### Assign Tenant to User -* Address: http://localhost:12345/dolphinscheduler -* Username and password: admin/dolphinscheduler123 +As we talked about above in Create Tenant, the user can only run the task unless the user is assigned to a tenant. - +We can assign a tenant to a specific user in DolphinScheduler `Security -> User Manage` page. -## Create a queue + - +After we create a tenant and assign it to a user, we can start creating a +simple workflow in DolphinScheduler. -## Create a tenant +#### Create Project - +But in DolphinScheduler, all workflow must belong to a project, so we need +to create a project first. -## Create Ordinary Users +We can create a project in DolphinScheduler `Project` page by clicking +`Create Project` button. - + -## Create an alarm instance +#### Create Workflow - +Now we can create a workflow for the project `tutorial`. Click the project we just created, +go to `Workflow Definition` page, click `Create Workflow` button, and we will redirect +to the workflow detail page. -## Create an alarm group + - +#### Create Tasks -## Create a worker group +We can use the mouse to drag the task you want to create from the toolbar in the workflow canvas. +In this case, we create a `Shell` task. Entering the necessary information for the task, +we just fill the attribute `Node Name` with `Script` to the task for this simple workflow. +After that, we can click the `Save` button save the task into the workflow. We create another task +using the same way. - + -## Create environment +#### Set Task Dependency - +So we have two different tasks with different names and commands to run in the workflow. The +only thing missing from the current workflow is task dependency. We can add dependency using +the mouse to drag the arrow from the upstream task to the downstream and then release the mouse. +And you can see the link with the arrow between the two tasks is created, from the upstream +task to the downstream one. Finally, we can click the `Save` button from the top right corner +to save the workflow, do not forget to fill name of the workflow. -## Create a token + - +#### Run Workflow -## Login with regular users +After all done, we can run the workflow by clicking the `Online` and then the `Run` button from +the workflows list. If you want to see the workflow instance, just go to `Workflow Instance` +page, you can see the workflow instance is running and the status is `Executing`. -Click on the user name in the upper right corner to "exit" and re-use the normal user login. + -* `Project Management -> Create Project -> Project Name` +#### View Log - +If you want to view the task log, please click the workflow instance from the workflow instance +list, then find the task you want to view the log, right-click the mouse and select `View Log` +from the context dialog, and you can see the detailed log of the task. -* `Click Workflow Definition -> Create Workflow Definition-> Online Workflow Definition` +You can the task print the `Hello DolphinScheduler` and `Ending...` which is the same as we Review Comment: ```suggestion You can see the task printing `Hello DolphinScheduler` and `Ending...` which is the same as we ``` ########## docs/docs/en/guide/start/quick-start.md: ########## @@ -1,61 +1,118 @@ # Quick Start -This is a Quick Start guide to help you get a basic idea of working with Apache DolphinScheduler. Once you've gone through the tutorial video, we encourage you to find out more about Apache DolphinScheduler functions and examples in . +In this section, we will use DolphinScheduler to create and run a simple workflow step by step. During this journey, +you will learn the basic concepts of DolphinScheduler and know the most basic configuration to run the workflow. We +provide both video and text in this tutorial, you can choose the way you prefer + +## Video Tutorial <figure class="video_container"> <iframe src="https://www.youtube.com/embed/nrF20hpCkug" frameborder="0" allowfullscreen="true"></iframe> </figure> -## Administrator User Login +## Text Tutorial + +### Setup Dolphinscheduler + +You have to install and start dolphinscheduler first before go ahead. For the beginner, we recommend setup up +dolphionscheduler with the official Docker image or starting the standalone server. + +* [standalone server](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/installation/standalone) +* [docker](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/start/docker) + +### Build Your First Workflow + +You can log in dolphinscheduler with http://localhost:12345/dolphinscheduler/ui the default username/password +is `admin/dolphinscheduler123`. + + + +#### Create Tenant + +Tenant is a concept that cannot be bypassed while using DolphinScheduler, so +let's briefly introduce the concept of tenant first. + +The account named `admin` logged into DolphinScheduler is called user in dolphinscheduler. +To better control system resources, DolphinScheduler introduce the concept of +tenants, which are used to execute tasks. + +The brief is as follows: + +* User: login web UI, do all operations in the web UI, including workflow management and tenant creation. +* Tenant: the actual executor of the task, A Linux user for DolphinScheduler worker. + +We can create a tenant in DolphinScheduler `Security -> Tenant Manage` page. + + + +#### Assign Tenant to User -* Address: http://localhost:12345/dolphinscheduler -* Username and password: admin/dolphinscheduler123 +As we talked about above in Create Tenant, the user can only run the task unless the user is assigned to a tenant. - +We can assign a tenant to a specific user in DolphinScheduler `Security -> User Manage` page. -## Create a queue + - +After we create a tenant and assign it to a user, we can start creating a +simple workflow in DolphinScheduler. -## Create a tenant +#### Create Project - +But in DolphinScheduler, all workflow must belong to a project, so we need +to create a project first. -## Create Ordinary Users +We can create a project in DolphinScheduler `Project` page by clicking +`Create Project` button. - + -## Create an alarm instance +#### Create Workflow - +Now we can create a workflow for the project `tutorial`. Click the project we just created, +go to `Workflow Definition` page, click `Create Workflow` button, and we will redirect +to the workflow detail page. -## Create an alarm group + - +#### Create Tasks -## Create a worker group +We can use the mouse to drag the task you want to create from the toolbar in the workflow canvas. +In this case, we create a `Shell` task. Entering the necessary information for the task, +we just fill the attribute `Node Name` with `Script` to the task for this simple workflow. +After that, we can click the `Save` button save the task into the workflow. We create another task +using the same way. - + -## Create environment +#### Set Task Dependency - +So we have two different tasks with different names and commands to run in the workflow. The +only thing missing from the current workflow is task dependency. We can add dependency using +the mouse to drag the arrow from the upstream task to the downstream and then release the mouse. +And you can see the link with the arrow between the two tasks is created, from the upstream +task to the downstream one. Finally, we can click the `Save` button from the top right corner +to save the workflow, do not forget to fill name of the workflow. -## Create a token + - +#### Run Workflow -## Login with regular users +After all done, we can run the workflow by clicking the `Online` and then the `Run` button from +the workflows list. If you want to see the workflow instance, just go to `Workflow Instance` +page, you can see the workflow instance is running and the status is `Executing`. -Click on the user name in the upper right corner to "exit" and re-use the normal user login. + -* `Project Management -> Create Project -> Project Name` +#### View Log - +If you want to view the task log, please click the workflow instance from the workflow instance +list, then find the task you want to view the log, right-click the mouse and select `View Log` +from the context dialog, and you can see the detailed log of the task. -* `Click Workflow Definition -> Create Workflow Definition-> Online Workflow Definition` +You can the task print the `Hello DolphinScheduler` and `Ending...` which is the same as we +define in create the task. - -* `Running Workflow Definition -> Click Workflow Instance -> Click Workflow Instance Name -> Double-click Task Node -> View Task Execution Log` + - +You just finished the first tutorial of DolphinScheduler, you can now run some simple workflow Review Comment: ```suggestion You just finished the first tutorial of DolphinScheduler, you can now run some simple workflows ``` ########## docs/docs/en/guide/start/quick-start.md: ########## @@ -1,61 +1,118 @@ # Quick Start -This is a Quick Start guide to help you get a basic idea of working with Apache DolphinScheduler. Once you've gone through the tutorial video, we encourage you to find out more about Apache DolphinScheduler functions and examples in . +In this section, we will use DolphinScheduler to create and run a simple workflow step by step. During this journey, +you will learn the basic concepts of DolphinScheduler and know the most basic configuration to run the workflow. We +provide both video and text in this tutorial, you can choose the way you prefer + +## Video Tutorial <figure class="video_container"> <iframe src="https://www.youtube.com/embed/nrF20hpCkug" frameborder="0" allowfullscreen="true"></iframe> </figure> -## Administrator User Login +## Text Tutorial + +### Setup Dolphinscheduler + +You have to install and start dolphinscheduler first before go ahead. For the beginner, we recommend setup up +dolphionscheduler with the official Docker image or starting the standalone server. + +* [standalone server](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/installation/standalone) +* [docker](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/start/docker) + +### Build Your First Workflow + +You can log in dolphinscheduler with http://localhost:12345/dolphinscheduler/ui the default username/password +is `admin/dolphinscheduler123`. + + + +#### Create Tenant + +Tenant is a concept that cannot be bypassed while using DolphinScheduler, so +let's briefly introduce the concept of tenant first. + +The account named `admin` logged into DolphinScheduler is called user in dolphinscheduler. +To better control system resources, DolphinScheduler introduce the concept of +tenants, which are used to execute tasks. + +The brief is as follows: + +* User: login web UI, do all operations in the web UI, including workflow management and tenant creation. +* Tenant: the actual executor of the task, A Linux user for DolphinScheduler worker. + +We can create a tenant in DolphinScheduler `Security -> Tenant Manage` page. + + + +#### Assign Tenant to User -* Address: http://localhost:12345/dolphinscheduler -* Username and password: admin/dolphinscheduler123 +As we talked about above in Create Tenant, the user can only run the task unless the user is assigned to a tenant. - +We can assign a tenant to a specific user in DolphinScheduler `Security -> User Manage` page. -## Create a queue + - +After we create a tenant and assign it to a user, we can start creating a +simple workflow in DolphinScheduler. -## Create a tenant +#### Create Project - +But in DolphinScheduler, all workflow must belong to a project, so we need Review Comment: ```suggestion But in DolphinScheduler, all workflows must belong to a project, so we need ``` ########## docs/docs/en/guide/start/quick-start.md: ########## @@ -1,61 +1,118 @@ # Quick Start -This is a Quick Start guide to help you get a basic idea of working with Apache DolphinScheduler. Once you've gone through the tutorial video, we encourage you to find out more about Apache DolphinScheduler functions and examples in . +In this section, we will use DolphinScheduler to create and run a simple workflow step by step. During this journey, +you will learn the basic concepts of DolphinScheduler and know the most basic configuration to run the workflow. We +provide both video and text in this tutorial, you can choose the way you prefer + +## Video Tutorial <figure class="video_container"> <iframe src="https://www.youtube.com/embed/nrF20hpCkug" frameborder="0" allowfullscreen="true"></iframe> </figure> -## Administrator User Login +## Text Tutorial + +### Setup Dolphinscheduler + +You have to install and start dolphinscheduler first before go ahead. For the beginner, we recommend setup up +dolphionscheduler with the official Docker image or starting the standalone server. + +* [standalone server](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/installation/standalone) +* [docker](https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/start/docker) + +### Build Your First Workflow + +You can log in dolphinscheduler with http://localhost:12345/dolphinscheduler/ui the default username/password +is `admin/dolphinscheduler123`. + + + +#### Create Tenant + +Tenant is a concept that cannot be bypassed while using DolphinScheduler, so +let's briefly introduce the concept of tenant first. + +The account named `admin` logged into DolphinScheduler is called user in dolphinscheduler. +To better control system resources, DolphinScheduler introduce the concept of +tenants, which are used to execute tasks. + +The brief is as follows: + +* User: login web UI, do all operations in the web UI, including workflow management and tenant creation. +* Tenant: the actual executor of the task, A Linux user for DolphinScheduler worker. + +We can create a tenant in DolphinScheduler `Security -> Tenant Manage` page. + + + +#### Assign Tenant to User -* Address: http://localhost:12345/dolphinscheduler -* Username and password: admin/dolphinscheduler123 +As we talked about above in Create Tenant, the user can only run the task unless the user is assigned to a tenant. - +We can assign a tenant to a specific user in DolphinScheduler `Security -> User Manage` page. -## Create a queue + - +After we create a tenant and assign it to a user, we can start creating a +simple workflow in DolphinScheduler. -## Create a tenant +#### Create Project - +But in DolphinScheduler, all workflow must belong to a project, so we need +to create a project first. -## Create Ordinary Users +We can create a project in DolphinScheduler `Project` page by clicking +`Create Project` button. - + -## Create an alarm instance +#### Create Workflow - +Now we can create a workflow for the project `tutorial`. Click the project we just created, +go to `Workflow Definition` page, click `Create Workflow` button, and we will redirect +to the workflow detail page. -## Create an alarm group + - +#### Create Tasks -## Create a worker group +We can use the mouse to drag the task you want to create from the toolbar in the workflow canvas. +In this case, we create a `Shell` task. Entering the necessary information for the task, +we just fill the attribute `Node Name` with `Script` to the task for this simple workflow. +After that, we can click the `Save` button save the task into the workflow. We create another task +using the same way. - + -## Create environment +#### Set Task Dependency - +So we have two different tasks with different names and commands to run in the workflow. The +only thing missing from the current workflow is task dependency. We can add dependency using +the mouse to drag the arrow from the upstream task to the downstream and then release the mouse. +And you can see the link with the arrow between the two tasks is created, from the upstream +task to the downstream one. Finally, we can click the `Save` button from the top right corner +to save the workflow, do not forget to fill name of the workflow. -## Create a token + - +#### Run Workflow -## Login with regular users +After all done, we can run the workflow by clicking the `Online` and then the `Run` button from +the workflows list. If you want to see the workflow instance, just go to `Workflow Instance` +page, you can see the workflow instance is running and the status is `Executing`. -Click on the user name in the upper right corner to "exit" and re-use the normal user login. + -* `Project Management -> Create Project -> Project Name` +#### View Log - +If you want to view the task log, please click the workflow instance from the workflow instance +list, then find the task you want to view the log, right-click the mouse and select `View Log` +from the context dialog, and you can see the detailed log of the task. -* `Click Workflow Definition -> Create Workflow Definition-> Online Workflow Definition` +You can the task print the `Hello DolphinScheduler` and `Ending...` which is the same as we +define in create the task. Review Comment: ```suggestion defined when creating the tasks. ``` -- 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]
