Migrated repository
Go to file
bao liang a5277827f2 merge dev-db to dev (#1426)
* [dolphinscheduler-1345] [newfeature] Add DB2 Datasource (#1391)

* Fix the problem that the 'queueId' is not present when creating a tenant based on the default queue. (#1409)

* dolphinscheduler-#1403][bug]improve the check rules (#1408)

1. When check failed, we don’t know whitch parameter has is wrong, Because username、password、email and phone were checks together. I refactored the check method ,Now it will return failed msg by each field.
2. The email check regex support [_|\-|\.]?) in createUser.vue, But it do not support in backend server , I fix it, Now they have the same check regex both in frontend and backend

* jcip-annotations define version information and maven-assembly-plugin add groupId (#1413)

* "v-for" add key (#1419)

* [dolphinscheduler-#1397] [bug]Resources can not be previewed or updated  (#1406)

When create an resource the name will add the suffix, But When rename the resource there is no suffix add to the name, So When update resource name without suffix just like "test.sh" => "test" , Then the bug reproduced.

To fix this bug i add the logic bellow:
When rename, if the name without suffix then add it ,else use the origin name

* simply server module configs (#1424)

* move updateTaskState into try/catch block in case of exception

* fix NPE

* using conf.getInt instead of getString

* for AbstractZKClient, remove the log, for it will print the same log message in createZNodePath.
for AlertDao, correct the spelling.

* duplicate

* refactor getTaskWorkerGroupId

* add friendly log

* update hearbeat thread num = 1

* fix the bug when worker execute task using queue. and remove checking Tenant user anymore in TaskScheduleThread

* 1. move verifyTaskInstanceIsNull after taskInstance
2. keep verifyTenantIsNull/verifyTaskInstanceIsNull clean and readable

* fix the message

* delete before check to avoid KeeperException$NoNodeException

* fix the message

* check processInstance state before delete tenant

* check processInstance state before delete worker group

* refactor

* merge api constants into common constatns

* update the resource perm

* update the dataSource perm

* fix CheckUtils.checkUserParams method

* update AlertGroupService, extends from BaseService, remove duplicate methods

* refactor

* modify method name

* add hasProjectAndPerm method

* using checkProject instead of getResultStatus

* delete checkAuth method, using hasProjectAndPerm instead.

* correct spelling

* add transactional for deleteWorkerGroupById

* add Transactional for deleteProcessInstanceById method

* change sqlSessionTemplate singleton

* change sqlSessionTemplate singleton and reformat code

* fix unsuitable error message

* update shutdownhook methods

* fix worker log bug

* fix api server debug mode bug

* upgrade zk version

* delete this line ,for zkClient.close() will do the whole thing

* fix master server shutdown error

* degrade zk version and add FourLetterWordMain class

* fix PathChildrenCache not close

* add Transactional for createSession method

* add more message for java-doc

* delete App, let spring manage connectionFactory

* add license

* add class Application for test support

* refactor masterServer and workerServer

* add args

* fix the spring transaction not work bug

* remove author

* delete @Bean annotation

* delete master/worker properties

* updates

* rename application.properties to application-dao.properties

* delete this class

* delete master/worker properties and  refactory master/worker

* delete unused imports

* merge

* delete unused config
2019-12-10 11:20:20 +08:00
.github merge from dev-db 2019-12-05 20:14:23 +08:00
dockerfile merge dev-db to dev (#1426) 2019-12-10 11:20:20 +08:00
dolphinscheduler-alert Revert "merge from dev-db (#1386)" (#1404) 2019-12-05 17:35:53 +08:00
dolphinscheduler-api merge dev-db to dev (#1426) 2019-12-10 11:20:20 +08:00
dolphinscheduler-common merge dev-db to dev (#1426) 2019-12-10 11:20:20 +08:00
dolphinscheduler-dao merge from dev-db 2019-12-05 20:14:23 +08:00
dolphinscheduler-dist Revert "merge from dev-db (#1386)" (#1404) 2019-12-05 17:35:53 +08:00
dolphinscheduler-rpc Revert "merge from dev-db (#1386)" (#1404) 2019-12-05 17:35:53 +08:00
dolphinscheduler-server merge dev-db to dev (#1426) 2019-12-10 11:20:20 +08:00
dolphinscheduler-ui merge dev-db to dev (#1426) 2019-12-10 11:20:20 +08:00
script Revert "merge from dev-db (#1386)" (#1404) 2019-12-05 17:35:53 +08:00
sql Revert "merge from dev-db (#1386)" (#1404) 2019-12-05 17:35:53 +08:00
style Revert "merge from dev-db (#1386)" (#1404) 2019-12-05 17:35:53 +08:00
.gitattributes Create .gitattributes 2019-03-29 23:51:32 +08:00
.gitignore Revert "merge from dev-db (#1386)" (#1404) 2019-12-05 17:35:53 +08:00
CONTRIBUTING.md Revert "merge from dev-db (#1386)" (#1404) 2019-12-05 17:35:53 +08:00
DISCLAIMER Revert "merge from dev-db (#1386)" (#1404) 2019-12-05 17:35:53 +08:00
install.sh merge dev-db to dev (#1426) 2019-12-10 11:20:20 +08:00
LICENSE Initial commit 2019-03-02 00:39:25 +08:00
NOTICE Revert "merge from dev-db (#1386)" (#1404) 2019-12-05 17:35:53 +08:00
pom.xml merge dev-db to dev (#1426) 2019-12-10 11:20:20 +08:00
README_zh_CN.md Revert "merge from dev-db (#1386)" (#1404) 2019-12-05 17:35:53 +08:00
README.md Revert "merge from dev-db (#1386)" (#1404) 2019-12-05 17:35:53 +08:00
ReleaseNotes.md Revert "merge from dev-db (#1386)" (#1404) 2019-12-05 17:35:53 +08:00

Dolphin Scheduler

License Total Lines

Dolphin Scheduler for Big Data

Stargazers over time

EN doc CN doc

Design features:

A distributed and easy-to-expand visual DAG workflow scheduling system. Dedicated to solving the complex dependencies in data processing, making the scheduling system out of the box for data processing. Its main objectives are as follows:

  • Associate the Tasks according to the dependencies of the tasks in a DAG graph, which can visualize the running state of task in real time.
  • Support for many task types: Shell, MR, Spark, SQL (mysql, postgresql, hive, sparksql), Python, Sub_Process, Procedure, etc.
  • Support process scheduling, dependency scheduling, manual scheduling, manual pause/stop/recovery, support for failed retry/alarm, recovery from specified nodes, Kill task, etc.
  • Support process priority, task priority and task failover and task timeout alarm/failure
  • Support process global parameters and node custom parameter settings
  • Support online upload/download of resource files, management, etc. Support online file creation and editing
  • Support task log online viewing and scrolling, online download log, etc.
  • Implement cluster HA, decentralize Master cluster and Worker cluster through Zookeeper
  • Support online viewing of Master/Worker cpu load, memory
  • Support process running history tree/gantt chart display, support task status statistics, process status statistics
  • Support backfilling data
  • Support multi-tenant
  • Support internationalization
  • There are more waiting partners to explore

What's in Dolphin Scheduler

Stability Easy to use Features Scalability
Decentralized multi-master and multi-worker Visualization process defines key information such as task status, task type, retry times, task running machine, visual variables and so on at a glance.   Support pause, recover operation support custom task types
HA is supported by itself All process definition operations are visualized, dragging tasks to draw DAGs, configuring data sources and resources. At the same time, for third-party systems, the api mode operation is provided. Users on DolphinScheduler can achieve many-to-one or one-to-one mapping relationship through tenants and Hadoop users, which is very important for scheduling large data jobs. " The scheduler uses distributed scheduling, and the overall scheduling capability will increase linearly with the scale of the cluster. Master and Worker support dynamic online and offline.
Overload processing: Task queue mechanism, the number of schedulable tasks on a single machine can be flexibly configured, when too many tasks will be cached in the task queue, will not cause machine jam. One-click deployment Supports traditional shell tasks, and also support big data platform task scheduling: MR, Spark, SQL (mysql, postgresql, hive, sparksql), Python, Procedure, Sub_Process

System partial screenshot

image

image

image

Document

More documentation please refer to [DolphinScheduler online documentation]

Recent R&D plan

Work plan of Dolphin Scheduler: R&D plan, Under the In Develop card is what is currently being developed, TODO card is to be done (including feature ideas)

How to contribute code

Welcome to participate in contributing code, please refer to the process of submitting the code: [How to contribute code]

How to Build

mvn clean install -Prelease

Artifact:

dolphinscheduler-dist/dolphinscheduler-backend/target/apache-dolphinscheduler-incubating-${latest.release.version}-dolphinscheduler-backend-bin.tar.gz: Binary package of DolphinScheduler-Backend
dolphinscheduler-dist/dolphinscheduler-front/target/apache-dolphinscheduler-incubating-${latest.release.version}-dolphinscheduler-front-bin.tar.gz: Binary package of DolphinScheduler-UI
dolphinscheduler-dist/dolphinscheduler-src/target/apache-dolphinscheduler-incubating-${latest.release.version}-src.zip: Source code package of DolphinScheduler

Thanks

Dolphin Scheduler uses a lot of excellent open source projects, such as google guava, guice, grpc, netty, ali bonecp, quartz, and many open source projects of apache, etc. It is because of the shoulders of these open source projects that the birth of the Dolphin Scheduler is possible. We are very grateful for all the open source software used! We also hope that we will not only be the beneficiaries of open source, but also be open source contributors. We also hope that partners who have the same passion and conviction for open source will join in and contribute to open source!

Get Help

  1. Submit an issue
  2. Mail list: dev@dolphinscheduler.apache.org. Mail to dev-subscribe@dolphinscheduler.apache.org, follow the reply to subscribe the mail list.
  3. Contact WeChat group manager, ID 510570367. This is for Mandarin(CN) discussion.

License

Please refer to LICENSE file.