This is an automated email from the ASF dual-hosted git repository.
lidongdai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git
The following commit(s) were added to refs/heads/master by this push:
new f6ed7d5 fix ds document issuse 5688.change plugin base class correct
package name (#387)
f6ed7d5 is described below
commit f6ed7d56fe76513d40a465d5415b87bf3a6b9f6b
Author: ji04xiaogang <[email protected]>
AuthorDate: Thu Jun 24 12:00:09 2021 +0800
fix ds document issuse 5688.change plugin base class correct package name
(#387)
---
development/en-us/plugin-development.md | 12 ++++++------
development/zh-cn/plugin-development.md | 12 ++++++------
docs/en-us/1.2.1/user_doc/plugin-development.md | 12 ++++++------
docs/zh-cn/1.2.1/user_doc/plugin-development.md | 12 ++++++------
4 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/development/en-us/plugin-development.md
b/development/en-us/plugin-development.md
index eda2d82..46050a9 100644
--- a/development/en-us/plugin-development.md
+++ b/development/en-us/plugin-development.md
@@ -6,8 +6,8 @@ Remind:Currently, task plugin development does not support hot
deployment.
#### YARN-based calculations (see MapReduceTask)
-- Need to be **cn.dolphinscheduler.server.worker.task** Down **TaskManager**
Create a custom task in the class (also need to register the corresponding task
type in TaskType)
-- Need to inherit**cn.dolphinscheduler.server.worker.task** Down
**AbstractYarnTask**
+- Need to be **org.apache.dolphinscheduler.server.worker.task** Down
**TaskManager** Create a custom task in the class (also need to register the
corresponding task type in TaskType)
+- Need to inherit**org.apache.dolphinscheduler.server.worker.task** Down
**AbstractYarnTask**
- Constructor Scheduling **AbstractYarnTask** Construction method
- Inherit **AbstractParameters** Custom task parameter entity
- Rewrite **AbstractTask** of **init** Parsing in method**Custom task
parameters**
@@ -16,9 +16,9 @@ Remind:Currently, task plugin development does not support
hot deployment.
#### Non-YARN-based calculations (see ShellTask)
-- Need to be **cn.dolphinscheduler.server.worker.task** Down **TaskManager** A
custom task
+- Need to be **org.apache.dolphinscheduler.server.worker.task** Down
**TaskManager** A custom task
-- Need to inherit**cn.dolphinscheduler.server.worker.task** Down
**AbstractTask**
+- Need to inherit**org.apache.dolphinscheduler.server.worker.task** Down
**AbstractTask**
- Instantiation in constructor **ShellCommandExecutor**
@@ -46,8 +46,8 @@ Remind:Currently, task plugin development does not support
hot deployment.
### Non-SHELL-based tasks (see SqlTask)
-- Need to be **cn.dolphinscheduler.server.worker.task** Down **TaskManager** A
custom task
-- Need to inherit**cn.dolphinscheduler.server.worker.task** Down
**AbstractTask**
+- Need to be **org.apache.dolphinscheduler.server.worker.task** Down
**TaskManager** A custom task
+- Need to inherit**org.apache.dolphinscheduler.server.worker.task** Down
**AbstractTask**
- Inherit **AbstractParameters** Custom task parameter entity
- Constructor or override **AbstractTask** of **init** in the method, parse
the custom task parameter entity
- Rewrite **handle** Methods to implement business logic and set the
corresponding**exitStatusCode**
diff --git a/development/zh-cn/plugin-development.md
b/development/zh-cn/plugin-development.md
index ef36b9c..0157735 100644
--- a/development/zh-cn/plugin-development.md
+++ b/development/zh-cn/plugin-development.md
@@ -6,8 +6,8 @@
#### 基于YARN的计算(参见MapReduceTask)
-- 需要在 **cn.dolphinscheduler.server.worker.task** 下的 **TaskManager**
类中创建自定义任务(也需在TaskType注册对应的任务类型)
-- 需要继承**cn.dolphinscheduler.server.worker.task** 下的 **AbstractYarnTask**
+- 需要在 **org.apache.dolphinscheduler.server.worker.task** 下的 **TaskManager**
类中创建自定义任务(也需在TaskType注册对应的任务类型)
+- 需要继承**org.apache.dolphinscheduler.server.worker.task** 下的
**AbstractYarnTask**
- 构造方法调度 **AbstractYarnTask** 构造方法
- 继承 **AbstractParameters** 自定义任务参数实体
- 重写 **AbstractTask** 的 **init** 方法中解析**自定义任务参数**
@@ -16,9 +16,9 @@
#### 基于非YARN的计算(参见ShellTask)
-- 需要在 **cn.dolphinscheduler.server.worker.task** 下的 **TaskManager** 中创建自定义任务
+- 需要在 **org.apache.dolphinscheduler.server.worker.task** 下的 **TaskManager**
中创建自定义任务
-- 需要继承**cn.dolphinscheduler.server.worker.task** 下的 **AbstractTask**
+- 需要继承**org.apache.dolphinscheduler.server.worker.task** 下的 **AbstractTask**
- 构造方法中实例化 **ShellCommandExecutor**
@@ -46,8 +46,8 @@
### 基于非SHELL的任务(参见SqlTask)
-- 需要在 **cn.dolphinscheduler.server.worker.task** 下的 **TaskManager** 中创建自定义任务
-- 需要继承**cn.dolphinscheduler.server.worker.task** 下的 **AbstractTask**
+- 需要在 **org.apache.dolphinscheduler.server.worker.task** 下的 **TaskManager**
中创建自定义任务
+- 需要继承**org.apache.dolphinscheduler.server.worker.task** 下的 **AbstractTask**
- 继承 **AbstractParameters** 自定义任务参数实体
- 构造方法或者重写 **AbstractTask** 的 **init** 方法中,解析自定义任务参数实体
- 重写 **handle** 方法实现业务逻辑并设置相应的**exitStatusCode**
diff --git a/docs/en-us/1.2.1/user_doc/plugin-development.md
b/docs/en-us/1.2.1/user_doc/plugin-development.md
index eda2d82..46050a9 100644
--- a/docs/en-us/1.2.1/user_doc/plugin-development.md
+++ b/docs/en-us/1.2.1/user_doc/plugin-development.md
@@ -6,8 +6,8 @@ Remind:Currently, task plugin development does not support hot
deployment.
#### YARN-based calculations (see MapReduceTask)
-- Need to be **cn.dolphinscheduler.server.worker.task** Down **TaskManager**
Create a custom task in the class (also need to register the corresponding task
type in TaskType)
-- Need to inherit**cn.dolphinscheduler.server.worker.task** Down
**AbstractYarnTask**
+- Need to be **org.apache.dolphinscheduler.server.worker.task** Down
**TaskManager** Create a custom task in the class (also need to register the
corresponding task type in TaskType)
+- Need to inherit**org.apache.dolphinscheduler.server.worker.task** Down
**AbstractYarnTask**
- Constructor Scheduling **AbstractYarnTask** Construction method
- Inherit **AbstractParameters** Custom task parameter entity
- Rewrite **AbstractTask** of **init** Parsing in method**Custom task
parameters**
@@ -16,9 +16,9 @@ Remind:Currently, task plugin development does not support
hot deployment.
#### Non-YARN-based calculations (see ShellTask)
-- Need to be **cn.dolphinscheduler.server.worker.task** Down **TaskManager** A
custom task
+- Need to be **org.apache.dolphinscheduler.server.worker.task** Down
**TaskManager** A custom task
-- Need to inherit**cn.dolphinscheduler.server.worker.task** Down
**AbstractTask**
+- Need to inherit**org.apache.dolphinscheduler.server.worker.task** Down
**AbstractTask**
- Instantiation in constructor **ShellCommandExecutor**
@@ -46,8 +46,8 @@ Remind:Currently, task plugin development does not support
hot deployment.
### Non-SHELL-based tasks (see SqlTask)
-- Need to be **cn.dolphinscheduler.server.worker.task** Down **TaskManager** A
custom task
-- Need to inherit**cn.dolphinscheduler.server.worker.task** Down
**AbstractTask**
+- Need to be **org.apache.dolphinscheduler.server.worker.task** Down
**TaskManager** A custom task
+- Need to inherit**org.apache.dolphinscheduler.server.worker.task** Down
**AbstractTask**
- Inherit **AbstractParameters** Custom task parameter entity
- Constructor or override **AbstractTask** of **init** in the method, parse
the custom task parameter entity
- Rewrite **handle** Methods to implement business logic and set the
corresponding**exitStatusCode**
diff --git a/docs/zh-cn/1.2.1/user_doc/plugin-development.md
b/docs/zh-cn/1.2.1/user_doc/plugin-development.md
index ef36b9c..0157735 100644
--- a/docs/zh-cn/1.2.1/user_doc/plugin-development.md
+++ b/docs/zh-cn/1.2.1/user_doc/plugin-development.md
@@ -6,8 +6,8 @@
#### 基于YARN的计算(参见MapReduceTask)
-- 需要在 **cn.dolphinscheduler.server.worker.task** 下的 **TaskManager**
类中创建自定义任务(也需在TaskType注册对应的任务类型)
-- 需要继承**cn.dolphinscheduler.server.worker.task** 下的 **AbstractYarnTask**
+- 需要在 **org.apache.dolphinscheduler.server.worker.task** 下的 **TaskManager**
类中创建自定义任务(也需在TaskType注册对应的任务类型)
+- 需要继承**org.apache.dolphinscheduler.server.worker.task** 下的
**AbstractYarnTask**
- 构造方法调度 **AbstractYarnTask** 构造方法
- 继承 **AbstractParameters** 自定义任务参数实体
- 重写 **AbstractTask** 的 **init** 方法中解析**自定义任务参数**
@@ -16,9 +16,9 @@
#### 基于非YARN的计算(参见ShellTask)
-- 需要在 **cn.dolphinscheduler.server.worker.task** 下的 **TaskManager** 中创建自定义任务
+- 需要在 **org.apache.dolphinscheduler.server.worker.task** 下的 **TaskManager**
中创建自定义任务
-- 需要继承**cn.dolphinscheduler.server.worker.task** 下的 **AbstractTask**
+- 需要继承**org.apache.dolphinscheduler.server.worker.task** 下的 **AbstractTask**
- 构造方法中实例化 **ShellCommandExecutor**
@@ -46,8 +46,8 @@
### 基于非SHELL的任务(参见SqlTask)
-- 需要在 **cn.dolphinscheduler.server.worker.task** 下的 **TaskManager** 中创建自定义任务
-- 需要继承**cn.dolphinscheduler.server.worker.task** 下的 **AbstractTask**
+- 需要在 **org.apache.dolphinscheduler.server.worker.task** 下的 **TaskManager**
中创建自定义任务
+- 需要继承**org.apache.dolphinscheduler.server.worker.task** 下的 **AbstractTask**
- 继承 **AbstractParameters** 自定义任务参数实体
- 构造方法或者重写 **AbstractTask** 的 **init** 方法中,解析自定义任务参数实体
- 重写 **handle** 方法实现业务逻辑并设置相应的**exitStatusCode**