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 d352acf  Automated deployment: efd580d7dadacd217ba69fbc4b488bad740447db
d352acf is described below

commit d352acf64c91218fb944598a64ebf6ea87be19d3
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Oct 25 02:53:40 2021 +0000

    Automated deployment: efd580d7dadacd217ba69fbc4b488bad740447db
---
 en-us/development/backend/spi/task.html | 48 +++++++++++++++++++++++++++++++++
 en-us/development/backend/spi/task.json |  6 +++++
 zh-cn/development/backend/spi/task.html |  8 +++---
 zh-cn/development/backend/spi/task.json |  2 +-
 4 files changed, 59 insertions(+), 5 deletions(-)

diff --git a/en-us/development/backend/spi/task.html 
b/en-us/development/backend/spi/task.html
new file mode 100644
index 0000000..38f4683
--- /dev/null
+++ b/en-us/development/backend/spi/task.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="UTF-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0, 
maximum-scale=1.0, user-scalable=no">
+  <meta name="keywords" content="task">
+  <meta name="description" content="task">
+  <title>task</title>
+  <link rel="shortcut icon" href="/img/favicon.ico">
+  <link rel="stylesheet" href="/build/vendor.e328afe.css">
+</head>
+<body>
+  <div id="root"><div class="md2html development-page" 
data-reactroot=""><header class="header-container header-container-dark"><div 
class="header-body"><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"><img 
class="header-menu-toggle" src="/img/system/menu_white.png"/><div><ul 
class="ant-menu whiteClass ant- [...]
+<h4>How to use development environment?</h4>
+<p>First you need to execute the <code>mvn -U install package 
-Dmaven.test.skip=true</code> to install the plugin for generating the plugin 
JAR of the registry. The directory is: 
dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/task
 (The version number will follow the change of the main version number)</p>
+<p>Executing this command will generate all plugins provided by default for 
all modules.</p>
+<p>Next, configure the plugin directory in 
(dolphinscheduler-server/src/main/resources/worker.properties)</p>
+<pre><code>task.plugin.dir config the #task.plugin.dir config the Task Plugin 
dir . WorkerServer while find and load the Task Plugin Jar from this dir when 
deploy and start WorkerServer on the server .
+task.plugin.dir=dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/task
+</code></pre>
+<p>The following configurations can be used for local development debugging, 
for example:</p>
+<pre><code>maven.local.repository=/Users/localRepository
+#task.plugin.binding config the task plugin need be load when development and 
run in IDE
+task.plugin.binding=./dolphinscheduler-task-plugin/dolphinscheduler-task-shell/pom.xml
+</code></pre>
+<p>Please configure according to the actual situation.</p>
+<h4>How to do task plugin development?</h4>
+<h3>Back-end development:</h3>
+<p>org.apache.dolphinscheduler.spi.task.TaskChannel</p>
+<p>The plugin should implements the above interface.  It mainly contains 
methods for creating tasks (task initialization, task run, etc.), task 
cancellation, and if it is a yarn task, it needs to implement 
org.apache.dolphinscheduler.plugin.task.api.AbstractYarnTask.</p>
+<p>We provide the API for all tasks to be accessed externally in the 
dolphinscheduler-task-api module. And dolphinscheduler-spi module is the spi 
common code base that defines all the plug-in modules like alert module, 
registry module etc. You can read it in detail to see it.</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><img class="img-base" 
src="/img/emailgray.png"/><img class="img-change" src="/img/emailblue.png"/><a 
href="/en-us/community/development/subscribe.html"><p>Email 
List</p></a></li><li><img class="img-base" src="/img/twittergray.png"/><img 
class="img-change" src="/img/twitterbl [...]
+  <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>
+  <script>window.rootPath = '';</script>
+  <script src="/build/vendor.e6fe67a.js"></script>
+  <script src="/build/development.md.d52e89a.js"></script>
+  <script>
+    var _hmt = _hmt || [];
+    (function() {
+      var hm = document.createElement("script");
+      hm.src = "https://hm.baidu.com/hm.js?4e7b4b400dd31fa015018a435c64d06f";;
+      var s = document.getElementsByTagName("script")[0];
+      s.parentNode.insertBefore(hm, s);
+    })();
+  </script>
+</body>
+</html>
\ No newline at end of file
diff --git a/en-us/development/backend/spi/task.json 
b/en-us/development/backend/spi/task.json
new file mode 100644
index 0000000..88e5020
--- /dev/null
+++ b/en-us/development/backend/spi/task.json
@@ -0,0 +1,6 @@
+{
+  "filename": "task.md",
+  "__html": "<h2>DolphinScheduler Task SPI main design</h2>\n<h4>How to use 
development environment?</h4>\n<p>First you need to execute the <code>mvn -U 
install package -Dmaven.test.skip=true</code> to install the plugin for 
generating the plugin JAR of the registry. The directory is: 
dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/task
 (The version number will follow the change of the main version 
number)</p>\n<p>Executing this command will generate all plug [...]
+  "link": "/dist/en-us/development/backend/spi/task.html",
+  "meta": {}
+}
\ No newline at end of file
diff --git a/zh-cn/development/backend/spi/task.html 
b/zh-cn/development/backend/spi/task.html
index c236115..5db544a 100644
--- a/zh-cn/development/backend/spi/task.html
+++ b/zh-cn/development/backend/spi/task.html
@@ -10,7 +10,7 @@
   <link rel="stylesheet" href="/build/vendor.e328afe.css">
 </head>
 <body>
