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 0de08cf Automated deployment: e3b49b15ba0049ba8e085fa14bd4731d1b45c5d9
0de08cf is described below
commit 0de08cf831ccba9c222d4388ca50527c850a56ed
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Apr 28 12:30:21 2021 +0000
Automated deployment: e3b49b15ba0049ba8e085fa14bd4731d1b45c5d9
---
...ent.md.f1da5e0.js => development.md.320bb06.js} | 2 +-
en-us/development/architecture-design.html | 4 +-
en-us/development/backend-development.html | 4 +-
.../development/development-environment-setup.html | 4 +-
en-us/development/frontend-development.html | 4 +-
...plugin-development.html => have-questions.html} | 97 +++++++++++----------
en-us/development/have-questions.json | 6 ++
en-us/development/plugin-development.html | 4 +-
zh-cn/development/architecture-design.html | 4 +-
zh-cn/development/backend-development.html | 4 +-
.../development/development-environment-setup.html | 4 +-
zh-cn/development/frontend-development.html | 4 +-
...plugin-development.html => have-questions.html} | 98 ++++++++++++----------
zh-cn/development/have-questions.json | 6 ++
zh-cn/development/plugin-development.html | 4 +-
15 files changed, 136 insertions(+), 113 deletions(-)
diff --git a/build/development.md.f1da5e0.js b/build/development.md.320bb06.js
similarity index 76%
rename from build/development.md.f1da5e0.js
rename to build/development.md.320bb06.js
index ffbd79d..40e18e9 100644
--- a/build/development.md.f1da5e0.js
+++ b/build/development.md.320bb06.js
@@ -1 +1 @@
-webpackJsonp([6],{1:function(e,t){e.exports=React},2:function(e,t){e.exports=ReactDOM},420:function(e,t,n){"use
strict";function l(e){return e&&e.__esModule?e:{default:e}}function
o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been
initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof
t&&null!==t)throw new Type [...]
\ No newline at end of file
+webpackJsonp([6],{1:function(e,t){e.exports=React},2:function(e,t){e.exports=ReactDOM},420:function(e,t,n){"use
strict";function l(e){return e&&e.__esModule?e:{default:e}}function
o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been
initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof
t&&null!==t)throw new Type [...]
\ No newline at end of file
diff --git a/en-us/development/architecture-design.html
b/en-us/development/architecture-design.html
index c92d7ed..6543ea5 100644
--- a/en-us/development/architecture-design.html
+++ b/en-us/development/architecture-design.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="/build/vendor.57fae06.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- [...]
+ <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- [...]
<p>Before explaining the architecture of the schedule system, let us first
understand the common nouns of the schedule system.</p>
<h3>1.Noun Interpretation</h3>
<p><strong>DAG:</strong> Full name Directed Acyclic Graph,referred to as
DAG。Tasks in the workflow are assembled in the form of directed acyclic graphs,
which are topologically traversed from nodes with zero indegrees of ingress
until there are no successor nodes. For example, the following picture:</p>
@@ -292,7 +292,7 @@ Public <span class="hljs-class"><span
class="hljs-keyword">class</span> <span cl
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
<script>window.rootPath = '';</script>
<script src="/build/vendor.c25d3e2.js"></script>
- <script src="/build/development.md.f1da5e0.js"></script>
+ <script src="/build/development.md.320bb06.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
diff --git a/en-us/development/backend-development.html
b/en-us/development/backend-development.html
index e62433f..2282792 100644
--- a/en-us/development/backend-development.html
+++ b/en-us/development/backend-development.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="/build/vendor.57fae06.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- [...]
+ <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- [...]
<h2>Environmental requirements</h2>
<ul>
<li>MySQL (5.5+) : Must be installed</li>
@@ -58,7 +58,7 @@ install.sh : one-click deployment script
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
<script>window.rootPath = '';</script>
<script src="/build/vendor.c25d3e2.js"></script>
- <script src="/build/development.md.f1da5e0.js"></script>
+ <script src="/build/development.md.320bb06.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
diff --git a/en-us/development/development-environment-setup.html
b/en-us/development/development-environment-setup.html
index 552bbad..59369fe 100644
--- a/en-us/development/development-environment-setup.html
+++ b/en-us/development/development-environment-setup.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="/build/vendor.57fae06.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- [...]
+ <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>Preparation</h4>
<ol>
<li>
@@ -188,7 +188,7 @@ password: dolphinscheduler123</p>
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
<script>window.rootPath = '';</script>
<script src="/build/vendor.c25d3e2.js"></script>
- <script src="/build/development.md.f1da5e0.js"></script>
+ <script src="/build/development.md.320bb06.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
diff --git a/en-us/development/frontend-development.html
b/en-us/development/frontend-development.html
index 9a580f6..46605cd 100644
--- a/en-us/development/frontend-development.html
+++ b/en-us/development/frontend-development.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="/build/vendor.57fae06.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- [...]
+ <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- [...]
<h3>Technical selection</h3>
<pre><code>Vue mvvm framework
@@ -515,7 +515,7 @@ Interface parameter transfer needs to be changed to the
following way</p>
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
<script>window.rootPath = '';</script>
<script src="/build/vendor.c25d3e2.js"></script>
- <script src="/build/development.md.f1da5e0.js"></script>
+ <script src="/build/development.md.320bb06.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
diff --git a/en-us/development/plugin-development.html
b/en-us/development/have-questions.html
similarity index 67%
copy from en-us/development/plugin-development.html
copy to en-us/development/have-questions.html
index d95a5e2..cd517c6 100644
--- a/en-us/development/plugin-development.html
+++ b/en-us/development/have-questions.html
@@ -3,73 +3,78 @@
<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="plugin-development">
- <meta name="description" content="plugin-development">
- <title>plugin-development</title>
+ <meta name="keywords" content="have-questions">
+ <meta name="description" content="have-questions">
+ <title>have-questions</title>
<link rel="shortcut icon" href="/img/favicon.ico">
<link rel="stylesheet" href="/build/vendor.57fae06.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- [...]
-<p>Remind:Currently, task plugin development does not support hot
deployment.</p>
-<h3>Shell-based tasks</h3>
-<h4>YARN-based calculations (see MapReduceTask)</h4>
+ <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- [...]
+<h2>StackOverflow</h2>
+<p>For usage questions, it is recommended you use the StackOverflow tag <a
href="https://stackoverflow.com/questions/tagged/apache-dolphinscheduler">apache-dolphinscheduler</a>
as it is an active forum for DolphinScheduler users’ questions and answers.</p>
+<p>Some quick tips when using StackOverflow:</p>
<ul>
-<li>Need to be <strong>cn.dolphinscheduler.server.worker.task</strong> Down
<strong>TaskManager</strong> Create a custom task in the class (also need to
register the corresponding task type in TaskType)</li>
-<li>Need to inherit<strong>cn.dolphinscheduler.server.worker.task</strong>
Down <strong>AbstractYarnTask</strong></li>
-<li>Constructor Scheduling <strong>AbstractYarnTask</strong> Construction
method</li>
-<li>Inherit <strong>AbstractParameters</strong> Custom task parameter
entity</li>
-<li>Rewrite <strong>AbstractTask</strong> of <strong>init</strong> Parsing in
method<strong>Custom task parameters</strong></li>
-<li>Rewrite <strong>buildCommand</strong> Encapsulation command</li>
-</ul>
-<h4>Non-YARN-based calculations (see ShellTask)</h4>
+<li>Prior to asking submitting questions, please:
<ul>
-<li>
-<p>Need to be <strong>cn.dolphinscheduler.server.worker.task</strong> Down
<strong>TaskManager</strong> A custom task</p>
-</li>
-<li>
-<p>Need to inherit<strong>cn.dolphinscheduler.server.worker.task</strong> Down
<strong>AbstractTask</strong></p>
+<li>Search StackOverflow’s <a
href="https://stackoverflow.com/questions/tagged/apache-dolphinscheduler">apache-dolphinscheduler</a>
tag to see if your question has already been answered</li>
+</ul>
</li>
+<li>Please follow the StackOverflow <a
href="https://stackoverflow.com/help/how-to-ask">code of conduct</a></li>
+<li>Always use the apache-dolphinscheduler tag when asking questions</li>
+<li>Please do not cross-post between <a
href="https://stackoverflow.com/questions/tagged/apache-dolphinscheduler">StackOverflow</a>
and <a
href="https://github.com/apache/dolphinscheduler/issues/new/choose">GitHub
issues</a></li>
+</ul>
+<p>Question template:</p>
+<blockquote>
+<p><strong>Describe the question</strong></p>
+<p>A clear and concise description of what the question is.</p>
+<p><strong>Which version of DolphinScheduler:</strong></p>
+<p>-[1.3.0-preview]</p>
+<p><strong>Additional context</strong></p>
+<p>Add any other context about the problem here.</p>
+<p><strong>Requirement or improvement</strong></p>
+<p>- Please describe about your requirements or improvement suggestions.</p>
+</blockquote>
+<p>For broad, opinion based, ask for external resources, debug issues, bugs,
contributing to the project, and scenarios, it is recommended you use the<a
href="https://github.com/apache/dolphinscheduler/issues/new/choose"> GitHub
issues </a>or <a
href="mailto:[email protected]">[email protected]</a>
mailing list.</p>
+<h2>Mailing Lists</h2>
+<ul>
+<li><a
href="https://lists.apache.org/[email protected]">[email protected]</a>
is for people who want to contribute code to DolphinScheduler. <a
href="mailto:[email protected]?subject=(send%20this%20email%20to%20subscribe)">(subscribe)</a>
<a
href="mailto:[email protected]?subject=(send%20this%20email%20to%20unsubscribe)">(unsubscribe)</a>
<a href="http://lists.apache.org/list.html?dev@dolphinschedule [...]
+</ul>
+<p>Some quick tips when using email:</p>
+<ul>
<li>
-<p>Instantiation in constructor <strong>ShellCommandExecutor</strong></p>
-<pre><code>public ShellTask(TaskProps props, Logger logger) {
- super(props, logger);
-
- this.taskDir = props.getTaskDir();
-
- this.processTask = new ShellCommandExecutor(this::logHandle,
- props.getTaskDir(), props.getTaskAppId(),
- props.getTenantCode(), props.getEnvFile(), props.getTaskStartTime(),
- props.getTaskTimeout(), logger);
- this.processDao = DaoFactory.getDaoInstance(ProcessDao.class);
-}
-</code></pre>
-<p>Incoming custom tasks <strong>TaskProps</strong>And
custom<strong>Logger</strong>,TaskProps Encapsulate task information, Logger is
installed with custom log information</p>
+<p>Prior to asking submitting questions, please:</p>
+<ul>
+<li>Search StackOverflow at <a
href="https://stackoverflow.com/questions/tagged/apache-dolphinscheduler">apache-dolphinscheduler</a>
to see if your question has already been answered</li>
+</ul>
</li>
<li>
-<p>Inherit <strong>AbstractParameters</strong> Custom task parameter entity</p>
+<p>Tagging the subject line of your email will help you get a faster response,
e.g. [api-server]: How to get open api interface?</p>
</li>
<li>
-<p>Rewrite <strong>AbstractTask</strong> of <strong>init</strong> Parsing in
method<strong>Custom task parameter entity</strong></p>
+<p>Tags may help identify a topic by:</p>
+<ul>
+<li>Component: MasterServer,ApiServer,WorkerServer,AlertServer, etc</li>
+<li>Level: Beginner, Intermediate, Advanced</li>
+<li>Scenario: Debug, How-to</li>
+</ul>
</li>
<li>
-<p>Rewrite <strong>handle</strong> method,transfer
<strong>ShellCommandExecutor</strong> of <strong>run</strong> method,The first
parameter is passed in<strong>command</strong>,Pass the second parameter to
ProcessDao and set the corresponding <strong>exitStatusCode</strong></p>
+<p>For error logs or long code examples, please use <a
href="https://gist.github.com/">GitHub gist</a> and include only a few lines of
the pertinent code / log within the email.</p>
</li>
</ul>
-<h3>Non-SHELL-based tasks (see SqlTask)</h3>
-<ul>
-<li>Need to be <strong>cn.dolphinscheduler.server.worker.task</strong> Down
<strong>TaskManager</strong> A custom task</li>
-<li>Need to inherit<strong>cn.dolphinscheduler.server.worker.task</strong>
Down <strong>AbstractTask</strong></li>
-<li>Inherit <strong>AbstractParameters</strong> Custom task parameter
entity</li>
-<li>Constructor or override <strong>AbstractTask</strong> of
<strong>init</strong> in the method, parse the custom task parameter entity</li>
-<li>Rewrite <strong>handle</strong> Methods to implement business logic and
set the corresponding<strong>exitStatusCode</strong></li>
-</ul>
+<h2>Chat Rooms</h2>
+<p>Chat rooms are great for quick questions or discussions on specialized
topics.</p>
+<p>The following chat rooms are officially part of Apache DolphinScheduler:</p>
+<p> The Slack workspace URL: <a
href="http://asf-dolphinscheduler.slack.com/">http://asf-dolphinscheduler.slack.com/</a>.</p>
+<p> You can join through invitation url: <a
href="https://s.apache.org/dolphinscheduler-slack">https://s.apache.org/dolphinscheduler-slack</a>.</p>
+<p>This chat room is used for questions and discussions related to using
DolphinScheduler.</p>
</div></section><footer class="footer-container"><div class="footer-body"><img
src="/img/ds_gray.svg"/><div class="cols-container"><div class="col
col-12"></div><div class="col col-6"><dl><dt>Documentation</dt><dd><a
href="/en-us/development/architecture-design.html"
target="_self">Overview</a></dd><dd><a
href="/en-us/docs/latest/user_doc/quick-start.html" target="_self">Quick
start</a></dd><dd><a href="/en-us/development/backend-development.html"
target="_self">Developer guide</a></dd>< [...]
<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.c25d3e2.js"></script>
- <script src="/build/development.md.f1da5e0.js"></script>
+ <script src="/build/development.md.320bb06.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
diff --git a/en-us/development/have-questions.json
b/en-us/development/have-questions.json
new file mode 100644
index 0000000..3ff315c
--- /dev/null
+++ b/en-us/development/have-questions.json
@@ -0,0 +1,6 @@
+{
+ "filename": "have-questions.md",
+ "__html": "<h1>Have Questions?</h1>\n<h2>StackOverflow</h2>\n<p>For usage
questions, it is recommended you use the StackOverflow tag <a
href=\"https://stackoverflow.com/questions/tagged/apache-dolphinscheduler\">apache-dolphinscheduler</a>
as it is an active forum for DolphinScheduler users’ questions and
answers.</p>\n<p>Some quick tips when using StackOverflow:</p>\n<ul>\n<li>Prior
to asking submitting questions, please:\n<ul>\n<li>Search StackOverflow’s <a
href=\"https://stackoverfl [...]
+ "link": "/dist/en-us/development/have-questions.html",
+ "meta": {}
+}
\ No newline at end of file
diff --git a/en-us/development/plugin-development.html
b/en-us/development/plugin-development.html
index d95a5e2..8207026 100644
--- a/en-us/development/plugin-development.html
+++ b/en-us/development/plugin-development.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="/build/vendor.57fae06.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- [...]
+ <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- [...]
<p>Remind:Currently, task plugin development does not support hot
deployment.</p>
<h3>Shell-based tasks</h3>
<h4>YARN-based calculations (see MapReduceTask)</h4>
@@ -69,7 +69,7 @@
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
<script>window.rootPath = '';</script>
<script src="/build/vendor.c25d3e2.js"></script>
- <script src="/build/development.md.f1da5e0.js"></script>
+ <script src="/build/development.md.320bb06.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
diff --git a/zh-cn/development/architecture-design.html
b/zh-cn/development/architecture-design.html
index 81476c5..2d1f47b 100644
--- a/zh-cn/development/architecture-design.html
+++ b/zh-cn/development/architecture-design.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="/build/vendor.57fae06.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 [...]
<p>在对调度系统架构说明之前,我们先来认识一下调度系统常用的名词</p>
<h3>1.名词解释</h3>
<p><strong>DAG:</strong> 全称Directed Acyclic
Graph,简称DAG。工作流中的Task任务以有向无环图的形式组装起来,从入度为零的节点进行拓扑遍历,直到无后继节点为止。举例如下图:</p>
@@ -304,7 +304,7 @@ ZooKeeper Master容错完成之后则重新由DolphinScheduler中Scheduler线程
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
<script>window.rootPath = '';</script>
<script src="/build/vendor.c25d3e2.js"></script>
- <script src="/build/development.md.f1da5e0.js"></script>
+ <script src="/build/development.md.320bb06.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
diff --git a/zh-cn/development/backend-development.html
b/zh-cn/development/backend-development.html
index 8554f9a..351001e 100644
--- a/zh-cn/development/backend-development.html
+++ b/zh-cn/development/backend-development.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="/build/vendor.57fae06.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 [...]
<h2>环境要求</h2>
<ul>
<li>MySQL (5.5+) : 必装</li>
@@ -58,7 +58,7 @@ install.sh : 一键部署脚本
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
<script>window.rootPath = '';</script>
<script src="/build/vendor.c25d3e2.js"></script>
- <script src="/build/development.md.f1da5e0.js"></script>
+ <script src="/build/development.md.320bb06.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
diff --git a/zh-cn/development/development-environment-setup.html
b/zh-cn/development/development-environment-setup.html
index ac1c4e0..49e8753 100644
--- a/zh-cn/development/development-environment-setup.html
+++ b/zh-cn/development/development-environment-setup.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="/build/vendor.57fae06.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>
<ol>
<li>
@@ -186,7 +186,7 @@ npm run start
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
<script>window.rootPath = '';</script>
<script src="/build/vendor.c25d3e2.js"></script>
- <script src="/build/development.md.f1da5e0.js"></script>
+ <script src="/build/development.md.320bb06.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
diff --git a/zh-cn/development/frontend-development.html
b/zh-cn/development/frontend-development.html
index e7028bc..916f07b 100644
--- a/zh-cn/development/frontend-development.html
+++ b/zh-cn/development/frontend-development.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="/build/vendor.57fae06.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 [...]
<h3>技术选型</h3>
<pre><code>Vue mvvm 框架
@@ -515,7 +515,7 @@ test.then(res => {
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
<script>window.rootPath = '';</script>
<script src="/build/vendor.c25d3e2.js"></script>
- <script src="/build/development.md.f1da5e0.js"></script>
+ <script src="/build/development.md.320bb06.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
diff --git a/zh-cn/development/plugin-development.html
b/zh-cn/development/have-questions.html
similarity index 67%
copy from zh-cn/development/plugin-development.html
copy to zh-cn/development/have-questions.html
index ecc0fcc..fe16da6 100644
--- a/zh-cn/development/plugin-development.html
+++ b/zh-cn/development/have-questions.html
@@ -3,73 +3,79 @@
<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="plugin-development">
- <meta name="description" content="plugin-development">
- <title>plugin-development</title>
+ <meta name="keywords" content="have-questions">
+ <meta name="description" content="have-questions">
+ <title>have-questions</title>
<link rel="shortcut icon" href="/img/favicon.ico">
<link rel="stylesheet" href="/build/vendor.57fae06.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 [...]
-<p>提醒:目前任务插件开发暂不支持热部署</p>
-<h3>基于SHELL的任务</h3>
-<h4>基于YARN的计算(参见MapReduceTask)</h4>
+ <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 [...]
+<h2>StackOverflow</h2>
+<p>如果在使用上有疑问,建议你使用StackOverflow标签 <a
href="https://stackoverflow.com/questions/tagged/apache-dolphinscheduler">apache-dolphinscheduler</a>,这是一个DolphinScheduler用户问答的活跃论坛。</p>
+<p>使用StackOverflow时的快速提示:</p>
<ul>
-<li>需要在 <strong>cn.dolphinscheduler.server.worker.task</strong> 下的
<strong>TaskManager</strong> 类中创建自定义任务(也需在TaskType注册对应的任务类型)</li>
-<li>需要继承<strong>cn.dolphinscheduler.server.worker.task</strong> 下的
<strong>AbstractYarnTask</strong></li>
-<li>构造方法调度 <strong>AbstractYarnTask</strong> 构造方法</li>
-<li>继承 <strong>AbstractParameters</strong> 自定义任务参数实体</li>
-<li>重写 <strong>AbstractTask</strong> 的 <strong>init</strong>
方法中解析<strong>自定义任务参数</strong></li>
-<li>重写 <strong>buildCommand</strong> 封装command</li>
-</ul>
-<h4>基于非YARN的计算(参见ShellTask)</h4>
-<ul>
-<li>
-<p>需要在 <strong>cn.dolphinscheduler.server.worker.task</strong> 下的
<strong>TaskManager</strong> 中创建自定义任务</p>
-</li>
<li>
-<p>需要继承<strong>cn.dolphinscheduler.server.worker.task</strong> 下的
<strong>AbstractTask</strong></p>
-</li>
-<li>
-<p>构造方法中实例化 <strong>ShellCommandExecutor</strong></p>
-<pre><code>public ShellTask(TaskProps props, Logger logger) {
- super(props, logger);
-
- this.taskDir = props.getTaskDir();
-
- this.processTask = new ShellCommandExecutor(this::logHandle,
- props.getTaskDir(), props.getTaskAppId(),
- props.getTenantCode(), props.getEnvFile(), props.getTaskStartTime(),
- props.getTaskTimeout(), logger);
- this.processDao = DaoFactory.getDaoInstance(ProcessDao.class);
-}
-</code></pre>
-<p>传入自定义任务的 <strong>TaskProps</strong>和自定义<strong>Logger</strong>,TaskProps
封装了任务的信息,Logger分装了自定义日志信息</p>
+<p>在提交问题之前:</p>
+<ul>
+<li>在StackOverflow的 <a
href="https://stackoverflow.com/questions/tagged/apache-dolphinscheduler">apache-dolphinscheduler</a>
标签下进行搜索,看看你的问题是否已经被回答。</li>
+</ul>
</li>
<li>
-<p>继承 <strong>AbstractParameters</strong> 自定义任务参数实体</p>
+<p>请遵守StackOverflow的<a
href="https://stackoverflow.com/help/how-to-ask">行为准则</a></p>
</li>
<li>
-<p>重写 <strong>AbstractTask</strong> 的 <strong>init</strong>
方法中解析<strong>自定义任务参数实体</strong></p>
+<p>提出问题时,请务必使用apache-dolphinscheduler标签。</p>
</li>
<li>
-<p>重写 <strong>handle</strong> 方法,调用 <strong>ShellCommandExecutor</strong> 的
<strong>run</strong> 方法,第一个参数传入自己的<strong>command</strong>,第二个参数传入
ProcessDao,设置相应的 <strong>exitStatusCode</strong></p>
+<p>请不要在 <a
href="https://stackoverflow.com/questions/tagged/apache-dolphinscheduler">StackOverflow</a>
和 <a
href="https://github.com/apache/dolphinscheduler/issues/new/choose">GitHub
issues</a>之间交叉发帖。</p>
</li>
</ul>
-<h3>基于非SHELL的任务(参见SqlTask)</h3>
+<p>提问模板:</p>
+<blockquote>
+<p><strong>Describe the question</strong></p>
+<p>对问题的内容进行清晰、简明的描述。</p>
+<p><strong>Which version of DolphinScheduler:</strong></p>
+<p>-[1.3.0-preview]</p>
+<p><strong>Additional context</strong></p>
+<p>在此添加关于该问题的其他背景。</p>
+<p><strong>Requirement or improvement</strong></p>
+<p>在此描述您的要求或改进建议。</p>
+</blockquote>
+<p>如果你的问题较为宽泛、有意见或建议、期望请求外部资源,或是有项目调试、bug提交等相关问题,或者想要对项目做出贡献、对场景进行讨论,建议你提交<a
href="https://github.com/apache/dolphinscheduler/issues/new/choose"> GitHub
issues </a>或使用[email protected] 邮件列表进行讨论。</p>
+<h2>邮件列表</h2>
<ul>
-<li>需要在 <strong>cn.dolphinscheduler.server.worker.task</strong> 下的
<strong>TaskManager</strong> 中创建自定义任务</li>
-<li>需要继承<strong>cn.dolphinscheduler.server.worker.task</strong> 下的
<strong>AbstractTask</strong></li>
-<li>继承 <strong>AbstractParameters</strong> 自定义任务参数实体</li>
-<li>构造方法或者重写 <strong>AbstractTask</strong> 的 <strong>init</strong>
方法中,解析自定义任务参数实体</li>
-<li>重写 <strong>handle</strong>
方法实现业务逻辑并设置相应的<strong>exitStatusCode</strong></li>
+<li><a
href="https://lists.apache.org/[email protected]">[email protected]</a>
是为那些想为DolphinScheduler贡献代码的人准备的。 <a
href="mailto:[email protected]?subject=(send%20this%20email%20to%20subscribe)">(订阅)</a>
<a
href="mailto:[email protected]?subject=(send%20this%20email%20to%20unsubscribe)">(退订)</a>
<a
href="http://lists.apache.org/[email protected]">(存档)</a></li>
+</ul>
+<p>使用电子邮件时的一些快速提示:</p>
+<ul>
+<li>在提出问题之前:
+<ul>
+<li>请在StackOverflow的 <a
href="https://stackoverflow.com/questions/tagged/apache-dolphinscheduler">apache-dolphinscheduler</a>
标签下进行搜索,看看你的问题是否已经被回答。</li>
+</ul>
+</li>
+<li>在你的邮件的主题栏里加上标签会帮助你得到更快的回应,例如:[ApiServer]:如何获得开放的api接口?</li>
+<li>可以通过以下标签定义你的主题。
+<ul>
+<li>组件相关:MasterServer、ApiServer、WorkerServer、AlertServer等等。</li>
+<li>级别:Beginner、Intermediate、Advanced</li>
+<li>场景相关:Debug,、How-to</li>
+</ul>
+</li>
+<li>如果内容包括错误日志或长代码,请使用 <a href="https://gist.github.com/">GitHub
gist</a>,并在邮件中只附加相关代码/日志的几行。</li>
</ul>
+<h2>Chat Rooms</h2>
+<p>聊天室是快速提问或讨论具体话题的好地方。</p>
+<p>以下聊天室是Apache DolphinScheduler的正式组成部分:</p>
+<p> Slack工作区的网址:<a
href="http://asf-dolphinscheduler.slack.com/">http://asf-dolphinscheduler.slack.com/</a></p>
+<p> 你可以通过该邀请链接加入:<a
href="https://s.apache.org/dolphinscheduler-slack">https://s.apache.org/dolphinscheduler-slack</a></p>
+<p>此聊天室用于与DolphinScheduler使用相关的问题讨论。</p>
</div></section><footer class="footer-container"><div class="footer-body"><img
src="/img/ds_gray.svg"/><div class="cols-container"><div class="col
col-12"></div><div class="col col-6"><dl><dt>文档</dt><dd><a
href="/zh-cn/development/architecture-design.html"
target="_self">概览</a></dd><dd><a
href="/zh-cn/docs/latest/user_doc/quick-start.html"
target="_self">快速开始</a></dd><dd><a
href="/zh-cn/development/backend-development.html"
target="_self">开发者指南</a></dd></dl></div><div class="col col-6">< [...]
<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.c25d3e2.js"></script>
- <script src="/build/development.md.f1da5e0.js"></script>
+ <script src="/build/development.md.320bb06.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
diff --git a/zh-cn/development/have-questions.json
b/zh-cn/development/have-questions.json
new file mode 100644
index 0000000..f162c0e
--- /dev/null
+++ b/zh-cn/development/have-questions.json
@@ -0,0 +1,6 @@
+{
+ "filename": "have-questions.md",
+ "__html":
"<h1>当你遇到问题时</h1>\n<h2>StackOverflow</h2>\n<p>如果在使用上有疑问,建议你使用StackOverflow标签 <a
href=\"https://stackoverflow.com/questions/tagged/apache-dolphinscheduler\">apache-dolphinscheduler</a>,这是一个DolphinScheduler用户问答的活跃论坛。</p>\n<p>使用StackOverflow时的快速提示:</p>\n<ul>\n<li>\n<p>在提交问题之前:</p>\n<ul>\n<li>在StackOverflow的
<a
href=\"https://stackoverflow.com/questions/tagged/apache-dolphinscheduler\">apache-dolphinscheduler</a>
标签下进行搜索,看看你的问题是否已经被回答。</li>\n</ul>\n</li>\n<li>\n<p>请遵守StackOverflo [...]
+ "link": "/dist/zh-cn/development/have-questions.html",
+ "meta": {}
+}
\ No newline at end of file
diff --git a/zh-cn/development/plugin-development.html
b/zh-cn/development/plugin-development.html
index ecc0fcc..4dac7df 100644
--- a/zh-cn/development/plugin-development.html
+++ b/zh-cn/development/plugin-development.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="/build/vendor.57fae06.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 [...]
<p>提醒:目前任务插件开发暂不支持热部署</p>
<h3>基于SHELL的任务</h3>
<h4>基于YARN的计算(参见MapReduceTask)</h4>
@@ -69,7 +69,7 @@
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
<script>window.rootPath = '';</script>
<script src="/build/vendor.c25d3e2.js"></script>
- <script src="/build/development.md.f1da5e0.js"></script>
+ <script src="/build/development.md.320bb06.js"></script>
<script>
var _hmt = _hmt || [];
(function() {