Commit Graph

117 Commits

Author SHA1 Message Date
xiangzihao
34cd747597
[Improvement-16311] Polish installation docs (#16312)
* polish installation docs

* fix cluster test error
2024-07-15 14:31:14 +08:00
xiangzihao
c3d3a14cfc
[Fix-16174] Incorrect cluster installation guide. (#16208) 2024-06-26 10:34:37 +08:00
v-wx-v
3f16776cd7
[improvement][install.sh] fix the install Error "Command not found rmr" & su… (#13163)
* [BUG][install.sh] fix the install Error "Command not found rmr"  & support ZooKeeper (3.4.6+)

* [BUG][install.sh] fix the install Error "Command not found rmr"  & support ZooKeeper (3.4.6+)

* [BUG][install.sh] fix the install Error "Command not found rmr"  & support ZooKeeper (3.4.6+)

* [docs] add documentation for building with different ZK versions
* support both 3.4 and 3.8

* [docs] add documentation for building with different ZK versions
* support both 3.4 and 3.8

* [improvement][install.sh] fix the install Error "Command not found rmr" &  support ZooKeeper (3.4.6+)
* update known-dependencies.txt

* [improvement][install.sh] fix the install Error "Command not found rmr"
* support ZooKeeper (3.4.6+) by activating zk-3.4 profile
* make zk-3.8 as default option in pom.xml
* update defalut ZK version in docs
* update known-dependencies.txt

Co-authored-by: wangxx <wangxx@kcwl.com>
2023-01-12 18:07:58 +08:00
Wenjun Ruan
32a8241ef2
Don't source env file in task, this will override tenant's environment (#13028) 2022-11-28 21:09:50 +08:00
Assert
2dbc79693e
[feature][task plugin] Add new task plugin for apache linkis (#12693) 2022-11-17 10:14:36 +08:00
muggleChen
72e50b25f1
[Improvement][script] Add installPath verification for install.sh (#12523) 2022-11-09 11:50:11 +08:00
rickchengx
fd18e37da7
[Fix-12109]Fix the errors when starting 2 times with dolphinscheduler-daemon.sh (#12118) 2022-11-01 16:59:27 +08:00
Yann Ann
0391d40315
[Improvement][Install] Add ${zkRoot} description. (#12596)
* just add comments.
2022-10-31 22:58:34 +08:00
Aaron Wang
08335b1032
[Improvement][Task] Improved way to collect yarn job's appIds (#12197)
* Provide aop way as an optional way to collect yarn job's applicationId, and import new module `dolphinscheduler-aop` to place the aop code.
* Add user property `appId.collect` for user to decide how to collect applicationId.
* Add new environment configuration for each type of yarn tasks to support aop in `dolphinscheduler_env.sh`
* Update docs to declare how to use aop way.
* Update `LogUtils` to support fetch applicationId in different ways based on the user property.

Co-authored-by: gabrywu <gabrywu@apache.com>
2022-10-31 16:52:53 +08:00
kezhenxu94
4ea7eec750
Use temurin Java docker images instead of deprecated ones (#12334) 2022-10-17 15:46:21 +08:00
rickchengx
08a4c7981f
[improve] Remove the spark version of spark task (#11860) 2022-09-21 20:27:28 +08:00
kezhenxu94
b73a9511a7
Remove sensitive configs from dolphinscheduler_env.sh (#11917) 2022-09-15 19:03:47 +08:00
Yann Ann
d5a984748d
fix status check issue (#11580) 2022-08-21 23:04:12 +08:00
rickchengx
3836dd7170
[Improvement-11380][scp-host.sh] Set StrictHostKeyChecking=no option to ssh (#11382)
* [Improvement][scp-host.sh] Set StrictHostKeyChecking=no option to ssh

* add StrictHostKeyChecking=no option to status-all.sh
2022-08-11 10:49:46 +08:00
xuhhui
513f336015
[Feature] Add new task type chunjun (#10937) 2022-07-28 19:25:29 +08:00
Kerwin
bd1be6cf36
[Task] Added Apache SeaTunnel 2.x task node (#10480) 2022-07-05 19:21:30 +08:00
Eric Gao
91283e59cf
[Bug][Script] Remove deprecated arg in remove-zk-node.sh (#10789) 2022-07-05 15:26:34 +08:00
Jiajie Zhong
cd51a22940
[doc] Correct installPath when using related path (#10597)
correct the doc and add hint to setting

ref: #10511
2022-06-27 11:02:19 +08:00
xiangzihao
7a292cfccf
fix standalone start error (#10577) 2022-06-23 16:35:39 +08:00
Desperado2
4a3dfae006
[FIX] Could not find or load main class org.apache.zookeeper.ZooKeeperMain (#10535)
* Update remove-zk-node.sh

* Update remove-zk-node.sh

* Update remove-zk-node.sh

* Update remove-zk-node.sh
2022-06-21 17:26:52 +08:00
Jiajie Zhong
58afe5d8b5
[fix] Deploy scp-hosts use fullpath avoid dangling (#10249)
This path fix error modify worker application.yaml when
running `scp-hosts.sh` script in different directory. Currently
setting only work when running `scp-hosts.sh` in path
`<DOLPHINSCHEDULER_HOME>/bin` using command `./scp-hosts.sh`.
And will fail when we run script in directory
`<DOLPHINSCHEDULER_HOME>` using command `./bin/scp-hosts.sh`

ref: #10209 and #10208
2022-05-26 09:59:40 +08:00
Jiajie Zhong
117082154d
[fix][deploy] File overwrite when specific value set to installPath (#10241)
When our `installPath` in file `install_env.sh` set to `/`
or empty or related path to `/` some system specific directory
, like `/bin` and `libs`, will be overwritten, and it is not expected
2022-05-25 21:52:14 +08:00
旺阳
87d9ec1dee
[doc] Delete SPRING_DATASOURCE_DRIVER_CLASS_NAME in doc (#10228) 2022-05-25 11:45:16 +08:00
Eric Gao
4dbe27bb8f
[Bug][Deploy]Fix worker-server path in script scp-hosts.sh (#10208) (#10209) 2022-05-24 09:53:11 +08:00
xiangzihao
baf654cb47
[Feature-9474] [CI] Add cluster test script verify on shell script (#9997)
* cluster test

* fix init db failed

* fix init db failed

* fix init db failed

* fix init db failed

* fix init db failed

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add sudo

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* remove cluster-test workflows

* add github actions

* add github actions

* refactor test to docker mode

* refactor test to docker mode

* refactor test to docker mode

* refactor test to docker mode

* remove create schema logic

* remove create schema logic

* remove create schema logic

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* add github actions

* add github actions

* add github actions

* add cluster test timeout

* add cluster start test loop check

* add cluster start test loop check

* optimize cluster start test loop check
2022-05-14 12:30:57 +08:00
Jiajie Zhong
de50f43de6
[common] Make dolphinscheduler_env.sh work when start server (#9726)
* [common] Make dolphinscheduler_env.sh work

* Change dist tarball `dolphinscheduler_env.sh` location
  from `bin/` to `conf/`, which users could finish their
  change configuration operation in one single directory.
  and we only need to add `$DOLPHINSCHEDULER_HOME/conf`
  when we start our sever instead of adding both
  `$DOLPHINSCHEDULER_HOME/conf` and `$DOLPHINSCHEDULER_HOME/bin`
* Change the `start.sh`'s path of `dolphinscheduler_env.sh`
* Change the setting order of `dolphinscheduler_env.sh`
* `bin/env/dolphinscheduler_env.sh` will overwrite the `<server>/conf/dolphinscheduler_env.sh`
when start the server using `bin/dolphinsceduler_daemon.sh` or `bin/install.sh`
* Change the related docs
2022-04-25 15:35:43 +08:00
Paul Zhang
cc40816f87
[Bug][Script] Fix the type of variable workersGroupMap is not supported in bash 3.x (#9614) 2022-04-25 11:32:09 +08:00
xiangzihao
ec939fcc68
[Bug] [Dev] Fix start/stop/status/init script error (#9514)
* change /bin/sh to /bin/bash

* change /bin/sh to /bin/bash

* remove declear -A to adapt mac
2022-04-16 21:34:53 +08:00
mazhong
8821b91829
[FIX-9471][Script] fix run install.sh error (#9472) 2022-04-13 17:53:05 +08:00
Jiajie Zhong
3457cee960
[python] Migrate pythonGatewayServer into api server (#9372)
Currently the size of our distribute package is up to
800MB, this patch is migrate python gateway server into
api server

The distribute package size before and after this patch is:

```sh
# before
796M   apache-dolphinscheduler-2.0.4-SNAPSHOT-bin.tar.gz

# after
647M   apache-dolphinscheduler-2.0.4-SNAPSHOT-bin.tar.gz
```
2022-04-07 14:41:15 +08:00
xiangzihao
b024aabd12
[Fix-8744][standalone-server] start standalone server failed (#8747) 2022-03-09 13:26:28 +08:00
caishunfeng
84f2cfec39
[Feature][Server] Custom timezone - Add timezone handler unified (#8477)
* date convert of timezone

* remove @JsonFormat

* add unit test

* fix time preview in scheduler

* optimization & add env config

Co-authored-by: caishunfeng <534328519@qq.com>
2022-02-24 18:20:34 +08:00
wind
1038e6bf24
[deploy] Add datasource driver name into env (#8100)
Co-authored-by: caishunfeng <534328519@qq.com>
2022-01-18 17:22:24 +08:00
xiangzihao
2cf609ae61
[Fix-7885][Deploy] Output log should under logs/ directory (#7960)
* fix bug_7885

* fix bug_7885

* fix bug_7885

* fix bug_7885
2022-01-12 20:42:05 +08:00
Jiajie Zhong
da4a85943c
[python] Add independent deployment for python gateway server (#7549)
* [python] Add independent deployment to python gateway server

* Correct some error

* Add missing deployment change

* Add missing expose port

* Add missing standalone config

* Keyword change from rpc to socket

* try to fix

* Add python gateway server to scp-hosts.sh
2022-01-07 15:16:05 +08:00
Jiajie Zhong
62cac2d529
[deploy] Make install.sh as executable script (#7862)
* [deploy] Make install.sh as executable script
* Change file and dir mode in dist

fix: #7860
2022-01-07 13:24:00 +08:00
Aaron Lin
7fd94ffa40
[Improvement][Logger]Remove the logger server from the deployment (#7837) 2022-01-06 20:05:05 +08:00
Sunny Lei
5e9679f1b2
[Fix-7259][server] Fix the prompt for starting and stopping the API service (#7634)
* [DS-5229][fix] server port custom config
This closes #5229

* [DS-5229][feat] Implement server port custom config
This closes #5229

* [Bug] [readme] Error link to Docker and k8s in readme apache#6802 (#6862)

* [Bug] [readme] Error link to Docker and k8s in readme #6802
1、modify the error link

* [Bug] [readme] Error link to Docker and k8s in readme #6802
1、modify the error link in readme_zh_cn.md

* [DS-6829][WorkerServer] skip create log dir and print log in dryRun model (#6852)

Co-authored-by: caishunfeng <534328519@qq.com>

* [DS-5229][feat] Implement server port custom config
Modify review suggestion
This closes #5229

* to #6957 implement interface deleteUpstreamRelation deleteDownstreamRelation  (#6966)

* to #6957

* to #6957

* to #6957

* to #6957: group by process definition code

* to #6957: fix sonar

* to #6957: fix sonar

* to #6957: add ut , add preTaskVersion

* to #6957: fix style

* to #6957: use org.apache.dolphinscheduler.spi.utils.StringUtils

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* Add a demo docker-compose for testing the meter module (#6938)

* update schdule api (#6977)

* [DS-6961][MasterServer] batch dispatch (#6962)

* [DS-6961][MasterServer] batch dispatch

* fix test

Co-authored-by: caishunfeng <534328519@qq.com>

* Fix shell tools for database schema cannot run (#7003)

* [improvement] improve install.sh if then statement (#6782)

* [Fix] Executing install.sh failed when password and others contain @

* Update install.sh

Co-authored-by: Jiajie Zhong <zhongjiajie955@hotmail.com>

Co-authored-by: Kirs <acm_master@163.com>
Co-authored-by: Jiajie Zhong <zhongjiajie955@hotmail.com>

* [Improvement-5785][common] Fix code format (#6864)

* [DS-5785][style] Fix common module code format

* [DS-5785][style] Fix common module code format

* to #7005: transform params to SPRING_DATASOURCE_XXX (#7007)

* to #7005: transform params to SPRING_DATASOURCE_XXX

* to #7005: exclude h2

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* fix(kerboros): set correct classloader for kerboros conf load in plugin tasks (#7027)

Co-authored-by: xudong.zhang <xudong.zhang@nio.com>

* Refactor code, add class import. (#7028)

* [community] Add new release version to issue template (#7021)

* [Improvement][API][num-1 & 2] Implement createEmptyProcessDefinition & updateProcessDefinitionBasicInfo (#6984)

* [feature] finish interface createEmptyProcessDefinition

* [feature] finish interface updateProcessDefinitionBasicInfo

* [feature] use class Schedule replace ScheduleDto and delete it.

* [feature] delete chinese comment.

* [Improvement] change '.*' to single form of import

Co-authored-by: 熠然 <yangjianhua@cai-inc.com>
Co-authored-by: edward-yang <yangjianh210@gmail.com>

* [Upgrade][install] upgrade compatibility exception (#7030)

* upgrade compatibility exception

* upgrade compatibility exception

* to #7000: implement deleteTaskProcessRelation (#7043)

* to #7000: implement deleteTaskProcessRelation

* to #7000: ! CollectionUtils.isEmpty -> CollectionUtils.isNotEmpty

* to #7000: fix bug

* to #7000: add UT

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* add processDefinition releaseWorkflowAndSchedule (#7044)

* to #7001: delete certain edge in processDefinition (#7038)

* to #7001: delete certain edge in processDefinition

* to #7001: delete certain edge in processDefinition

* to #7001: delete certain edge in processDefinition

* to #7001: delete certain edge in processDefinition

* to #7001: fix checkstyle

* to #7001: delete edge by projectCode,processDefinitionCode,preTaskCode and postTaskCode

* to #7001: add UT

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* [Improvement][API][num-1] save schedule when workflow is offline in interface 'createEmptyProcessDefinition' (#7047)

* [Improvement] save schedule when workflow is offline

* [Improvement] rollback transactional when creating/updating schedule failed.

* [Improvement] resolve merge conflict

* [Improvement] do not set projectName and processDefinitionName when saving schedule

* [Improvement] do not set projectName and processDefinitionName when saving schedule

Co-authored-by: edward-yang <yangjianh210@gmail.com>

* [DS-6963][MasterServer]add cache manager for tenant and user (#6974)

* cache manager for tenant and user

* add test

* fix checkstyle

* add dependencies

* fix sonar check

* use spring boot cache configuration

* add license

* check style

* check style

* add license

* change proxy name to processor

* add license header

* check style

* add license file

* add license file

* add license

Co-authored-by: caishunfeng <534328519@qq.com>

* [Fix-7019][MasterServer] Fix the issue with failing to save and run the process that contains the switch task. (#7046)

* fix token delete request 404 (#6979)

* Fix view task status module on project homepage cannot read property label of undefined (#6956)

* [Improvement][API][num-9] add ProcessTaskRelationServiceImpl.moveTaskProcessRelation (#7053)

* add processDefinition releaseWorkflowAndSchedule

* add ProcessTaskRelationServiceImpl.moveTaskProcessRelation

* add dependency and subprocess judgement

* [DS-7004][MasterServer]fix master still work when it lose zk connection (#7045)

Co-authored-by: caishunfeng <534328519@qq.com>

* [BUG] master task log can't output repair (#7029)

* update task_definition_log field typ

update task_definition_log  field task_params type,modify text to longtext to be consistent with the main table

* update t_ds_task_definition_log field task_params

update t_ds_task_definition_log field task_params

* [FIX:211128] master task log Can't output repair

Co-authored-by: crane <zhangbq3306@163.com>

* return domain after creating success (#7050)

Co-authored-by: ouyangyewei <yewei.oyyw@alibaba-inc.com>

* Add E2E tests for some core features (#7025)

* to #7055: tenant-auto-create: true (#7056)

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* Recover unit tests that have not been run for some time (#7054)

* [Fix-6809][dolphinscheduler-task-sql] Fix sql task can't send alert (#7089)

* [Fix][Create Warning Instance Edit] Fix the problem of incomplete display of the edit form. (#7096)

* [Improvement-7092][UI] Optimize DAG to adapt to situations without locations (#7102)

* [Fix-7070][UI] Remedy the issue with no saving the timeout's strategy into the database. (#7107)

* [Improvement][API] fix 6772 new api bug (#7098)

* add processDefinition releaseWorkflowAndSchedule

* add ProcessTaskRelationServiceImpl.moveTaskProcessRelation

* add dependency and subprocess judgement

* fix api bug

* fix codestyle

* [Fix-7083] [UI] The switch task is missing the else branch (#7084)

* to #7108 (#7109)

* add TaskProcessorFactoryTest Ignore. (#7130)

* [Fix-7103] Fix the issue with the sqoop task missing the verification of props. (#7119)

* add the verification of parameters for the sqoop task

* [Feature][Workflow relationship] Improve English support. (#7129)

* [Feature][Workflow relationship] Format time. (#7123)

* [Feature-6930] [Python]Add workflow as code task type sub_process (#7022)

* [python] add subProcess task

* refactor python gateway server and task for subprocess

* add function comment for getProcessDefinition

* change process_definition usage of Subprocess task

* [Feature-#6422] task group queue (#6722)

* add task group

* modify task group

* pull dev

* add license header

* modify code style

* fix code style

* fix sql error

* fix error

* fix test

* fix test

* fix test

* fix test

* fix code style

* fix ut

* code style

* fix unit test

* test ut

* ut

* add unittest

* test ut

* modify back ut

* majorization code

* fix conflict

* fix ut

Co-authored-by: wangxj <wangxj31>

* [Feature][Workflow relationship] Format name. (#7143)

* to #7065: fix ExecutorService and schedulerService (#7072)

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* [Feature][dolphinscheduler-api] access control of processDefinition and processInstance in project #7073 (#7080)

* to #7073

* to #7073

* to #7073

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* Optimize the display of the pop-up window for creating worker groups (#7148)

* [Feature][dolphinscheduler-api] access control of taskDefinition and taskInstance in project to #7081  (#7082)

* to #7081

* fix #7081

* to #7081

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* fix this issue (#7120)

* [UT#7157]Fix Ut Run Error (#7158)

* to #7157

* to #7157

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* [Feature-6988][MasterServer] add cache manager for workflow (#7090)

* add cache manager for workflow

* [DS-6988][MasterServer] add cache manager for workflow

* cache evict code optimization

* test

Co-authored-by: caishunfeng <534328519@qq.com>

* [Bug] [dolphinscheduler-api] The pages of project management, workflow instance and task instance are accessed slowly #7061 (#7139)

1、I found that the SQL behind this interface is very slow. The main table is large, but there is no index to use. By add the index, the all mode in the query plan can be changed into a more efficient ref mode. If this optimization still fails to meet the requirements, please contact me and I will continue to optimize。
2、modify index start_time_index in init script and upgrade scripts.

* [BUG][SQL] fix the process list page load slowly. (#7166)

* fix #7601 move ddl to 2.0.1

* fix #7601 move ddl to 2.0.1

* [Feature][MasterServer] add cache for workGroup and schedule #6987 (#7161)

* to #6987

* to #6987

* to #6987

* to #6987

* to #6987

* to #6987: @Param -> @Name

* to #6987: fix Sonar

* to #6987: fix Sonar

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* to feature #7169 (#7170)

Co-authored-by: ouyangyewei <yewei.oyyw@alibaba-inc.com>

* Refactor code, add class import, keep ‘logger’ variable names uniform. (#7164)

* to feature #7110 (#7111)

Co-authored-by: ouyangyewei <yewei.oyyw@alibaba-inc.com>

* [Feature][Workflow] Main package. (#7177)

* [Fix][Warning instance manage] Expand the support of `i18n`. (#7184)

* [Fix-7093][dolphincheduler-server] fix dependent node stuck in running (#7116)

* fix bug 7093

* remove redundant else

Co-authored-by: SbloodyS <sbloodys@qq.com>

* [Fix-5551][common] Fix ExecutionStatus for hive-on-Tez application (#6289)

* add ENDED state

* Update HadoopUtils.java

* to feature #7180 (#7185)

Co-authored-by: ouyangyewei <yewei.oyyw@alibaba-inc.com>

* [Fix-7037][dolphincheduler-server] process instance can not be killed when complement data (#7140)

* fix bug 7037

* update processComplementData

Co-authored-by: SbloodyS <sbloodys@qq.com>

* [Feature][dolphinscheduler-api] add queryLog and downloadTaskLog with projectCode #7153 (#7192)

* [Feature][dolphinscheduler-api] add queryLog and downloadTaskLog with projectCode #7153

* [Feature][dolphinscheduler-api] add queryLog and downloadTaskLog with projectCode #7153

* [Feature][dolphinscheduler-api] add queryLog and downloadTaskLog with projectCode #7153

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* to feature #7191 (#7194)

Co-authored-by: ouyangyewei <yewei.oyyw@alibaba-inc.com>

* [Fix-7154][API] Fix MultipartFile resource [file] cannot be resolved to absolute file… (#7155)

* fix MultipartFile resource [file] cannot be resolved to absolute file path

* update testCopyFile.

* [Implement][server]TaskProcessor code optimization (#7146)

* TaskProcessor code optimization

* fix code style

* update Collectors.toMap

* fix worker group display (#7208)

* [Fix-7195] The file path of  2.0.1-schema  used a wrong separator. (#7200)

* [Bug-7206] [MasterServer] fix process isntance always running when task timeout (#7207)

* fix timeout

* add task timeout map to avoid repeated timeout event

* split task check list for retry and timeout

Co-authored-by: caishunfeng <534328519@qq.com>

* add two files (#7223)

* fix postgre upgrade (#7230)

Co-authored-by: caishunfeng <534328519@qq.com>

* [Bug] [API] queryProcessDefinitionByCode bug (#7221)

* [Bug] [API] task definition release/delete bug (#7232)

* fix worker group display

* fix workflow query bug

* fix workflow query bug

* fix task definition release/delete bug

* [Feature-6963][MasterServer] unified cache manager (#7187)

* unified cache

* reduce db select

* checkstyle

Co-authored-by: caishunfeng <534328519@qq.com>

* [Refactor]Rename class file, DatasourceUtil  to  DataSourceUtils. (#7181)

* Rename class file, DatasourceUtil  to  DataSourceUtils.

* Fix homepage user wrong statistics result for new user (#7242)

* Fix homepage user wrong statistics result for new user

For now, when we create a new user, it would see homepage
statistic info as admin user like, cause `projectCodeArray`
would not filter when we render SQL. So I add prefix conditions
to handle this situation.

Also, I do some minimal refactor here. including change function
name no quit fit

fix: #7182

* Fix UT

* to #7228 (#7249)

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* [Feature][dolphinscheduler-api] parse traceId in http header for Cross system delivery to #7237 (#7238)

* to #7237

* rerun test

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* [bug] fix task definition delete (#7244)

Co-authored-by: edward-yang <yangjianh210@gmail.com>

* fix  Property or field 'all' cannot be found (#7246)

* [Fix-7235][datasource] unable to confige the multi-hosts (#7235) (#7253)

* [Bug][dolphinscheduler ui] When the edit time is repaired, the alarm group display. (#7262)

* [ISSUE 6444]Optimize task node helper document in workflow toolbar (#7226)

* [ISSUE 6444]Optimize task node helper document in workflow toolbar

* fix some review issue than submit by DS

* refact by add guard judgement when type is undefined

* move method helpUrlEnable and helpUrl nest in 'methods' body

* fix failover logic (#7275)

Co-authored-by: caishunfeng <534328519@qq.com>

* [python] Refactor get object define communicate to gateway (#7272)

* Change class Base `to_dict` to `get_define` for more clearer
* Remove class TaskParams and sub class make code easy to
  understand and avoid task implement cycle dependence
* Remove class ObjectJsonBase in Task to reduce complexity

fix: #7271

* [Fix-7277][datasource] Support Kerberos auto renewal (#7277) (#7278)

* Split the components into individual package, refactor configurations to use Spring properties (#7160)

* Split the components into individual package

A follow-up PR will be made to build dedicated Docker images for each
component, so that every component Docker image has minimal jars, which
is easy to maintain and good for security fixes.

* Split the components into individual package

A follow-up PR will be made to build dedicated Docker images for each
component, so that every component Docker image has minimal jars, which
is easy to maintain and good for security fixes.

* Split the components into individual package

A follow-up PR will be made to build dedicated Docker images for each
component, so that every component Docker image has minimal jars, which
is easy to maintain and good for security fixes.

* fix in the process alarm message, projectid is 0 (#7298)

* to feature-7301 (#7308)

Co-authored-by: ouyangyewei <yewei.oyyw@alibaba-inc.com>

* fix TaskResponseProcessor process NullPointerException (#7318)

* [Bug-7292][ApiServer] fix cache error when standalone (#7293)

* Fix the missing project information in the process instance timeout alarm (#7324)

* fix a few issues in the sql file (#7327)

* Fix some SQL issues and make docker-compose runnable (#7329)

* Fix typo in docker swarm (#7336)

* Adjust Helm Chart templates in dev branch (#7353)

* [python] Add task base database and procedure (#7279)

We add a new task procedure, and add parent class database
for both sql task and procedure task

fix: #6929

* Fix E2E workflow (#7377)

* [Fix-7375][datasource] remove excess hive jdbc principal (#7375) (#7381)

* [Fix-7375][datasource] remove excess hive jdbc principal (#7375)

* fix ut

* [Bug-7319][MasterServer] fix taskNode NPE when switch else branch is empty (#7320)

Co-authored-by: caishunfeng <534328519@qq.com>

* [Fix-7291][datasource] Compatible with different versions of MySQL data source loading (#7291) (#7305)

* [Feature][UI-Next]: Build a front-end refactoring project. (#7387)

* Fix alert plugin instance filter (#7172) (#7210)

* Fix alert plugin instance filter (#7172)

alert plugin could not filter by given
pattern, cause api server do not handle
parameter searchVal, This patch add parameter
`searchVal` for alert plugin.

fix: #7209

* Add test

* Recover AlertPluginInstanceVO

* [Feature-7110][dolphinscheduler-api] support grant project by code (#7390)

Co-authored-by: ouyangyewei <yewei.oyyw@alibaba-inc.com>

* [Fix][Project List UI] Fix the calling interface that keeps decreasing by one after manually setting the `pageNo` parameter. (#7399)

* to feature 7401 (#7404)

Co-authored-by: ouyangyewei <yewei.oyyw@alibaba-inc.com>

* [Refactor] Rename class file, unified word spelling. (#7261)

* [python] Fix task procedure define error (#7407)

Cause procedure parameter name need `method` instead of `sql`
we change it's name. And remove parameter `sql` from parent
class `Database`

closes: #7386

* [Feature-7408][dolphinscheduler-api] Built GenerateToken into the UpdateToken API (#7411)

* to feature 7408

* trigger e2e test

Co-authored-by: ouyangyewei <yewei.oyyw@alibaba-inc.com>

* [DS-7256][refactor] Optimization for task instances query (#7331)

- assemble a Map<Long, User> outside of the loop instead of the query inside

Co-authored-by: gq47193 <gq47193@ly.com>

* to feature 7418 (#7420)

Co-authored-by: ouyangyewei <yewei.oyyw@alibaba-inc.com>

* [Fix-7392][dolphinscheduler-datasource] Add hive datasource failed (#7393)

* fix bug_7392

* fix bug_7392

* fix bug_7392

Co-authored-by: SbloodyS <sbloodys@qq.com>

* [Feature][UI Next] Improve some basic configuration. (#7430)

* [Fix-#6854][dao] fix "ResourceMapper.xml -> queryResourcePaging" sql bug (#6907)

* fix complement data retry bug; issues: [Bug] [Master] A bug on task retry mechanism #6613

* [DS-#5293][chore]upgrade cron-utils version 5.0.5 -> 9.1.3

* [DS-#5293]update the licensing information of that dependency

* [DS-#5293]update the licensing information of that dependency

* update the licensing information of that dependency

* [DS-#5293]update the licensing information of that dependency

* [DS-#6854][fix] fix "ResourceMapper.xml -> queryResourcePaging" sql bug

* [DS-#6854][fix] fix "ResourceMapper.xml -> queryResourcePaging" sql bug

Co-authored-by: yangqiyu <yangqiyu@deepexi.com>

* [python] Add task dependent (#7405)

fix: #6926

* feat: Added the configuration of routes (#7433)

* add task-logger config (#7423)

Co-authored-by: caishunfeng <534328519@qq.com>

* [Fix-7340] Improve the prompt content for deleting a project that didn't exist. (#7449)

* improve the prompt

* [Improvement-7213][MasterServer] execute thread pool code optimization (#7258)

* threadpool optimization

* threadpool params

* rebase dev

* ut check fix

* add return

* rebase dev

* event loop

Co-authored-by: caishunfeng <534328519@qq.com>

* Build and publish snapshot Docker images for testing (#7454)

* Adjust logging levels for third party libraries (#7453)

* feat: Added login pages and functions (#7456)

* [Feature-7349] [Python]Add workflow as code task type datax (#7437)

* support datax task by python
* add task datax example

Co-authored-by: Jiajie Zhong <zhongjiajie955@gmail.com>

* fix this bug (#7461)

* [Feature][UI Next] Add apis. (#7463)

* [Feature][UI Next] Interface debugging(login)

* [Feature-7460][Alert] Wechat alert add send to group chat (#7465)

* feature_7460

* feature_7460

Co-authored-by: SbloodyS <sbloodys@qq.com>

* remove date+1 when the data is supplemented (#7452)

* Update ProcessDefinitionServiceImpl.java (#7470)

fix typos for logger.error

* [Feature][UI Next] Write part of the api method. (#7476)

* Remove redundant parameters [zookeeper.version] in dolphinscheduler/pom.xml(#7486)

* [Fix-7146][server]Fix the task processor thread is not safe. (#7488)

* Fix the task processor thread is not safe.

* fix code style

* [Feature][UI Next] Write part of the api method. (#7507)

* [DS-7227][refactor] optimize alert plugin instance list order (#7506)

[DS-7227][refactor] optimize alert plugin instance list order
query all alert plugin instance list order by update time desc
optimize `select *` sql in the AlterPluginInstanceMapper.xml

* Add new version 2.0.1 to issue bug template (#7458)

Add new version 2.0.1 for github issue template and remove versions not LTS

* [Fix-7485][datasource-plugin] Fix create hive datasource using ZooKeeper way in 2.0.1 (#7489)

* refactor: Refactor Login to better match the composition API implementation (#7519)

* fix http alarm msg ignored (#7523)

See https://github.com/apache/dolphinscheduler/issues/7522

* [Fix-7525][Feature][UI Next] Provide a common  layout for the module of dolphinscheduler-ui-next. (#7526)

* add layout

* add layout

* add layout

* add routes

* add routes

* modify layout

* modify layout

* modify layout

* modify layout

* improve a few issues with code specification

* [Feature][UI Next]: Rearrange the routing and format the code (#7533)

* fix: Rearrange the routing and format the code

* To fix the problem

To fix the problem

* [python] Add task condition (#7505)

* [python] Add task condition

close: #6927

* Add example and set downstream dep

* [python] Add task switch (#7531)

* [python] Add task switch

close: #6928

* Fix code style

* Unify the element selector rules for E2E (#7409)

* Unify the element selector rules for E2E

* Fix typo in docker swarm

* [Feature][UI Next] Add charts setting. (#7543)

* [Feature][UI Next] Add charts setting. (#7547)

* fix bug_7537 (#7551)

Co-authored-by: SbloodyS <sbloodys@qq.com>

* [Bug-7333][MasterServer] fix duplicate key task definition (#7335)

Co-authored-by: caishunfeng <534328519@qq.com>

* [Improvement-#7529][tools] Init DB schema from the full sql file. (#7530)

* [Fix-#7480] [Standalone] add logger server (#7481)

* Change build context to avoid cache

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>

* Fix database lose data in standalone (#7556)

* Modify contribution document (#7552)

* [Improvement] Merge redundant codes (#7550)

* [Feature][UI Next]Refactoring layout  (#7558)

* refactor: Refactoring layout

* chore: Delete unnecessary packages

* finished issue#7527 (#7561)

Co-authored-by: 时光 <caizhedong@cai-inc.com>

* Update README.md (#7586)

* Update README.md

* Update README.md

Co-authored-by: Kirs <ACM_China@yeah.net>

* Revert "Fix database lose data in standalone (#7556)" (#7604)

This reverts commit 82075a4476.

* [Fix-7534][Master] zookeeper failover error (#7562)

* fix bug_7534

* fix bug_7534

* fix bug_7534

* fix bug_7534

* fix bug_7534

* fix bug_7534

Co-authored-by: SbloodyS <sbloodys@qq.com>

* [Feature][UI Next] Add charts i18n. (#7568)

* [Feature-#6422] [api-server] task group queue (#7491)

* add task group

* modify task group

* pull dev

* add license header

* modify code style

* fix code style

* fix sql error

* fix error

* fix test

* fix test

* fix test

* fix test

* fix code style

* fix ut

* code style

* fix unit test

* test ut

* ut

* add unittest

* test ut

* modify back ut

* majorization code

* fix conflict

* fix ut

* add task group api

* reset file

* fix ut

* fix lost column

* fix ut

* fix ut

* fix ut

* fix ut

* delete duplicate code

* fix code style 、name

* fix ut

* fix mapper

Co-authored-by: wangxj <wangxj31>

* [Feature][UI Next] Add card component. (#7606)

* [Feature][UI Next] Add card component.
* [Feature][UI Next] Update card component props.

* Required E2E to pass before PR can be merged (#7612)

* [python] Correct python import syntax in example (#7617)

fix: #7615

* Try (#7603)

* [Fix-7520][Master] Data too long for column 'task_params' at row 1 (#7521)

* fix bug_7520

* fix bug_7520

* fix bug_7520

* bug_7520

Co-authored-by: SbloodyS <sbloodys@qq.com>

* [BUG-7554] Fix database lose data in standalone (#7620)

* Fix the wrong lifecycle phase of initialization

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>

* [Feature-7576][Master] Optimize complement task's date (#7585)

* feature_7576

* feature_7576

* feature 7576

* feature 7576

* to #7609 (#7611)

Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>

* [python] Fix task relation wrong hashable function (#7628)

* [python] Fix task relation wrong hashable function

Currently our :class:`TaskRelation` have wrong __hash__
function, would mistake a object as same object. It failed
our dependence and process definition. this patch fix it
by adding `_KEY_ATTR` to overwrite TaskRelation's __eq__
and correct __hash__ func

close: #7627

* Fix code format

* fix bug_7564 (#7625)

* fix bug_7629 (#7630)

* [DS-7259][fix] Modify the prompt for

This closes #7259

Co-authored-by: GaoTianDuo <gaotianduo_yewu@cmss.chinamobile.com>
Co-authored-by: wind <caishunfeng@users.noreply.github.com>
Co-authored-by: caishunfeng <534328519@qq.com>
Co-authored-by: zwZjut <zw15068835817@163.com>
Co-authored-by: honghuo.zw <honghuo.zw@alibaba-inc.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
Co-authored-by: JinYong Li <42576980+JinyLeeChina@users.noreply.github.com>
Co-authored-by: xuhhui <szhhxu@163.com>
Co-authored-by: Kirs <acm_master@163.com>
Co-authored-by: Jiajie Zhong <zhongjiajie955@hotmail.com>
Co-authored-by: lvshaokang <lvshaokang@hotmail.com>
Co-authored-by: sparklezzz <zhang.xd927@gmail.com>
Co-authored-by: xudong.zhang <xudong.zhang@nio.com>
Co-authored-by: Zonglei Dong <dongzonglei@apache.org>
Co-authored-by: EdwardYang <yangjianh210@126.com>
Co-authored-by: 熠然 <yangjianhua@cai-inc.com>
Co-authored-by: edward-yang <yangjianh210@gmail.com>
Co-authored-by: Hua Jiang <jianghuachinacom@163.com>
Co-authored-by: Kerwin <37063904+zhuangchong@users.noreply.github.com>
Co-authored-by: zhang <60912722+boy-xiaozhang@users.noreply.github.com>
Co-authored-by: crane <zhangbq3306@163.com>
Co-authored-by: ouyangyewei <ouyangyewei@foxmail.com>
Co-authored-by: ouyangyewei <yewei.oyyw@alibaba-inc.com>
Co-authored-by: 张俊杰 <545245855@qq.com>
Co-authored-by: songjianet <1778651752@qq.com>
Co-authored-by: wangyizhi <wangyizhi1_yewu@cmss.chinamobile.com>
Co-authored-by: Devosend <devosend@gmail.com>
Co-authored-by: wangxj3 <857234426@qq.com>
Co-authored-by: BaoLiang <29528966+lenboo@users.noreply.github.com>
Co-authored-by: SbloodyS <460888207@qq.com>
Co-authored-by: SbloodyS <sbloodys@qq.com>
Co-authored-by: Manhua <kevinjmh@qq.com>
Co-authored-by: mask <39329477+Narcasserun@users.noreply.github.com>
Co-authored-by: 百岁 <mozhenghua19811109@126.com>
Co-authored-by: mgduoduo <openzerol@163.com>
Co-authored-by: gq47193 <gq47193@ly.com>
Co-authored-by: KyoYang <39785282+yangqiyu0306@users.noreply.github.com>
Co-authored-by: yangqiyu <yangqiyu@deepexi.com>
Co-authored-by: labbomb <739955946@qq.com>
Co-authored-by: Jiajie Zhong <zhongjiajie955@gmail.com>
Co-authored-by: Ivan0626 <huangqibing123@163.com>
Co-authored-by: huangxiaohai <929228748@qq.com>
Co-authored-by: Tom <532066967@qq.com>
Co-authored-by: wangbowen <419444275@qq.com>
Co-authored-by: Jiezhi.G <Jiezhi@users.noreply.github.com>
Co-authored-by: lgcareer <18610854716@163.com>
Co-authored-by: Wenjun Ruan <wenjun@apache.org>
Co-authored-by: J·Y <jinsyin@gmail.com>
Co-authored-by: 时光 <41109695+yikeshiguang@users.noreply.github.com>
Co-authored-by: 时光 <caizhedong@cai-inc.com>
Co-authored-by: lifeng <53861852+nielifeng@users.noreply.github.com>
Co-authored-by: Kirs <ACM_China@yeah.net>
2021-12-27 11:05:26 +08:00
xiangzihao
2d73083e87
fix bug_7629 (#7630) 2021-12-26 19:48:59 +08:00
kezhenxu94
2ff76c7e73
Fix some SQL issues and make docker-compose runnable (#7329) 2021-12-10 23:51:42 +08:00
kezhenxu94
67cc260d52
Split the components into individual package, refactor configurations to use Spring properties (#7160)
* Split the components into individual package

A follow-up PR will be made to build dedicated Docker images for each
component, so that every component Docker image has minimal jars, which
is easy to maintain and good for security fixes.

* Split the components into individual package

A follow-up PR will be made to build dedicated Docker images for each
component, so that every component Docker image has minimal jars, which
is easy to maintain and good for security fixes.

* Split the components into individual package

A follow-up PR will be made to build dedicated Docker images for each
component, so that every component Docker image has minimal jars, which
is easy to maintain and good for security fixes.
2021-12-10 11:28:53 +08:00
kezhenxu94
ef0cb46661
Fix shell tools for database schema cannot run (#7003) 2021-11-26 11:10:38 +08:00
kezhenxu94
2de4a3cbb5
Add a demo docker-compose for testing the meter module (#6938) 2021-11-24 17:22:30 +08:00
kezhenxu94
4114cb07f6
Add actuator and enable metrics, add Grafana configs (#6840) 2021-11-14 20:22:13 +08:00
mask
a998415afe
[Feature][datasource] Change DataSource Connection Pool from Druid to HiKariCP (#6490) (#6828)
* [Feature][datasource] Change DataSource Connection Pool from Druid to HiKariCP (#6490)

* fix pom dep scope

* filter alert

* filter alert

* filter alert

* fix checkstyle

* remove hikaricp version

* update pom

* add properties

* add properties

* rename properties

* fix e2e fail

* rename properties
2021-11-14 13:02:58 +08:00
kezhenxu94
11844415b0
Refactor datasource and task plugins and simplify its usage (#6767) 2021-11-10 18:29:17 +08:00
kezhenxu94
02350ea37b
Fix datasource not work in tests and standalone server, and run all tests by default (#6743) 2021-11-09 16:57:26 +08:00
kezhenxu94
5400abc74f
Refactor registry plugin and simplify its usage (#6712) 2021-11-07 15:18:10 +08:00
Jiajie Zhong
6495a204f3
Fix install.sh for DS 2.0 and add comment to install_config.conf (#6506)
* Fix install.sh for DS 2.0

* Use #* make it work in macos

* Add comment for properties change

* Add JAVA HOME for only one file change to deploy

* Reduce config change by using default value of: plugin registry, alert, task as

* Change javaHome default value

* Delete config param zkQuorum

* Reorder param

* Add comment for install_config.conf
2021-10-14 11:13:05 +08:00
kezhenxu94
bf90106d0c
Add standalone server module to make it easier to develop (#6022) 2021-08-23 13:25:33 +08:00