Commit Graph

2114 Commits

Author SHA1 Message Date
t1mon
46e30b1e50
Add mail server configuration description information (#2143)
* Add mail server configuration description information

* Remove mail server configuration note in alert.properties
2020-03-12 17:50:37 +08:00
tswstarplanet
afb907b4b0
fix unequal number of arguments and placeholder (#2149) 2020-03-12 17:41:10 +08:00
tswstarplanet
e3065dbfcc
fix field access modifier (#2150) 2020-03-12 17:39:25 +08:00
tswstarplanet
e27ba3fd97
use logger to print exception (#2151) 2020-03-12 17:38:38 +08:00
liwenhe1993
ebfacbfcfa
docker run failed when docker command was docker run -d (#2125)
* docker run failed when docker command was `docker run -d`

1. add tini
2. replace `tee` command by `tail` command in startup.sh
3. api-server need to support zookeeper

* modify `check.sh` in dockerfile

* add init directories and log files
2020-03-12 10:11:07 +08:00
Jave-Chen
b03e0a02c5
fix wrong sonar analysis with checkout V2. (#2148) 2020-03-12 10:09:13 +08:00
AhahaGe
1db4ac6b63
edit README.md modify word from expand to extend (#2138)
Co-authored-by: guirong.ggr <guirong.ggr@dtwave-inc.com>
2020-03-10 22:28:40 +08:00
AhahaGe
ce17531024
add .asf.yaml file (#2136)
Co-authored-by: guirong.ggr <guirong.ggr@dtwave-inc.com>
2020-03-10 22:00:40 +08:00
gabry.wu
ebf7a980d2
Adapting partial code(file name start with F) to the sonar cloud rule (#2045)
* Adapting partial code(file name start with F) to the sonar cloud rule

* add more unit test

* add License

* add includes configuration to maven-surefire-plugin

* fix getResourceFilesList incorrect logic
2020-03-10 18:59:45 +08:00
tison
9224b49b58
access field handle of FileDescriptor in ProcessImplForWin32 by reflection for portability (#2113)
* access field handle of FileDescriptor in ProcessImplForWin32 by reflection for portability

Current implementation relies on `sun.misc.JavaIOFileDescriptorAccess`
which is only accessible on oraclejdk8.

Basically the demand is getting & setting `handle` field of
`FileDescriptor`, so we can directly do that with reflection.

Though, I suspect the necessity we introduce ProcessImplForWin32. Maybe
we could have a better way to support worker server to run bat script.

* harden initialization of ProcessImplForWin32

* ignore ShellTaskTest#testHandleForWindows outside Windows
2020-03-09 19:06:41 +08:00
gabry.wu
450a1f56fc
Adapting partial code(file name start with E) to the sonar cloud rule (#1999)
* Adapting partial code(file name start with E) to the sonar cloud rule

* remove isEmpty invoke

* resolve conflicts
2020-03-08 21:28:49 +08:00
gabry.wu
ad381fcb71
move UT class to reasonable package (#2116) 2020-03-08 21:22:07 +08:00
Rubik-W
275df85250
fix: remove redundant import class (#2110) 2020-03-08 16:00:47 +08:00
tswstarplanet
b2268b1af9
use stringbuilder to append string (#2108) 2020-03-08 15:57:06 +08:00
liwenhe1993
89b42db3b4
Add docker internal server check script (#2092)
* add environment variables add checkpoint.sh file to docker image

1. add `POSTGRESQL_DATABASE` environment variable
2. add `DOLPHINSCHEDULER_DATA_BASEDIR_PATH` environment variable
3. add `DOLPHINSCHEDULER_DATA_DOWNLOAD_BASEDIR_PATH` environment variable
4. add `DOLPHINSCHEDULER_PROCESS_EXEC_BASEPATH` environment variable
5. add checkpoint.sh file to check server process
6. modify `README.md` and `README_zh_CN.md`

* add environment variables add checkpoint.sh file to docker image

1. add `POSTGRESQL_DATABASE` environment variable
2. add `DOLPHINSCHEDULER_DATA_BASEDIR_PATH` environment variable
3. add `DOLPHINSCHEDULER_DATA_DOWNLOAD_BASEDIR_PATH` environment variable
4. add `DOLPHINSCHEDULER_PROCESS_EXEC_BASEPATH` environment variable
5. add checkpoint.sh file to check server process
6. modify `README.md` and `README_zh_CN.md`

* add logger port and modify dolphinscheduler_env to dolphinscheduler_env.sh
2020-03-08 15:56:24 +08:00
gabry.wu
0e1dd8d7d9
remove incorrect or unnecessary URL tag (#2099) 2020-03-07 18:07:53 +08:00
dailidong
4bb97dfb8b
fix actions/checkout@v2 problem (#2095) 2020-03-05 23:53:12 +08:00
dailidong
6070738acb
Support worker server to run bat script (#2023)
* Support worker server to run bat script

1. Reimplement ProcessImpl.java, ProcessEnvironment.java and ProcessBuilder.java for Windows
2. Modify shell task code for windows
3. Add ASF License

* Add Unit Test
2020-03-05 23:34:37 +08:00
dailidong
1f92b4c4db
Optimize ParameterUtils.curingGlobalParams() execution efficiency (#2090)
* Optimize ParameterUtils.curingGlobalParams() execution efficiency

* Remove excess null check
2020-03-05 23:21:10 +08:00
Tboy
7ed28af4fe
Upgrade curator version (#2083)
* upgrade curator version
issue: https://github.com/apache/incubator-dolphinscheduler/issues/2020
curator issue: https://github.com/apache/curator/pull/297

* add DefaultEnsembleProvider override

* add some unit test

* add License
2020-03-05 19:00:06 +08:00
dailidong
4230d5a737
add embedded database h2 and update embedded zookeeper (#2082)
add embedded database h2 and update embedded zookeeper
2020-03-05 17:32:40 +08:00
dailidong
6ec85540bf
fix typo (#2093) 2020-03-05 16:36:20 +08:00
Jave-Chen
d33b883420
Merge pull request #2085 from khadgarmage/ci-action-alter
action push delete
2020-03-05 14:30:19 +08:00
xiaochun.liu
18d7ff274b action push delete 2020-03-05 11:33:24 +08:00
qiaozhanwei
d5c795bd45
fix ugly logger usage (#2063)
* fix ugly logger usage

* remove space
2020-03-05 11:10:48 +08:00
qiaozhanwei
3e5a939913
delete unused import (#2066) 2020-03-05 11:07:44 +08:00
qiaozhanwei
b8014d91cf
add workflow id, name for email content (#2071)
* add tenantService UT

* fix spell

* #464 email content

* modify mysql1.2.2 ddl
2020-03-05 11:04:00 +08:00
zhukai
3186545da1
1. add input cache for datax task (#2034)
2. add cache for codemirror component, include python, shell and sql task.
2020-03-04 09:28:23 +08:00
break60
3277b90647
Change DOM label (#2064)
* Change DOM label

* Change name to lowercase
2020-03-03 14:38:21 +08:00
Tboy
fbf05de39b
delete duplicate startLocalZkServer (#2062) 2020-03-03 12:27:07 +08:00
Jave-Chen
46f46ed795
Merge pull request #2055 from Jave-Chen/bcai-dev-fix-bug-20200302-2051
remove submodules for checkout v2
2020-03-02 15:39:23 +08:00
bcai
8b894de3d2 remove submodules for checkout v2 2020-03-02 15:18:35 +08:00
samz406
7577fab411
Merge pull request #2053 from Jave-Chen/bcai-dev-fix-bug-20200302-2051
Fix github action rerun failed
2020-03-02 15:12:21 +08:00
bcai
3d4acbc012 fix github action rerun failed #2052 2020-03-02 15:02:17 +08:00
samz406
099fc640f9
Merge pull request #2050 from khadgarmage/ci-action-yml
modify action build
2020-03-02 11:15:49 +08:00
xiaochun.liu
c9c4402cb6 modify action build 2020-03-02 10:55:40 +08:00
Rubik
1ea48375f4
Fixbug i18n #2008 (#2035)
* fix:add chinese message

* fix:add chinese message

* fix:'getLocale()' can return not null

* fix:optimize message content
2020-03-02 10:29:42 +08:00
DS
c8adf824e2
Update README.md (#2048) 2020-03-01 20:48:38 +08:00
DS
8b2a224716
image about monitor screenshot is wrong (#2047)
image about monitor screenshot is wrong
2020-03-01 20:43:09 +08:00
DS
415d087dfc
Update README.md (#2046) 2020-03-01 20:42:45 +08:00
bao liang
0df7c6719d
[New Feature] add conditions task #205 (#2003)
* add funtion conditions task

* update conditions tasks

* update conditions for ui

* update conditions

* update

* revert

* update
2020-02-28 17:08:34 +08:00
Yelli
84409b57ee
fix taskinstance.isSubprocess misjudgment (#2007)
* add processInstanceService UT

* fix taskInstance.isSubProcess
add processInstanceService UT

* add taskInstance.isSubProcess UT

* modify taskInstance.isSubProcess UT

* add license

* remove author&date
2020-02-28 16:15:21 +08:00
xingchun-chen
f407adcb71
Add e2e to create workflow case   (#2027)
* add e2e

* add ui-test

* add e2e license and notice

* add e2e license

* add license

* add ui-test

* add ui-test

* add ui-test

* e2e delete dolphinscheduler parent project dependency

* add ui-test

* dolphinscheduler_dist delete e2e license/notice

* dolphinscheduler_dist delete e2e license/notice

* dolphinscheduler_dist delete e2e license/notice

* dolphinscheduler_dist delete e2e license/notice

* pom.xml delete e2e dependency

* add e2e create workflow

* Merge remote-tracking branch 'upstream/dev' into dev

# Conflicts:
#	e2e/src/test/java/org/apache/dolphinscheduler/base/BaseDriver.java

* Merge remote-tracking branch 'upstream/dev' into dev

# Conflicts:
#	e2e/src/test/java/org/apache/dolphinscheduler/base/BaseDriver.java

* Merge remote-tracking branch 'upstream/dev' into dev

# Conflicts:
#	e2e/src/test/java/org/apache/dolphinscheduler/base/BaseDriver.java

* Merge remote-tracking branch 'upstream/dev' into dev

# Conflicts:
#	e2e/src/test/java/org/apache/dolphinscheduler/base/BaseDriver.java

* modify workflow case

Co-authored-by: chenxingchun <50446296+chenxingchun@users.noreply.github.com>
2020-02-27 11:43:09 +08:00
khadgarmage
ee3c0aedc8
docker and testcase config for e2e test (#2028)
* github action for e2e test

* github action for e2e test

* github action for e2e test

* chromedriver

* e2e

* driver option

* t

* args bug

* check

* restore docker
2020-02-27 09:51:25 +08:00
dailidong
6b62501301
correct repeat images in README (#2017)
some images not right,correct
2020-02-26 13:03:01 +08:00
xingchun-chen
1cadb1a251
Add e2e automated testing (#2005)
* add ui-test

* add e2e license and notice

* e2e delete dolphinscheduler parent project dependency

* pom.xml delete e2e dependency

Co-authored-by: chenxingchun <50446296+chenxingchun@users.noreply.github.com>
2020-02-26 11:08:55 +08:00
gabry.wu
5ca4862ea9
remove String.format for org.slf4j.Logger (#2001) 2020-02-25 14:19:26 +08:00
liwenhe1993
205b302634
Modify dockerfile build script and add a new README_zh_CN.md file for dockerfile (#2014)
* Support DS to create user and group in windows environment

* Add unit test

* delete combined-server config in dolphinscheduler-daemon.sh file

* refactor dockerfile

* modify dockerfile

* modify dockerfile

* 1. Modify dockerfile build script
2. Add something about how to build a docker image
3. Add a new README_zh_CN.md file for dockerfile
2020-02-25 14:17:59 +08:00
dailidong
1ce6f35625
Update README_zh_CN.md (#2011)
update image url
2020-02-25 14:01:31 +08:00
dailidong
b1624fde71
update English Readme about image update (#2013)
update English Readme about image update
2020-02-25 14:00:26 +08:00