Commit Graph

4116 Commits

Author SHA1 Message Date
zhuangchong
48b5fc6ae4
fix version close function does not take effect. (#4307) 2020-12-26 14:03:41 +08:00
李丛阳
ede7895083
Dev imp server process utils (#4263)
* Adds the comment on the WINDOWSATTERN

Co-authored-by: Kirs <acm_master@163.com>
Co-authored-by: 0002939 <licongyang@mininglamp.com>
2020-12-24 17:26:51 +08:00
zhuangchong
ec84695323
fix the token management list does not display the user name. (#4302) 2020-12-24 13:01:29 +08:00
zhuangchong
3f9dcd5d44
fix database is the mysql DB keyword. (#4295) 2020-12-24 09:20:58 +08:00
Shiwen Cheng
f0ada2aa2d
[Fix-4289][*] Flink name with disappeared and unescaped problem (#4290)
* fix flink name not display in process definition editor

* fix flink name not escape problem

* simplify escape method
2020-12-23 21:19:08 +08:00
geosmart
50237afe08
[FEATURE-736] integrate ldap authentication (#3743)
* [FEATURE-736] integrate ldap authentication

* add ldap authentication type
* refactor authentication with ldap and password
* add  createUser for ldap in user service
* remove duplicate password authenticator
2020-12-23 17:38:05 +08:00
break60
e24e690c0b
[Improvement][ui]List vacancy optimization and icon icon repair (#4286)
* [Improvement][ui] List vacancy optimization and icon icon repair
2020-12-23 09:39:33 +08:00
zh0122
140679e337
[Improvement] Add Flink job name (#4285)
* [Improvement] Add Flink job name

* fix typo
2020-12-22 16:06:54 +08:00
hailin0
3a28a71b00
[Improvement] Refactor code to support distributed tracing (#4270)
* Refactor code to support tracing

* Extension network protocol, support context and version
* Extension master asynchronous queue support context
* Extract scan task method from MasterSchedulerService for tracing

* fix

* fix

* add test case

* fix

* fix

Co-authored-by: hailin0 <hailin0@yeah.net>
2020-12-22 15:32:41 +08:00
felix.wang
de1b87f305
[FIX] [UI] fix create project cancel button invalid (#4282)
* fix create project cancel button invalid
2020-12-22 12:39:20 +08:00
break60
3a3df01abe
[Improvement-3878][ui]Fix the list style (#4280)
* [Improvement-3878]Tenant list delete user name

* [Improvement-3878][ui]Fix the list style
2020-12-22 09:03:54 +08:00
Shiwen Cheng
ef7d7b791e
[Fix-4268] Fix NumberFormatException when visiting a doc.html or swagger-ui.html (#4269)
* [Fix-4268] Fix NumberFormatException when visiting a doc.html or swagger-ui.html

* Fix checkstyle error

* Update swagger-models in known-dependencies.txt
2020-12-21 16:01:52 +08:00
break60
561c65b6b8
[Improvement-3878]Tenant list delete user name (#4278) 2020-12-21 15:57:11 +08:00
xingchun-chen
55447348ed
Merge pull request #4237 from CalvinKirs/fix_date_convert_null
[FIX-3177]Task time parameter parsing error
2020-12-21 15:54:40 +08:00
zhuangchong
0bdef01db0
fix taskInstance submitTime is empty. (#4274) 2020-12-21 15:01:15 +08:00
Jatham
cdc30f6ee5
[improvement][config] Update datasource.properties,add mysql meta data template (#4266)
* Update datasource.properties

[新增]元数据mysql连接模版

* Update datasource.properties

Co-authored-by: dailidong <dailidong66@gmail.com>
2020-12-21 14:29:34 +08:00
zhuangchong
a731be72a3
fix version funcation delete. (#4265) 2020-12-21 09:57:42 +08:00
Shiwen Cheng
c4d75443e1
[Fix-4271][server] Fix IOException or NoSuchFileException in logger server (#4272) 2020-12-21 09:07:49 +08:00
Tq
2486451221
remove AbstractTask.getCurTaskParamsClass()and replace with TaskParametersUtils.getParameters() (#4262)
* remove getCurTaskParamsClass() in AbstractTask.java and replace it with TaskParametersUtils.getParameters()

* remove unused imports in AbstractTask.java

* reformat
2020-12-20 21:52:52 +08:00
zhuangchong
3bcd3fbcd3
[Improvement-4069][server] When the tenant does not exist, the task execution should throw an exception (#4108)
* when  the tenant does not exist, the task execution should throw an exception

* remote method createWorkDirAndUserIfAbsent

* set the task status failed when the tenant code does not exist.

* add taskLog.

* update check os user exists

* update TaskExecuteThreadTest test method.

* solving sonar fail.
2020-12-20 21:17:39 +08:00
dailidong
64dd9dbb53
update bug template (#4260) 2020-12-18 18:41:04 +08:00
lgcareer
9fe5c3717d
[Fix-4222][Master]Add the priority queue to ensure that tasks are submitted according to priority. (#4250)
* [Fix-4222][Master]Add the priority queue to ensure that tasks are submitted according to priority.

* [Fix-4222][Master]Add the priority queue to ensure that tasks are submitted according to priority.

* [Fix-4222][Master]Remove useless import

* [Fix-4222][Master]Reformat code style

* [Fix-4222][Master]Reformat code style

* [Fix-4222][Master]Reformat code style

* [Fix-4222][Master]add PeerTaskInstancePriorityQueueTest

* [Fix-4222][Master]Fix code smell

* [Fix-4222][Master]Reformat code style

* [Fix-4222][Master]Fix code smell

Co-authored-by: xingchun-chen <55787491+xingchun-chen@users.noreply.github.com>
2020-12-18 17:28:37 +08:00
felix.wang
3f7759ef64
[FIX][UI ] security user state tenantCode User Type Display abnormal (#4255)
* fix user state error

* fix userType  error

* fix tenantCode  error
2020-12-17 17:39:47 +08:00
Shiwen Cheng
6f72deff57
[Improvement][UI] Add no-var rule for eslint and add 'npm run lint:fix' command (#4225)
Add no-var rule for eslint, and fix related files
Add npm run lint:fix command, which distinguished from the default command npm run lint
The behavior of command npm run lint and command npm run lint:fix should be distinguished
The first command is used to lint only, and the second one is used to lint and fix problems automatically
2020-12-17 09:52:30 +08:00
Shiwen Cheng
f2a996f2a2
[Fix][UI]: fix re-login problem in new tab and state synchronization problem in multiple tabs (#4162)
* fix(ui): re-login problem in new tab

* refresh page in new tab automatically

* support to reload router view in lightweight

* optimize visibility code
2020-12-17 09:38:57 +08:00
CalvinKirs
0f42f1588f add ut 2020-12-16 21:43:15 +08:00
CalvinKirs
c11a0c42f3 reformat 2020-12-16 16:41:52 +08:00
CalvinKirs
54ae6437bb fix time cover 2020-12-16 13:31:59 +08:00
CalvinKirs
7df03d91a1 fix time cover 2020-12-16 13:30:09 +08:00
CalvinKirs
9d6ad4d883 fix date_convert null 2020-12-16 10:40:40 +08:00
Kirs
d7b3936205
[FIX-3177]Task time parameter parsing error (#4228)
* [FIX-3177]Task time parameter parsing error
when system.datetime !=null $[datetime] = system.datetime
else $[datetime] = current time

* remove unused import
2020-12-15 16:24:31 +08:00
felix.wang
8f2369214b
fix sql error (#4227) 2020-12-15 15:10:59 +08:00
Kirs
8919e3838f
[FIX-#3177]Task time parameter parsing error (#4224)
* [FIX-#3177]Task time parameter parsing error

rerun schedule time error

this closes #3177

* [FIX-#3177]Task time parameter parsing error

rerun schedule time error

this closes #3177
2020-12-15 10:30:36 +08:00
xingchun-chen
95d320d7da
Merge pull request #4214 from chengshiwen/ui-eslint
[Improvement][UI] UI eslint support for better code quality and fewer bugs
2020-12-14 09:42:17 +08:00
Saksham Gupta
426eb9af03
deleted invalid code as assigned in issue 4215 (#4221)
deleted the code at following two places:
org.apache.dolphinscheduler.service.process.ProcessService#checkTaskExistsInTaskQueue
org.apache.dolphinscheduler.service.process.ProcessService#taskZkInfo
2020-12-13 23:05:27 +08:00
bao liang
b694474c78
fix bug: start from the setting nodes with NODE_PRE would be NPE. (#4219) 2020-12-13 12:17:43 +08:00
chengshiwen
d06c9f8ad6 fix eslint: unexpected mutation of prop 2020-12-12 11:13:22 +08:00
chengshiwen
cac35888e2 fix eslint: component has been registered but not used 2020-12-12 00:32:50 +08:00
chengshiwen
ffcf66c57e fix eslint: assigned a value but never used 2020-12-12 00:20:12 +08:00
chengshiwen
9234e46b22 fix eslint: Unexpected side effect in 'cacheParams' computed property 2020-12-12 00:08:47 +08:00
chengshiwen
e7501f75e3 fix eslint: expected '!==' but instead saw '!=', expected '===' but instead saw '==' 2020-12-12 00:01:35 +08:00
chengshiwen
cfcae24958 fix eslint: fatal syntax errors 2020-12-11 23:56:22 +08:00
chengshiwen
5334703593 fix eslint: fix syntax by npm run lint automatically 2020-12-11 23:20:08 +08:00
chengshiwen
d754bca766 update .eslintrc.yml and license check exclude .eslintignore 2020-12-11 23:16:55 +08:00
chengshiwen
51780cc749 support auto eslint for .js, .vue file on save 2020-12-11 23:12:34 +08:00
break60
e033f81e9d
[Feature-3878]Replace the page with element-ui (#4065)
* [Feature-3878]Introduce elment-ui and replace the security center module page with elment-ui

* Change node version

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Replace the page with element-ui

* Replace user management with elment-ui

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Repair the last Sunday of each month
2020-12-11 22:58:28 +08:00
Kirs
a13e737eb4
[FIX-#4172][server-worker] kill task NPE (#4182)
* [FIX-#4172][server-worker] kill task NPE

The cache task will be sent when the Process is generated. Before that, if a kill task appears, then NPE will appear
Modification method: write into the cache when the task is received, and mark it as preData
If the task is killed before the Process is generated, delete the cache directly at this time
It will be judged before the process is generated. If the task has been killed, it will not be executed.
After the new process is created, write it into the cache, and judge again, if kill, then kill the process.

this closes #4172

* Delete the commented out code
Add spring beans

* code smell

* add test

* add test

* fix error

* test

* test

* revert

* fix error
2020-12-11 15:41:35 +08:00
BoYiZhang
b3120a74d2
[Feature-4138][Master] dispatch workgroup error add sleep time (#4139)
* When there are tasks with assignment failure and the number of tasks in the current task queue is less than 10, sleep for 1 second

* When there are tasks with assignment failure and the number of tasks in the current task queue is less than 10, sleep for 1 second

* fix code smell & code style

* fix code smell & code style

Co-authored-by: zhanglong <zhanglong@ysstech.com>
2020-12-11 15:35:40 +08:00
Kirs
0039b1bfcb
[common]del windows file( not support windows ) (#4204)
* del support win

* del support win
2020-12-10 22:39:20 +08:00
Shiwen Cheng
cbc30b4900
[Fix-3457][flink] fix flink args build problem (#4166)
* [Fix][Flink] fix flink args build problem

* [Fix][Flink] fix FlinkArgsUtilsTest

* [Improvement][UI] hide version and cluster input when deployMode is local
2020-12-10 22:37:21 +08:00