* 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>
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
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
* [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
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
```
* 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>
* [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>
* 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 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
* [Improvement][dao]When I search for the keyword description, the web UI shows empty (#5952)
* [Bug][WorkerServer] SqlTask NullPointerException #5549
* [Improvement][dao]When I search for the keyword Modify User, the web UI shows empty #5428
* [Improvement][dao]When I search for the keyword Modify User, the web UI shows empty #5428
* [Improvement][dao]When I search for the keyword Modify User, the web UI shows empty #5428
* [Improvement][dao]When I search for the keyword Modify User, the web UI shows empty #5428
* [Improvement][dao]When I search for the keyword Modify User, the web UI shows empty #5428
* [Improvement][dao]When I search for the keyword Modify User, the web UI shows empty #5428
* [Improvement][dao]When I search for the keyword description, the web UI shows empty #5428
* fix the readme typing issue (#5998)
* Fix unchecked type conversions
* Use indentation level reported by checkstyle
* Reorganize CI workflows to fasten the wasted time and resources (#6011)
* Add standalone server module to make it easier to develop (#6022)
* Task node of SWITCH (#5939)
* [Feature-#5273][server-master] Task node of SWITCH (#5922)
Co-authored-by: wangxj <wangxj31>
* remove description of bonecp (#6030)
Co-authored-by: shaojwu <shaojwu@ebay.com>
* [Improvement][Api Module]split alert group list-paging interface (#5941)
* [Improvement][Api Module]split alert group list-paging interface
* [FIX-#6007]Wrong complement date (#6026)
* [FIX-#6007]Wrong complement date
* [style]Wrong complement date
* [Improvement-6024][dist] Remove useless packaging commands (#6029)
·Remove useless packaging commands in dolphinscheduler-bin.xml
This closes#6024
Co-authored-by: mask <liuhu@zhiyoutec.com>
* [FIX-5908][MasterServer] When executing an compensation task, the execution thread would have a NPE (#5909)
* fix the npe in MasterExec
* fix the compile error
* Add `.asf.yaml` to easily set the GitHub metadata (#6035)
* fix dead server cannot stop (#6046)
* Enhancement Translation (#6042)
* replaced Loading... with i18n
* modified Edit zh_CN translation
* Delete zh_CN.js
Co-authored-by: David <dailidong66@gmail.com>
* fix bug #6053 zh_CN.js is lost
* [Feature][Plugin]Task
* fix license head
* fix code style
* fix code style
* fix build err
Co-authored-by: didiaode18 <563646039@qq.com>
Co-authored-by: Roy <yongjuncao1213@gmail.com>
Co-authored-by: lyxell <alyxell@kth.se>
Co-authored-by: Wenjun Ruan <wenjun@apache.org>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
Co-authored-by: myangle1120 <942542838@qq.com>
Co-authored-by: wangxj3 <857234426@qq.com>
Co-authored-by: gabry.wu <gabrywu@apache.org>
Co-authored-by: shaojwu <shaojwu@ebay.com>
Co-authored-by: Shukun Zhang <60541766+andream7@users.noreply.github.com>
Co-authored-by: linquan <1175687813@qq.com>
Co-authored-by: mask <39329477+Narcasserun@users.noreply.github.com>
Co-authored-by: mask <liuhu@zhiyoutec.com>
Co-authored-by: kyoty <echohlne@gmail.com>
Co-authored-by: RichardStark <49977764+RichardStark@users.noreply.github.com>
Co-authored-by: David <dailidong66@gmail.com>
Co-authored-by: lenboo <baoliang.leon@gmail.com>
* [BUG-#5678][Registry]fix registry init node miss (#5686)
* [Improvement][UI] Update the update time after the user information is successfully modified (#5684)
* improve
edit the userinfo success, but the updatetime is not the latest.
* Improved shell task execution result log information, adding process.waitFor() and process.exitValue() information to the original log (#5691)
Co-authored-by: shenglm <shenglm840722@126.com>
* [Feature-#5565][Master Worker-Server] Global Param passed by sense dependencies (#5603)
* add globalParams new plan with varPool
* add unit test
* add python task varPoolParams
Co-authored-by: wangxj <wangxj31>
* Issue robot translation judgment changed to Chinese (#5694)
Co-authored-by: chenxingchun <438044805@qq.com>
* the update function should use post instead of get (#5703)
* enhance form verify (#5696)
* checkState only supports %s not {} (#5711)
* [Fix-5701]When deleting a user, the accessToken associated with the user should also be deleted (#5697)
* update
* fix the codestyle error
* fix the compile error
* support rollback
* [Fix-5699][UI] Fix update user error in user information (#5700)
* [Improvement] the automatically generated spi service name in alert-plugin is wrong (#5676)
* bug fix
the auto generated spi service can't be recongized
* include a new method
* [Improvement-5622][project management] Modify the title (#5723)
* [Fix-5714] When updating the existing alarm instance, the creation time should't be updated (#5715)
* add a new init method.
* [Fix#5758] There are some problems in the api documentation that need to be improved (#5759)
* add the necessary parameters
* openapi improve
* fix code style error
* [FIX-#5721][master-server] Global params parameter missing (#5757)
Co-authored-by: wangxj <wangxj31>
* [Fix-5738][UI] The cancel button in the pop-up dialog of `batch copy` and `batch move` doesn't work. (#5739)
* Update relatedItems.vue
* Update relatedItems.vue
* [Improvement#5741][Worker] Improve task process status log (#5776)
* [Improvement-5773][server] need to support two parameters related to task (#5774)
* add some new parameter for task
* restore official properties
* improve imports
* modify a variable's name
Co-authored-by: jiang hua <jiang.hua@zhaopin.com.cn>
* [FIX-5786][Improvement][Server] When the Worker turns down, the MasterServer cannot handle the Remove event correctly and throws NPE
* [Improvement][Worker] Task log may be lost #5775 (#5783)
* [Imporvement #5725][CheckStyle] upgrade checkstyle file (#5789)
* [Imporvement #5725][CheckStyle] upgrade checkstyle file
Upgrade checkstyle.xml to support checkstyle version 8.24+
* change ci checkstyle version
* [Fix-5795][Improvement][Server] The starttime field in the HttpTask log is not displayed as expected. (#5796)
* improve timestamp format
make the startime in the log of httptask to be easier to read.
* fix bad code smell and update the note.
* [Imporvement #5621][job instance] start-time and end-time (#5621) (#5797)
·the list of workflow instances is sorted by start time and end time
·This closes#5621
* fix (#5803)
Co-authored-by: shuangbofu <fusb@tuya.com>
* fix: Remove duplicate "registryClient.close" method calls (#5805)
Co-authored-by: wen-hemin <wenhemin@apache.com>
* [Improvement][SPI] support load single plugin (#5794)
change load operation of 'registry.plugin.dir'
* [Improvement][Api Module] refactor registry client, remove spring annotation (#5814)
* fix: refactor registry client, remove spring annotation
* fix UT
* fix UT
* fix checkstyle
* fix UT
* fix UT
* fix UT
* fix: Rename RegistryCenterUtils method name
Co-authored-by: wen-hemin <wenhemin@apache.com>
* [Fix-5699][UI] Fix update user error in user information introduced by #5700 (#5735)
* [Fix-5726] When we used the UI page, we found some problems such as parameter validation, parameter update shows success but actually work (#5727)
* enhance the validation in UI
* enchance form verifaction
* simplify disable condition
* fix: Remove unused class (#5833)
Co-authored-by: wen-hemin <wenhemin@apache.com>
* [fix-5737] [Bug][Datasource] datsource other param check error (#5835)
Co-authored-by: wanggang <wanggy01@servyou.com.cn>
* [Fix-5719][K8s] Fix Ingress tls: got map expected array On TLS enabled On Kubernetes
[Fix-5719][K8s] Fix Ingress tls: got map expected array On TLS enabled On Kubernetes
* [Fix-5825][BUG][WEB] the resource tree in the process definition of latest dev branch can't display correctly (#5826)
* resoures-shows-error
* fix codestyle error
* add license header for new js
* fix codesmell
* [Improvement-5852][server] Support two parameters related to task for the rest of type of tasks. (#5867)
* provide two system parameters to support the rest of type of tasks
* provide two system parameters to support the rest of type of tasks
* improve test conversion
* [Improvement][Fix-5769][UI]When we try to delete the existing dag, the console in web browser would shows exception (#5770)
* fix bug
* cache the this variable
* Avoid self name
* fix code style compile error
* [Fix-5781][UT] Fix test coverage in sonar (#5817)
* build(UT): make jacoco running in offline-instrumentation
issue: #5781
* build(UT): remove the jacoco agent dependency in microbench
issue: #5781
* [Fix-5808][Server] When we try to transfer data using datax between different types of data sources, the worker will exit with ClassCastException (#5809)
* bug fix
* fix bug
* simplify the code format
* add a new parameter to make it easier to understand.
* [Fix-5830][Improvement][UI] Improve the selection style in dag edit dialog (#5829)
* improve the selection style
* update another file
* remove unnecessary css part.
* [Fix-5904][upgrade]fix dev branch upgrade mysql sql script error (#5821)
* fix dev branch upgrade mysql sql script error.
* Update naming convention.
* [Improvement][Api Module] refactor DataSourceParam and DependentParam, remove spring annotation (#5832)
* fix: refactor api utils class, remove spring annotation.
* fix: Optimization comments
Co-authored-by: wen-hemin <wenhemin@apache.com>
* correct the wrong annotion from zk queue implemented to java priority blocking queue (#5906)
Co-authored-by: ywang46 <ywang46@paypal.com>
* Add a Gitter chat badge to README.md (#5883)
* Add Gitter badge
* Update README.md
Co-authored-by: David <dailidong66@gmail.com>
* ci: improve maven connection in CI builds (#5924)
issue: #5921
* [Improvement][Master]fix typo (#5934)
·fix typo in MasterBaseTaskExecThread
* [Fix-5886][server] Enhanced scheduler delete check (#5936)
* Add:Name verification remove the first and last spaces.
* Update: wrong word: 'WAITTING' ->'WAITING'
* Add: Strengthen verification
Co-authored-by: Squid <2824638304@qq.com>
* [Improvement-5880][api] Optimized data structure of pagination query API results (#5895)
* [5880][refactor]Optimized data structure of pagination query API results
- refactor PageInfo and delete returnDataListPaging in API
- modify the related Controller and Service and the corresponding Test
* Merge branch 'dev' of github.com:apache/dolphinscheduler into dev
Conflicts:
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
Co-authored-by: 蔡泽华 <sorea1k@163.com>
* [IMPROVEMENT]fix mysql comment error (#5959)
* [Improvement][Api]fix typo (#5960)
* [Imporvement #5621][job instance] start-time and end-time (#5621)
·the list of workflow instances is sorted by start time and end time
·This closes#5621
* [FIX-5975]queryLastRunningProcess sql in ProcessInstanceMapper.xml (#5980)
* [NEW FEATURE][FIX-4385] compensation task add the ability to configure parallelism (#5912)
* update
* web improved
* improve the ui
* add the ability to configure the parallelism
* update variables
* enhance the ut and add necessary note
* fix code style
* fix code style issue
* ensure the complation task in parallel mode can run the right numbers of tasks.
* [Improvement][dao]When I search for the keyword description, the web UI shows empty (#5952)
* [Bug][WorkerServer] SqlTask NullPointerException #5549
* [Improvement][dao]When I search for the keyword Modify User, the web UI shows empty #5428
* [Improvement][dao]When I search for the keyword Modify User, the web UI shows empty #5428
* [Improvement][dao]When I search for the keyword Modify User, the web UI shows empty #5428
* [Improvement][dao]When I search for the keyword Modify User, the web UI shows empty #5428
* [Improvement][dao]When I search for the keyword Modify User, the web UI shows empty #5428
* [Improvement][dao]When I search for the keyword Modify User, the web UI shows empty #5428
* [Improvement][dao]When I search for the keyword description, the web UI shows empty #5428
* fix the readme typing issue (#5998)
* Fix unchecked type conversions
* Use indentation level reported by checkstyle
* Reorganize CI workflows to fasten the wasted time and resources (#6011)
* Add standalone server module to make it easier to develop (#6022)
* fix ut
Co-authored-by: Kirs <acm_master@163.com>
Co-authored-by: kyoty <echohlne@gmail.com>
Co-authored-by: ji04xiaogang <ji04xiaogang@163.com>
Co-authored-by: shenglm <shenglm840722@126.com>
Co-authored-by: wangxj3 <857234426@qq.com>
Co-authored-by: xingchun-chen <55787491+xingchun-chen@users.noreply.github.com>
Co-authored-by: chenxingchun <438044805@qq.com>
Co-authored-by: Shiwen Cheng <chengshiwen0103@gmail.com>
Co-authored-by: Jianchao Wang <akingchao@qq.com>
Co-authored-by: Tanvi Moharir <74228962+tanvimoharir@users.noreply.github.com>
Co-authored-by: Hua Jiang <jianghuachinacom@163.com>
Co-authored-by: jiang hua <jiang.hua@zhaopin.com.cn>
Co-authored-by: Wenjun Ruan <861923274@qq.com>
Co-authored-by: Tandoy <56899730+Tandoy@users.noreply.github.com>
Co-authored-by: 傅双波 <786183073@qq.com>
Co-authored-by: shuangbofu <fusb@tuya.com>
Co-authored-by: wen-hemin <39549317+wen-hemin@users.noreply.github.com>
Co-authored-by: wen-hemin <wenhemin@apache.com>
Co-authored-by: geosmart <geosmart@hotmail.com>
Co-authored-by: wanggang <wanggy01@servyou.com.cn>
Co-authored-by: AzureCN <colorazure@163.com>
Co-authored-by: 深刻 <tsund@qq.com>
Co-authored-by: zhuangchong <37063904+zhuangchong@users.noreply.github.com>
Co-authored-by: Yao WANG <Yao.MR.CN@gmail.com>
Co-authored-by: ywang46 <ywang46@paypal.com>
Co-authored-by: The Gitter Badger <badger@gitter.im>
Co-authored-by: David <dailidong66@gmail.com>
Co-authored-by: Squidyu <1297554122@qq.com>
Co-authored-by: Squid <2824638304@qq.com>
Co-authored-by: soreak <60459867+soreak@users.noreply.github.com>
Co-authored-by: 蔡泽华 <sorea1k@163.com>
Co-authored-by: yimaixinchen <yimaixinchen@163.com>
Co-authored-by: atai-555 <74188560+atai-555@users.noreply.github.com>
Co-authored-by: didiaode18 <563646039@qq.com>
Co-authored-by: Roy <yongjuncao1213@gmail.com>
Co-authored-by: lyxell <alyxell@kth.se>
Co-authored-by: Wenjun Ruan <wenjun@apache.org>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
Co-authored-by: JinyLeeChina <297062848@qq.com>
* [Improvement][Docker] Support more configurations and improve image for python
* [Improvement][K8s] Support more configurations, more service accesses, and reduce the duplication configurations
* [Improvement][Python] Improve the compatibility of python home
* [Improvement][Install] Fix install config and install.sh
* [Improvement][Install] Fix workflow ut
* [Improvement][Docker] Optimize docker-swarm/check script
* [Improvement][DB] Update default username and password of database
* Update comments in master/worker.properties
* Specify version for all images
* [Improvement][Docker] Optimize PS1 and WORKDIR
* [Improvement][SQL] Reduce heap size to 64m in create-dolphinscheduler.sh and upgrade-dolphinscheduler.sh
* [Fix-5431][K8s] Fix master and worker cannot get the right address with custom DNS