Commit Graph

4126 Commits

Author SHA1 Message Date
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
bao liang
68541f281d
[FIX-4190][DAO] When the amount of json data is large, the process list page display slowly. (#4201)
* fix 4190: When the amount of json data is large, process list page display slowly

* fix 4190: When the amount of json data is large, process list page display slowly

* fix 4190: When the amount of json data is large, process list page display slowly

Co-authored-by: baoliang <baoliang@analysys.com.cn>
2020-12-10 17:46:15 +08:00
chengp
e5462741c2
fix bug #4125 (#4127)
* fix bug #4125

* code style!

* code style.

Co-authored-by: chengp <chengp@chengp.net>
2020-12-10 14:20:38 +08:00
Kirs
aa19a06abb
[FIX-PR-4097][server-master]task ack miss (#4189)
When the message of successful execution arrives earlier than
the message of ack,
the message of ack will be discarded,
resulting in some information missing
2020-12-10 10:57:12 +08:00
dailidong
9798123f47
Merge pull request #4186 from wangxj3/dev
[FIX-#4184][server-api] load TaskInstance slow
2020-12-09 16:43:48 +08:00
wangxj3
96c7a8c7e9
Update TaskInstanceMapper.xml
optimize page of [TaskInstance] load data slow
2020-12-09 11:29:38 +08:00
dailidong
966600cc37
Merge pull request #4150 from kevinsun2010/dev
[Fix-4143][jar upgrade]upgrade quartz version to 2.3.0
2020-12-06 13:44:18 +08:00
dailidong
99e516baf9
Update known-dependencies.txt 2020-12-06 13:19:49 +08:00
dailidong
d706c010be
Delete LICENSE-HikariCP-java6.txt 2020-12-06 13:19:05 +08:00
dailidong
588b8f3990
Update LICENSE
not need to add HikariCP-java6
2020-12-06 13:18:19 +08:00
dailidong
7778e97ac7
Update pom.xml 2020-12-05 23:38:43 +08:00
dailidong
99daada5fa
Update pom.xml 2020-12-05 23:34:47 +08:00
karlsun
7d3aa09cc4 update code style 2020-12-05 13:04:29 +08:00
karlsun
6a6efe5d9b update Check code style 2020-12-05 09:54:11 +08:00
karlsun
81f4b5a25f remove c3p0,mchange-commons-java license 2020-12-05 09:41:39 +08:00
karlsun
1a854f8056 upgrade jackson version to 2.9.10 2020-12-03 15:25:49 +08:00
karlsun
a522da068f add HikariCP-java6,c3p0,mchange-commons-java license 2020-12-03 14:05:55 +08:00
dailidong
62c2e85252
Merge pull request #4110 from chengshiwen/dev
[Improvement][UI] download url resolve and security page disappear delay problem under GENERAL_USER
2020-12-03 11:41:23 +08:00
karlsun
c5084a367a upgrade quartz version to 2.3.0 2020-12-03 10:18:11 +08:00
Yelli
aa0974fd1f
split sqoop import hive database and table (#4141) 2020-12-02 15:50:50 +08:00
Kirs
3ceb612467
[FIX#4033] $[] conflicts with mysql keywords (#4111)
* [FIX#4033] $[] conflicts with mysql keywords
We currently only use this symbol for dates, so I filtered out the number type.
this close #4033

* test

* fix error
2020-12-01 14:34:03 +08:00
felix.wang
3e411d075f
[Improvement][Code style] FIX SPELL WAITTING TO WAITING , etc. (#4118)
* FIX SPELL

* FIX SPELL AND  Optimizing code conventions

* add ut  cannot construct process instance, return null;

* add ut testExportProcessMetaData

* add ut testExportProcessMetaData

* add ut testImportProcessSchedule

* add ut MasterExecThreadTest

* add ut MasterExecThreadTest

* add ut testSubProcessViewTree

* add ut testComplementWithStartNodeList

* add ut testRecurseFindSubProcessId

* add ut testRecurseFindSubProcessId

* add ut testRecurseFindSubProcessId
2020-12-01 08:58:55 +08:00
felix.wang
b46044d592
[Improvement][API] ignore noNodeException when get worker groups (#4120)
* ignore noNodeException when get worker groups

* add ut
2020-11-30 10:39:13 +08:00
Shiwen Cheng
763c65938d
[Feature][API]enable response resources gzip compression (#4121)
* enable response compression

* add server.compression.mime-types with default value explicitly
2020-11-30 10:11:50 +08:00
Yarlung
bd156b312d
[Improvement-3933][db operation] Improve the performance of sql query (#3940)
* optimize select * case

* emove redundancy

* bug fixed

* Update en_US.js

* Update startup.sh

* optimize

* optimize code

* optimize

* bug fixed

* add ut

* bug fixed

* bug fixed

* bug fixed

* bug fixed

* Delete WorkFlowLineageMapper.xml

* Delete createTenement.vue

* recove wrongly deleted file

* Update WorkFlowLineageMapper.xml

* Update createTenement.vue
2020-11-28 21:41:00 +08:00
BoYiZhang
bb13f2eae7
[Bug][Common] read file garbled (#3479)
* fix bug : Random code problem

Co-authored-by: zhanglong <zhanglong@ysstech.com>
2020-11-27 21:55:28 +08:00
Yelli
1cf40e1d1e
fix sqoop task jdbc string contains special char (#4105) 2020-11-27 09:46:23 +08:00
chengshiwen
959286c358 improvement: resovle download url with resolveURL to prevent change of apiPrefix 2020-11-26 17:30:34 +08:00
chengshiwen
133b9d8431 fix: security page disappear delay problem when force refresh under GENERAL_USER 2020-11-26 17:24:29 +08:00
dailidong
656ec295b9
Merge pull request #4097 from CalvinKirs/ack_status
[FIX-#4084][server]fix taskInstance state change error
2020-11-26 14:30:29 +08:00
CalvinKirs
c902268021 fix task instance status judgment error 2020-11-26 11:01:34 +08:00
CalvinKirs
0586e7b160 test 2020-11-25 22:03:26 +08:00
CalvinKirs
cc14b24326 test 2020-11-25 18:11:55 +08:00
CalvinKirs
d5769999d5 remove assert 2020-11-25 15:16:19 +08:00
CalvinKirs
2a9e789f68 test 2020-11-25 14:47:00 +08:00
CalvinKirs
b3991d9dee Time is too small and the task is not finished 2020-11-25 13:43:14 +08:00
CalvinKirs
c6a686a710 Time is too small and the task is not finished 2020-11-25 13:27:04 +08:00
Yelli
145314b782
[FIX-4034][server] fix sqoop import fail (#4036)
* fix #4043, sqoop import query fail

* fix #4043, sqoop task hard code & code style

* add license for SqoopConstants

* add private constructor for SqoopConstants

* fixed sqoop mysql pwd have special character

* fix checkstyle

* fix sqoop task log

* remove unused constants
2020-11-25 11:11:44 +08:00
CalvinKirs
a164d5f990 Time is too small and the task is not finished 2020-11-25 10:23:54 +08:00
CalvinKirs
8286af79d3 Time is too small and the task is not finished 2020-11-25 09:38:58 +08:00
CalvinKirs
858c4f3287 code smell 2020-11-25 09:20:58 +08:00