-  <div id="root"><div class="md2html development-page" 
data-reactroot=""><header class="header-container header-container-dark"><div 
class="header-body"><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"><img 
class="header-menu-toggle" src="/img/system/menu_white.png"/><div><ul 
class="ant-menu whiteClass ant [...]
+  <div id="root"><div class="md2html development-page" 
data-reactroot=""><header class="header-container header-container-dark"><div 
class="header-body"><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"><img 
class="header-menu-toggle" src="/img/system/menu_white.png"/><div><ul 
class="ant-menu whiteClass ant [...]
 <h4>开发环境如何使用?</h4>
 <p>首先你需要执行 <code>mvn -U install package -Dmaven.test.skip=true</code> 
安装插件,生成注册中心的插件 
jar。目录是:dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/task(版本号会跟随主版本号变更)</p>
 <p>执行此命令会生成所有模块默认提供的所有插件。</p>
@@ -23,12 +23,12 @@ 
task.plugin.dir=dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHO
 #task.plugin.binding config the task plugin need be load when development and 
run in IDE
 
task.plugin.binding=./dolphinscheduler-task-plugin/dolphinscheduler-task-shell/pom.xml
 </code></pre>
-<p>请根据实际情况进行配置,</p>
+<p>请根据实际情况进行配置。</p>
 <h4>如何进行任务插件开发?</h4>
 <h3>后端开发:</h3>
 <p>org.apache.dolphinscheduler.spi.task.TaskChannel</p>
-<p>插件实现以上接口即可。主要包含创建任务(任务初始化,任务运行等方法)、任务取消,如果是yarn 
任务,则需要实现org.apache.dolphinscheduler.plugin.task.api.AbstractYarnTask。</p>
-<p>我们在dolphinscheduler-task-api 
模块提供了所有任务对外访问的API,而dolphinscheduler-spi模块则是spi通用代码库,定义了所有的插件模块,比如告警模块,注册中心模块等,你可以详细阅读查看。</p>
+<p>插件实现以上接口即可。主要包含创建任务(任务初始化,任务运行等方法)、任务取消,如果是 yarn 任务,则需要实现 
org.apache.dolphinscheduler.plugin.task.api.AbstractYarnTask。</p>
+<p>我们在 dolphinscheduler-task-api 模块提供了所有任务对外访问的 API,而 dolphinscheduler-spi 
模块则是 spi 通用代码库,定义了所有的插件模块,比如告警模块,注册中心模块等,你可以详细阅读查看。</p>
 </div></section><footer class="footer-container"><div 
class="footer-body"><div><h3>联系我们</h3><h4>有问题需要反馈?请通过以下方式联系我们。</h4></div><div 
class="contact-container"><ul><li><img class="img-base" 
src="/img/emailgray.png"/><img class="img-change" src="/img/emailblue.png"/><a 
href="/zh-cn/community/development/subscribe.html"><p>邮件列表</p></a></li><li><img 
class="img-base" src="/img/twittergray.png"/><img class="img-change" 
src="/img/twitterblue.png"/><a href="https://twitter.com/dolphinschedule";><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/development/backend/spi/task.json 
b/zh-cn/development/backend/spi/task.json
index 93881f9..d33ac0c 100644
--- a/zh-cn/development/backend/spi/task.json
+++ b/zh-cn/development/backend/spi/task.json
@@ -1,6 +1,6 @@
 {
   "filename": "task.md",
-  "__html": "<h2>DolphinScheduler Registry SPI 
主要设计</h2>\n<h4>开发环境如何使用?</h4>\n<p>首先你需要执行 <code>mvn -U install package 
-Dmaven.test.skip=true</code> 安装插件,生成注册中心的插件 
jar。目录是:dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/task(版本号会跟随主版本号变更)</p>\n<p>执行此命令会生成所有模块默认提供的所有插件。</p>\n<p>其次在(dolphinscheduler-server/src/main/resources/worker.properties)进行配置插件目录</p>\n<pre><code>task.plugin.dir
 config the #task.plugin.dir config the Task Plugin dir . WorkerServer while 
find [...]
+  "__html": "<h2>DolphinScheduler Task SPI 
主要设计</h2>\n<h4>开发环境如何使用?</h4>\n<p>首先你需要执行 <code>mvn -U install package 
-Dmaven.test.skip=true</code> 安装插件,生成注册中心的插件 
jar。目录是:dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/task(版本号会跟随主版本号变更)</p>\n<p>执行此命令会生成所有模块默认提供的所有插件。</p>\n<p>其次在(dolphinscheduler-server/src/main/resources/worker.properties)进行配置插件目录</p>\n<pre><code>task.plugin.dir
 config the #task.plugin.dir config the Task Plugin dir . WorkerServer while 
find and [...]
   "link": "/dist/zh-cn/development/backend/spi/task.html",
   "meta": {}
 }
\ No newline at end of file

Reply via email to