status
stringclasses
1 value
repo_name
stringlengths
9
24
repo_url
stringlengths
28
43
issue_id
int64
1
104k
updated_files
stringlengths
8
1.76k
title
stringlengths
4
369
body
stringlengths
0
254k
issue_url
stringlengths
37
56
pull_url
stringlengths
37
54
before_fix_sha
stringlengths
40
40
after_fix_sha
stringlengths
40
40
report_datetime
timestamp[ns, tz=UTC]
language
stringclasses
5 values
commit_datetime
timestamp[us, tz=UTC]
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,319
["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/utils/DagHelper.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/task/SwitchTaskProcessor.java"]
[Bug] [MasterServer] NPE when switch else branch is empty
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ``` java.lang.NullPointerException: null at org.apache.dolphinscheduler.dao.utils.DagHelper.isTaskNodeNeedSkip(DagHelper.java:335) ~[classes/:na] at org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:313) ~[classes/:na] at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:860) [classes/:na] at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskFinished(WorkflowExecuteThread.java:395) [classes/:na] at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskStateChangeHandler(WorkflowExecuteThread.java:350) [classes/:na] at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.stateEventHandler(WorkflowExecuteThread.java:300) [classes/:na] at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.handleEvents(WorkflowExecuteThread.java:248) [classes/:na] at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:229) [classes/:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_212] at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) [guava-24.1-jre.jar:na] at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57) [guava-24.1-jre.jar:na] at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) [guava-24.1-jre.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_212] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_212] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_212] ``` ### What you expected to happen no error happen. ### How to reproduce ![656a63e9ab9aad3975069b6a59e2f90](https://user-images.githubusercontent.com/11962619/145537311-15f41afd-1181-4159-87a5-795591ee5831.png) ### Anything else _No response_ ### Version 2.0.0 ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7319
https://github.com/apache/dolphinscheduler/pull/7320
8c3fa4790346204647ad2737239e87c34669b021
99b8ec649213270df91b5a2808a26868c675a0d3
2021-12-10T07:52:22Z
java
2021-12-13T14:46:48Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,310
["dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/MasterServer.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/executor/NettyExecutorManager.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/processor/CacheProcessor.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/processor/StateEventProcessor.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/processor/TaskEventProcessor.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/processor/TaskResponseProcessor.java", "dolphinscheduler-master/src/test/java/org/apache/dolphinscheduler/server/master/processor/CacheProcessorTest.java"]
[Bug] [Master] TaskResponseProcessor process NullPointerException
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ``` [ERROR] 2021-12-10 13:01:03.481 org.apache.dolphinscheduler.remote.handler.NettyClientHandler:[156] - process command Command [type=TASK_EXECUTE_RESPONSE, opaque=15, bodyLen=130] exception java.lang.NullPointerException: null at org.apache.dolphinscheduler.server.master.processor.TaskResponseProcessor.process(TaskResponseProcessor.java:72) at org.apache.dolphinscheduler.remote.handler.NettyClientHandler.lambda$processByCommandType$0(NettyClientHandler.java:154) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) at java.util.concurrent.FutureTask.run(FutureTask.java) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ``` ### What you expected to happen Workflow execution ### How to reproduce Manually execute a workflow ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7310
https://github.com/apache/dolphinscheduler/pull/7318
f03b0e8c7b562b77715185cbaeacc598cba87e12
939fa0c3bac50b43a519dfd3f4a6b8db1be92e92
2021-12-10T05:25:06Z
java
2021-12-10T08:55:56Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,292
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/aspect/CacheEvictAspect.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionLogMapper.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ProcessTaskRelationMapper.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ScheduleMapper.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/TaskDefinitionLogMapper.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/TenantMapper.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/UserMapper.java"]
[Bug] [ApiServer] process definition online error when standalone
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened when use standalone mode, process definition online error. ![bd099b5b40e3cbf7b03cdbae10f4357](https://user-images.githubusercontent.com/11962619/145408679-57277ffa-b7d2-4879-90ac-692ba2c2ab33.jpg) ### What you expected to happen process definition online successfully. ### How to reproduce run standalone, create a new process definition, online. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7292
https://github.com/apache/dolphinscheduler/pull/7293
939fa0c3bac50b43a519dfd3f4a6b8db1be92e92
0f7e38ed3c3acb9603e81479cc887e8e6133588e
2021-12-09T13:52:45Z
java
2021-12-10T10:46:41Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,288
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/AlertGroupServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/AlertGroupControllerTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue"]
[Feature][dolphinscheduler-api] The default alarm group should not be deleted, and add the alarm instance field in the alarm group list
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description 1.The default alarm group should not be deleted,Because the alarm notification of master and worker fault tolerance is sent by the default alarm group 2.add the alarm instance field in the alarm group list ![image](https://user-images.githubusercontent.com/95271106/145358619-2285f70a-f546-4331-9bb7-de52a108f262.png) ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7288
https://github.com/apache/dolphinscheduler/pull/7932
a81093d6cbc3f200207ecd192716a1cd426b4edc
8cac0d8f94491e82a69f599b6688d593951351d3
2021-12-09T08:13:43Z
java
2022-01-12T06:12:30Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,284
["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/AlertDao.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/alert/ProcessAlertManager.java"]
[Bug] [dolphinscheduler-api] In the process alarm message, projectid is 0
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/95271106/145352078-31533d62-de6f-4bb2-9ef5-a18fcaf6bca0.png) The projectid should be the project id associated with the process ### Version 2.0.1-prepare ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7284
https://github.com/apache/dolphinscheduler/pull/7298
67cc260d52c1f2e5aa7db76aa8621cdd0f8c4ee0
3fadfca085610ac812f24adc1ec2d25f71c579d0
2021-12-09T07:25:22Z
java
2021-12-10T04:25:35Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,277
["dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org/apache/dolphinscheduler/plugin/datasource/hive/HiveDataSourceClient.java"]
[Feature][datasource] Support Kerberos auto renewal
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Support Kerberos auto renewal ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7277
https://github.com/apache/dolphinscheduler/pull/7278
2a7d6b468f2942d075430478ffe08375f98df007
8d68cf48dde3765df1e02449af5edd8b18dac52d
2021-12-08T14:05:35Z
java
2021-12-09T01:27:57Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,274
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClient.java"]
[Bug] [MasterServer] invalid failover worker logic when failover master
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened when failover master, it will try to failover worker too, but it's invalid. ### What you expected to happen when failover master, it can failover associated task instance. ### How to reproduce one master server down. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7274
https://github.com/apache/dolphinscheduler/pull/7275
f21eb8f9fefdb2f9f6fc917e2af838b927cce68a
3a351da7525bcc95c7ae71ed82610d2bf785fd42
2021-12-08T13:19:16Z
java
2021-12-08T13:35:18Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,259
["script/start-all.sh", "script/stop-all.sh"]
[Bug] [deploy] When starting and stopping all servers, the api service prompt information is inaccurate
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When using stop-all.sh or start-all.sh to start and stop all services, api-server prompts an error. ![Snipaste_2021-12-08_10-58-56](https://user-images.githubusercontent.com/56599784/145140615-b9eb6b0d-6006-4255-8744-7484656e644c.png) The problem also exists in the dev branch. ### What you expected to happen When starting and stopping the api-server service, you should print api-server is stopping/starting. ### How to reproduce exec stop-all.sh or start-all.sh ### Anything else _No response_ ### Version 1.3.9 ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7259
https://github.com/apache/dolphinscheduler/pull/7634
36dd43737764a2e81875ca2f7b0831cc4b5709dc
5e9679f1b2c787739228b2f32f41a2ae451145c1
2021-12-08T03:02:29Z
java
2021-12-27T03:05:26Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,245
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/WorkerGroupMapper.java"]
[Bug] [API] spelEvaluationException: EL1008E: Property or field 'all' cannot be found
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ``` [ERROR] 2021-12-07 19:02:27.766 org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[46] - 查询worker分组失败 org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'all' cannot be found on object of type 'org.springframework.cache.interceptor.CacheExpressionRootObject' - maybe not public or not valid? at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:91) at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:112) at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:272) at org.springframework.cache.interceptor.CacheOperationExpressionEvaluator.key(CacheOperationExpressionEvaluator.java:104) at org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.generateKey(CacheAspectSupport.java:795) at org.springframework.cache.interceptor.CacheAspectSupport.generateKey(CacheAspectSupport.java:592) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:379) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:345) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:64) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) at com.sun.proxy.$Proxy152.queryAllWorkerGroup(Unknown Source) at org.apache.dolphinscheduler.api.service.impl.WorkerGroupServiceImpl.getWorkerGroups(WorkerGroupServiceImpl.java:255) at org.apache.dolphinscheduler.api.service.impl.WorkerGroupServiceImpl.queryAllGroup(WorkerGroupServiceImpl.java:233) ``` ### What you expected to happen The query is normal ### How to reproduce Query the list of workers ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7245
https://github.com/apache/dolphinscheduler/pull/7246
6a144d69bf7c3fec37fa3bdcb1fcd6f01e4848c4
4e6265df11ce0b4dcf5ef13b596f1f7d25d33380
2021-12-07T11:28:36Z
java
2021-12-08T01:00:00Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,241
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/timing.vue"]
[Bug] [dolphinscheduler-ui] When editing the timing, the alarm group displays 0
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/95271106/145004359-c6d4333c-3085-4738-8a84-7a1bd08332fb.png) ### Version 2.0.1-prepare ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7241
https://github.com/apache/dolphinscheduler/pull/7262
deefc8e98af6246e89ef3aeecf97ea3a69674bca
3ca2ee9ac8d09ced1b3f4e893b9a00891456fee6
2021-12-07T09:37:01Z
java
2021-12-08T06:24:53Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,235
["dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache/dolphinscheduler/plugin/datasource/api/datasource/AbstractDatasourceProcessor.java"]
[BUG][dolphinscheduler-api]unable to confige the multi-hosts by ',' in datasource configuration
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened we are tring upgrate to 2.0.0 the Impala datasource configuration is: ```cdh-datanode07,cdh-datanode08``` It can't connect successfully while testing, and the same configuration is working fine in DS version 1.3.2. the same problems are occured in the other multi-hosts datasources that with ',', unless you remain a single source, without ',' , such as ```cdh-datanode07```, then it can work. ![image](https://user-images.githubusercontent.com/13417113/144982934-5bacd665-5bc6-4d11-a9fd-6559ef2cbbba.png) ``` [INFO] 2021-12-07 14:53:03.287 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[76] - REQUEST TRANCE_ID:faf39a91-da0d-4d25-9789-7af804ee56a7, LOGIN_USER:admin, URI:/dolphinscheduler/datasources/connect, METHOD:POST, HANDLER:org.apache.dolphinscheduler.api.controller.DataSourceController.connectDataSource, ARGS:{dataSourceParam=HiveDataSourceParamDTO{host='cdh-datanode04,cdh-datanode05,cdh-datanode06', port=21050, database='ods_cbd', principal='null', userName='cdchive', password='rdr7zIaM', other='null', javaSecurityKrb5Conf='null', loginUserKeytabUsername='null', loginUserKeytabPath='null'}} [ERROR] 2021-12-07 14:53:03.288 org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[46] - 建立数据源连接失败 java.lang.IllegalArgumentException: datasource host illegal at org.apache.dolphinscheduler.common.datasource.AbstractDatasourceProcessor.checkHost(AbstractDatasourceProcessor.java:49) at org.apache.dolphinscheduler.common.datasource.AbstractDatasourceProcessor.checkDatasourceParam(AbstractDatasourceProcessor.java:37) at org.apache.dolphinscheduler.common.datasource.DatasourceUtil.checkDatasourceParam(DatasourceUtil.java:59) at org.apache.dolphinscheduler.api.controller.DataSourceController.connectDataSource(DataSourceController.java:213) at org.apache.dolphinscheduler.api.controller.DataSourceController$$FastClassBySpringCGLIB$$835fdd04.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:752) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) at org.apache.dolphinscheduler.api.aspect.AccessLogAspect.doAround(AccessLogAspect.java:87) at sun.reflect.GeneratedMethodAccessor161.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691) at org.apache.dolphinscheduler.api.controller.DataSourceController$$EnhancerBySpringCGLIB$$fc8c1309.connectDataSource(<generated>) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1633) at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:97) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at com.github.xiaoymin.swaggerbootstrapui.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:84) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at com.github.xiaoymin.swaggerbootstrapui.filter.ProductionSecurityFilter.doFilter(ProductionSecurityFilter.java:53) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:561) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1612) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:766) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905) at java.lang.Thread.run(Thread.java:748) ``` ### What you expected to happen It should support to confige the multi-hosts, such as ```cdh-datanode07,cdh-datanode08``` The new version should be compatible with the old ways ### How to reproduce configure the hosts as ```cdh-datanode07,cdh-datanode08```, then testing ### Anything else _No response_ ### Version 2.0.0 ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7235
https://github.com/apache/dolphinscheduler/pull/7253
4e6265df11ce0b4dcf5ef13b596f1f7d25d33380
deefc8e98af6246e89ef3aeecf97ea3a69674bca
2021-12-07T07:39:11Z
java
2021-12-08T01:21:54Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,227
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AlertPluginInstanceMapper.xml"]
[Improvement] [dolphinscheduler-api] The alarm instance pages are sorted in reverse order according to the update time
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/95271106/144959320-053fb083-290b-4e26-986a-9c9637bb57de.png) ### Version dev ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7227
https://github.com/apache/dolphinscheduler/pull/7506
0d86a48d1c3caddf813bbf7f3453e1e7d624c760
bb140fbc3b462cc192b18dca4ef1cee409909b71
2021-12-07T03:13:01Z
java
2021-12-21T01:22:16Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,217
["dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.1_schema/mysql/dolphinscheduler_dml.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.1_schema/postgresql/dolphinscheduler_dml.sql"]
[Bug] [DAO] Missing the file dolphinscheduler_dml.sql in both 2.0.1_schema/mysql and 2.0.1_schema/postgresql.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When I initialize the database through the class of CreateDolphinScheduler, it threw an exception about missing the file '2.0.1_schema/postgresql/dolphinscheduler_dml.sql '. ### What you expected to happen I expect that the process of initializing database can be executed exactly. ### How to reproduce Try to execute the 'create-dolphinscheduler.sh', you will reproduce it. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7217
https://github.com/apache/dolphinscheduler/pull/7223
ff9bc806ac04d07ff0581e7a88514f943310d2c9
4743e8f891387934c50a4ac5b6f8be76e5e6bbcb
2021-12-06T09:57:23Z
java
2021-12-06T14:55:28Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,209
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/AlertPluginInstanceController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/AlertPluginInstanceService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/AlertPluginInstanceServiceImpl.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/AlertPluginInstanceMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AlertPluginInstanceMapper.xml", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/AlertPluginInstanceMapperTest.java"]
[Bug] [api-service] Filter Security: warning-instance failed
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When I filter `warning-instance` object, I found the result is not expect, and the result not filter ![image](https://user-images.githubusercontent.com/15820530/144805823-4d7cdc1d-bdc6-4d4b-990d-ff6c73deb5d8.png) ### What you expected to happen Filter base on I enter ### How to reproduce Go to `http://<IP>:<PORT>/dolphinscheduler/ui/#/security/warning-instance` and see whether it could filter or not. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7209
https://github.com/apache/dolphinscheduler/pull/7210
e4955934fd7223caf5ec9b0a7d6173a190ef1958
04805818c21c14e2fa147ed5018e7f6045642ff8
2021-12-06T07:41:09Z
java
2021-12-14T04:08:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,206
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterSchedulerService.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/WorkflowExecuteThreadTest.java"]
[Bug] [MasterServer] processInstance always running when task was timeout and failed.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened when task was timeout and failed, processInstance runs without retry and finish. ### What you expected to happen processInstance can goto retry and finish. ### How to reproduce ![image](https://user-images.githubusercontent.com/11962619/144804188-bae18b81-4e9d-437e-b7cc-d71bba251e93.png) ### Anything else _No response_ ### Version 2.0.0 ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7206
https://github.com/apache/dolphinscheduler/pull/7207
705ba74f529a50dbf700e528701b8c19bd65f028
ff9bc806ac04d07ff0581e7a88514f943310d2c9
2021-12-06T07:20:55Z
java
2021-12-06T10:20:56Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,203
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java"]
[Bug] [Process definition] There is a problem with the location of the import process node.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened The import process does not render the nodes in the workflow according to the coordinate position in the file. ![image](https://user-images.githubusercontent.com/19239641/144801054-e7ff9f02-dc71-4e34-95c3-0f331c3c2660.png) ### What you expected to happen The node position is not rendered based on coordinates. ### How to reproduce Upload the workflow file and click on the workflow details. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7203
https://github.com/apache/dolphinscheduler/pull/7811
ab89e4335e4a645f90a9c4a0c05a8efabb5e21c4
f0ad65cb143f81f8c94e864ac6b69fbe2151c0ca
2021-12-06T06:50:22Z
java
2022-01-05T08:28:55Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,195
["dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.1_schema/mysql/dolphinscheduler_ddl.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.1_schema/postgresql/dolphinscheduler_ddl.sql", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/upgrade/SchemaUtilsTest.java"]
[Bug] [DAO] The wrong separator is used in the file path of 'sql/upgrade/2.0.1-schema'
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When I initialized the database through the class of UpgradeDolphinScheduler, I encountered an error. The details is as follows: ``` java.lang.IllegalStateException: Failed to execute CommandLineRunner at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:794) ~[spring-boot-2.5.6.jar:2.5.6] at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:775) ~[spring-boot-2.5.6.jar:2.5.6] at org.springframework.boot.SpringApplication.run(SpringApplication.java:345) ~[spring-boot-2.5.6.jar:2.5.6] at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:143) [spring-boot-2.5.6.jar:2.5.6] at org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler.main(CreateDolphinScheduler.java:40) [dolphinscheduler-dao-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] Caused by: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "1-schema" at org.apache.dolphinscheduler.dao.upgrade.SchemaUtils.lambda$getAllSchemaList$0(SchemaUtils.java:71) ~[dolphinscheduler-dao-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at java.util.TimSort.binarySort(TimSort.java:296) ~[na:1.8.0_312] at java.util.TimSort.sort(TimSort.java:221) ~[na:1.8.0_312] at java.util.Arrays.sort(Arrays.java:1512) ~[na:1.8.0_312] at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:353) ~[na:1.8.0_312] at java.util.stream.Sink$ChainedReference.end(Sink.java:258) ~[na:1.8.0_312] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:483) ~[na:1.8.0_312] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[na:1.8.0_312] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[na:1.8.0_312] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_312] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566) ~[na:1.8.0_312] at org.apache.dolphinscheduler.dao.upgrade.SchemaUtils.getAllSchemaList(SchemaUtils.java:73) ~[dolphinscheduler-dao-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.upgradeDolphinScheduler(DolphinSchedulerManager.java:75) ~[dolphinscheduler-dao-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler$CreateRunner.run(CreateDolphinScheduler.java:58) ~[dolphinscheduler-dao-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:791) ~[spring-boot-2.5.6.jar:2.5.6] ... 4 common frames omitted Caused by: java.lang.NumberFormatException: For input string: "1-schema" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[na:1.8.0_312] at java.lang.Integer.parseInt(Integer.java:580) ~[na:1.8.0_312] at java.lang.Integer.parseInt(Integer.java:615) ~[na:1.8.0_312] at org.apache.dolphinscheduler.dao.upgrade.SchemaUtils.isAGreatVersion(SchemaUtils.java:92) ~[dolphinscheduler-dao-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.apache.dolphinscheduler.dao.upgrade.SchemaUtils.lambda$getAllSchemaList$0(SchemaUtils.java:64) ~[dolphinscheduler-dao-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] ... 18 common frames omitted ``` ### What you expected to happen I expect that the process of initializing database can be executed exactly and correctly. ### How to reproduce I've found this root cause that the wrong separator is used in the file path of 'sql/upgrade/2.0.1-schema'. ![image](https://user-images.githubusercontent.com/4928204/144785147-502b4b28-1ee3-41eb-966e-8f44883903cd.png) ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7195
https://github.com/apache/dolphinscheduler/pull/7200
c7b06b007922c387f7edcf4936a2568a04d35573
705ba74f529a50dbf700e528701b8c19bd65f028
2021-12-06T04:00:37Z
java
2021-12-06T09:29:11Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,183
["dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"]
[Bug] [Warning instance manage] When selecting `slack`, an error message will appear, and the corresponding form will not appear.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When selecting `slack`, an error message will appear, and the corresponding form will not appear. <img width="1649" alt="38dcd65fbb30c4b9f4a49abb1167530" src="https://user-images.githubusercontent.com/19239641/144731706-91114a7e-a9ad-4fcf-bfd4-a76f86f47f83.png"> ### What you expected to happen `i18n` does not support Little Camel. ### How to reproduce Choose `slack`. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7183
https://github.com/apache/dolphinscheduler/pull/7184
2fa3157e6ec7654d593fe3f71a84b70575bb5702
eb07a2b1c953596dd0c2a420f8bd31334f6dfd3e
2021-12-05T03:03:05Z
java
2021-12-05T03:23:50Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,180
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/UsersController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/UsersService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/UsersServiceImpl.java", "dolphinscheduler-api/src/main/resources/i18n/messages.properties", "dolphinscheduler-api/src/main/resources/i18n/messages_en_US.properties", "dolphinscheduler-api/src/main/resources/i18n/messages_zh_CN.properties", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/UsersControllerTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/UsersServiceTest.java"]
[Feature][dolphinscheduler-api] Revoke project permission for specified user
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Revoke project permission for specified user ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7180
https://github.com/apache/dolphinscheduler/pull/7185
2dc09c627fe1d32c63e9a7551390540581916d7d
3361d763c4af1b387602dfc97a5a57961b5a7c43
2021-12-04T17:08:06Z
java
2021-12-05T06:13:23Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,176
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/flink.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/mr.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/spark.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/definitionDetails.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/index.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/instanceDetails.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/index.vue", "dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"]
[Feature][Workflow] main package
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description The main jar package was renamed the main program package. ![image](https://user-images.githubusercontent.com/19239641/144711497-9b9ff397-9284-4862-9f16-0ea59dd80930.png) ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7176
https://github.com/apache/dolphinscheduler/pull/7177
27ea43d5dfda2556fa5fb02179e7c906408007ad
2fa3157e6ec7654d593fe3f71a84b70575bb5702
2021-12-04T13:37:48Z
java
2021-12-04T13:54:59Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,154
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/utils/FileUtils.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/utils/FileUtilsTest.java"]
[Bug] [API] MultipartFile resource [file] cannot be resolved to absolute file path
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened The resource management function upload file is abnormal: ``` java.io.FileNotFoundException: MultipartFile resource [file] cannot be resolved to absolute file path at org.springframework.core.io.AbstractResource.getFile(AbstractResource.java:138) ~[spring-core-5.3.12.jar:5.3.12] at org.apache.dolphinscheduler.api.utils.FileUtils.copyFile(FileUtils.java:48) ~[classes/:na] at org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl.upload(ResourcesServiceImpl.java:599) [classes/:na] at org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl.createResource(ResourcesServiceImpl.java:238) [classes/:na] ``` ### What you expected to happen Upload files normally ### How to reproduce The resource management function upload file ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7154
https://github.com/apache/dolphinscheduler/pull/7155
3c8d1c6da91b23aa9106353829469f40899a7bed
8f77fbbeb8e2261365ebc6921a8095eb56243afb
2021-12-03T10:05:33Z
java
2021-12-06T06:13:53Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,147
["dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/index.vue"]
[Implement][UI] Create worker pop-up page display
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Create worker pop-up page display ![iShot2021-12-03 09 19 26](https://user-images.githubusercontent.com/37063904/144547993-2fce7b49-d0dc-48a6-ac7d-dbf08cf53e8e.png) ### Use case Create a worker pop-up page to display normally ### Related issues Create a worker ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7147
https://github.com/apache/dolphinscheduler/pull/7148
8ebe060658edb7075bdcf123f9ad5bb3d0fc9ceb
3de182dc0859c25877d1623c156fbc6faa97e0d3
2021-12-03T05:02:02Z
java
2021-12-03T08:55:58Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,144
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js"]
[Feature][Workflow Relationship] Format name.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description ![1638503788](https://user-images.githubusercontent.com/19239641/144542789-533eede1-2dd6-4729-9e21-83734dd7f0c6.jpg) ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7144
https://github.com/apache/dolphinscheduler/pull/7143
2b519f31e919e5ccf8d58b747e27594eb2d7306d
99f6ab38478d44e5e2ce2278d5872a2e4e092a3c
2021-12-03T03:56:36Z
java
2021-12-03T06:43:45Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,128
["dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js"]
[Feature][Workflow Relationship] Improve English support
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description ![1638441032](https://user-images.githubusercontent.com/19239641/144405129-c58241e0-6424-4288-affd-089e2a9b995e.png) ![image](https://user-images.githubusercontent.com/19239641/144405171-82c0bd73-1969-466b-8fcc-cac48b6f8434.png) ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7128
https://github.com/apache/dolphinscheduler/pull/7129
6beae191e2df497b7624728f0208c3a5ab7f0543
791ed6de77893d7dec7595e7cfeb775a2122e68c
2021-12-02T10:32:05Z
java
2021-12-02T17:05:45Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,122
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js"]
[Feature][Workflow relationship] Format time.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description ![1638433979(1)](https://user-images.githubusercontent.com/19239641/144386304-609f157d-8dd4-4589-a188-d096dce3b030.jpg) ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7122
https://github.com/apache/dolphinscheduler/pull/7123
791ed6de77893d7dec7595e7cfeb775a2122e68c
3304edee47947e0b5a2a9445fe602133efc3d5d7
2021-12-02T08:35:09Z
java
2021-12-03T02:02:33Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,112
["dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/index.vue"]
[Bug] [UI] The modal of datasource will disappear when I click the area outside of this modal.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened As creating a datasource , the modal of datasource will disappear if I click the area outside of this modal. But the info in the modal is gone. Filling out some info. <img width="1046" alt="image" src="https://user-images.githubusercontent.com/4928204/144344041-453097c0-e3b7-4cd0-8368-b408020e045e.png"> Everything is gone. <img width="850" alt="image" src="https://user-images.githubusercontent.com/4928204/144344575-6585f175-ca50-4dcf-a8e4-fa7ae638753e.png"> ### What you expected to happen I expect that the modal shouldn't disappear when clicking the area outside to the modal. ### How to reproduce 1.Create a datasource and fill out the form. 2.Click the area of the modal and then the modal disappear. 3.So the info you have filled is gone at the same time. ### Anything else _No response_ ### Version 2.0.0 ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7112
https://github.com/apache/dolphinscheduler/pull/7120
2bf73603bbae916fe2bb26456a86015735573d4e
226bed1768332801c5ef4c47dfba9ddd86f3d309
2021-12-02T02:09:04Z
java
2021-12-03T08:56:30Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,110
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/UsersController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/UsersService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/UsersServiceImpl.java", "dolphinscheduler-api/src/main/resources/i18n/messages.properties", "dolphinscheduler-api/src/main/resources/i18n/messages_en_US.properties", "dolphinscheduler-api/src/main/resources/i18n/messages_zh_CN.properties", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/UsersControllerTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/UsersServiceTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.xml"]
[Feature][dolphinscheduler-api] support grant project by code
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Third-party integrated scenarios, support grant through project code ### Use case ## API ## org.apache.dolphinscheduler.api.controller.UsersController#grantProjectByCode ## Request ## | Name | Type | Require | | :--- | :--- | :---: | | userId | Int | ✓ | | projectCodes | String | ✓ | ## Response ## Same as `org.apache.dolphinscheduler.api.controller.UsersController#grantProject` ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7110
https://github.com/apache/dolphinscheduler/pull/7111
fa8ccd3855dfaa19d73cd7541184938f227bb4b7
27ea43d5dfda2556fa5fb02179e7c906408007ad
2021-12-01T16:08:53Z
java
2021-12-04T13:43:14Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,103
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sqoop.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"]
[Bug] [Process definition] sqoop component issues
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened 1.sqoop component custom parameters have no checks and can add multiple empty parameters, resulting in an exception when the workflow is selected by dependent components. 2. If you add a sqoop component to a workflow and add multiple custom parameters at the same time, saving will result in data loss for the entire workflow. ### What you expected to happen The sqoop component needs to enforce the parameter name required, and the workflow can be saved normally without losing data. ### How to reproduce 1. Create a workflow, add a component, such as SQL components or SHELL components can be saved, open normal. 2. Continue to add sqoop components, but do not add custom parameters, save, open normal. 3. Add multiple empty parameters to the sqoop component, save, open and discover that everything is gone. ### Anything else _No response_ ### Version 2.0.0 ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7103
https://github.com/apache/dolphinscheduler/pull/7119
9fffbdb3163381002b7fd6d15e2698cdc5cded59
6beae191e2df497b7624728f0208c3a5ab7f0543
2021-12-01T08:39:17Z
java
2021-12-02T11:33:51Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,095
["dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue"]
[Bug] [Create Warning Instance] Incomplete form editing information is displayed.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened After clicking the edit button, the linkage form information is not displayed completely. ![image](https://user-images.githubusercontent.com/19239641/144181670-30dbf46c-f1dc-4046-8812-25d1a8ec16bf.png) ### What you expected to happen Some parameters of `form-create` dynamically created form are `null`. ### How to reproduce Click the edit button. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7095
https://github.com/apache/dolphinscheduler/pull/7096
463fc76bb7bf83d2826c680cc7531b102a7abe65
b3efcdfeba06867e620829638ff27c3069aeac23
2021-12-01T06:13:53Z
java
2021-12-01T06:41:14Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,093
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java"]
[Bug] [Dependent] stuck in running
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![](https://files.catbox.moe/3y3efn.png) ![](https://files.catbox.moe/h12kd7.png) dependent stuck in starting.no log output and pid is 0. It seems dependent task not launch. ### What you expected to happen running successfully ### How to reproduce ![](https://files.catbox.moe/hqc4hs.png) ### Anything else _No response_ ### Version 2.0.0 ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7093
https://github.com/apache/dolphinscheduler/pull/7116
eb07a2b1c953596dd0c2a420f8bd31334f6dfd3e
8d39bf14b1b189b43d27acfa2a3ae9ddd4eec5c6
2021-12-01T03:05:16Z
java
2021-12-05T05:52:48Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,092
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/canvas.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/layoutConfigModal.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue", "dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js"]
[Improvement][ui] When formatting the DAG, support tasks with no location data.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description There is no location data when the third party calls the interface to associate tasks and workflows. On the workflow page, these tasks are not displayed, and they are not formatted at the same time when formatting the DAG. ### Use case When formatting the DAG on page, format and display these tasks without location data. ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7092
https://github.com/apache/dolphinscheduler/pull/7102
b3efcdfeba06867e620829638ff27c3069aeac23
173a3856185abc0fa9be16715d2567ebbe054a6f
2021-12-01T02:54:37Z
java
2021-12-01T08:40:11Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,083
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/conditions.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/switch.vue"]
[Bug] [UI] The switch task is missing the else branch
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened The switch task is missing the else branch: ![image](https://user-images.githubusercontent.com/87303815/144031211-140c994c-881c-4d9c-951e-7d7381e3ed63.png) ### What you expected to happen should be as follows: ![image](https://user-images.githubusercontent.com/87303815/144031229-0b80c0b3-e2fc-49db-8859-bf7abd64e6f1.png) ### How to reproduce Create a switch task on the DAG page. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7083
https://github.com/apache/dolphinscheduler/pull/7084
b265297fc86108501ce8ca306a38fcfed1eb2fe5
e0623973e000ba3c5cc90ac72c0ba222e6947d1e
2021-11-30T10:36:59Z
java
2021-12-02T06:35:36Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,070
["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskDefinition.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/timeoutAlarm.vue"]
[Bug] [dolphinscheduler-api] Create or edit a workflow definition, check the timeoutNotifyStrategy, the timeoutNotifyStrategy is null in the database
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Create or edit a workflow definition, check the timeoutNotifyStrategy, the timeoutNotifyStrategy is null in the database ![image](https://user-images.githubusercontent.com/95271106/144008124-e24a57e3-59d6-40e6-b019-f9beeac8b2ed.png) ![image](https://user-images.githubusercontent.com/95271106/144007568-57b371e1-24cf-4694-8378-9529fb6351d8.png) ![image](https://user-images.githubusercontent.com/95271106/144007567-6fd24e2e-bb34-4e69-a71a-240c789d2294.png) ### What you expected to happen The timeoutNotifyStrategywas not written to the database when saving the workflow definition ### How to reproduce When saving the workflow definition, write the timeoutNotifyStrategywas to the database ### Anything else _No response_ ### Version 2.0.0 ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7070
https://github.com/apache/dolphinscheduler/pull/7107
173a3856185abc0fa9be16715d2567ebbe054a6f
d7eb7453e555309bf060809e6f6c61232be469cd
2021-11-30T07:58:35Z
java
2021-12-01T13:03:49Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,061
["dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.0_schema/mysql/dolphinscheduler_ddl.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.0_schema/postgresql/dolphinscheduler_ddl.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.1-schema/mysql/dolphinscheduler_ddl.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.1-schema/postgre/dolphinscheduler_ddl.sql"]
[Bug] [dolphinscheduler-api] The pages of project management, workflow instance and task instance are accessed slowly
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened The pages of project management, workflow instance and task instance are accessed slowly ![image](https://user-images.githubusercontent.com/95271106/143994546-7125905d-b772-4a75-bcf1-91573804387b.png) ### What you expected to happen When the amount of data is large, the SQL query statement is slow ### How to reproduce Optimize SQL query statements ### Anything else _No response_ ### Version 2.0.0 ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7061
https://github.com/apache/dolphinscheduler/pull/7166
ed9fca6c976761abcf4cef2656b61516fd976ad0
0e75bd8008b62795976919409b79f9137e929a4c
2021-11-30T06:10:47Z
java
2021-12-04T07:53:18Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,037
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java"]
[Bug] [Data Supplement] process instance can not be killed.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Starting a job with data supplement in proccess definition ui. Stopping process instance with stop button in process instance list ui. Not only did it not stop, it also restart the same task instance. ### What you expected to happen stopping process instance successfully. ### How to reproduce Starting a job with data supplement in proccess definition ui. Stopping process instance with stop button in process instance list ui. ### Anything else _No response_ ### Version 2.0.0 ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7037
https://github.com/apache/dolphinscheduler/pull/7140
3361d763c4af1b387602dfc97a5a57961b5a7c43
d83735ab5191f37bfb90b9cb3d534386f7792fbf
2021-11-29T07:07:51Z
java
2021-12-05T07:03:52Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,019
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/task/switchtask/SwitchResultVo.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/utils/DagHelper.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/task/SwitchTaskProcessor.java"]
[Bug] [MasterServer] switch task run error
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened branch: 2.0 ``` [ERROR] 2021-11-26 18:46:39.370 org.apache.dolphinscheduler.common.utils.JSONUtils:[129] - parse object exception! com.fasterxml.jackson.databind.JsonMappingException: java.lang.Long cannot be cast to java.util.ArrayList at [Source: (String)"{"dependTaskList":[{"condition":"${today}==20211201","nextNode":3645680828192},{"condition":"${today}==20211101","nextNode":3645675551008}],"nextNode":3645675551008}"; line: 1, column: 65] (through reference chain: org.apache.dolphinscheduler.common.task.switchtask.SwitchParameters["dependTaskList"]->java.util.ArrayList[0]->org.apache.dolphinscheduler.common.task.switchtask.SwitchResultVo["nextNode"]) at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:281) at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:611) at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:599) at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:143) at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27) at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129) at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4218) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3214) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3182) at org.apache.dolphinscheduler.common.utils.JSONUtils.parseObject(JSONUtils.java:127) at org.apache.dolphinscheduler.dao.entity.TaskInstance.getSwitchDependency(TaskInstance.java:473) at org.apache.dolphinscheduler.server.master.runner.task.SwitchTaskProcessor.setSwitchResult(SwitchTaskProcessor.java:138) at org.apache.dolphinscheduler.server.master.runner.task.SwitchTaskProcessor.run(SwitchTaskProcessor.java:88) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitTaskExec(WorkflowExecuteThread.java:616) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitStandByTask(WorkflowExecuteThread.java:1244) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:858) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskFinished(WorkflowExecuteThread.java:391) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskStateChangeHandler(WorkflowExecuteThread.java:348) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.stateEventHandler(WorkflowExecuteThread.java:297) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.handleEvents(WorkflowExecuteThread.java:245) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:225) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to java.util.ArrayList at org.apache.dolphinscheduler.common.task.switchtask.SwitchResultVo.setNextNode(SwitchResultVo.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:141) ... 30 common frames omitted [ERROR] 2021-11-26 18:46:39.370 org.apache.dolphinscheduler.server.master.runner.task.SwitchTaskProcessor:[92] - update work flow 78 switch task 380 state error: java.lang.NullPointerException: null at org.apache.dolphinscheduler.server.master.runner.task.SwitchTaskProcessor.setSwitchResult(SwitchTaskProcessor.java:139) at org.apache.dolphinscheduler.server.master.runner.task.SwitchTaskProcessor.run(SwitchTaskProcessor.java:88) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitTaskExec(WorkflowExecuteThread.java:616) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitStandByTask(WorkflowExecuteThread.java:1244) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:858) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskFinished(WorkflowExecuteThread.java:391) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskStateChangeHandler(WorkflowExecuteThread.java:348) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.stateEventHandler(WorkflowExecuteThread.java:297) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.handleEvents(WorkflowExecuteThread.java:245) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:225) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ``` it seems like the task params was dismatch between ui and server, which cause conversion failure. ### What you expected to happen switch task run normally. ### How to reproduce create a switch task and run it. ### Anything else _No response_ ### Version 2.0.0 ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7019
https://github.com/apache/dolphinscheduler/pull/7046
8e93939121043b828f73ea2898c6102aa858524b
a0955a078a2ca83f3736caf5f05a325545168114
2021-11-26T13:44:05Z
java
2021-11-30T01:59:48Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,016
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ProcessDefinitionController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionServiceTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/DataSourceMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/DataSourceMapper.xml"]
[Feature][Auto DAG] Auto create workflow while import sql script with specific hint
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Expand exists import process in ![image](https://user-images.githubusercontent.com/15820530/143562382-7d49c649-3c43-4280-856e-612c090717e3.png) Auto create workflow while import sql script with specific hint `name` and `upstream`. would create `sql task type` task for and set dependence according setting. ### Use case When user import sql scripts with specific hint in header, it will create sql task for each sql scripts, and then parse the hint to set sql task upstream. After parsing all sql script, we would create the same number of tasks as the number of sql scripts(files). Beside that, we would connect tasks by sql scripts given hint and set task relation for it. if sql scripts set not exists upstream task we should pop a dialog and ask if ignore dependent or not. If user choose "yes" we should import but ignore the error, if choose "no", we should termine import without create any task or workflow. The flow chat as below: > source file is in https://drive.google.com/file/d/1aV4nHH9_xf8z9WiyT6_-rDlWv2fpXzEj/view?usp=sharing ![DS-AutoDAG-flow-chat drawio](https://user-images.githubusercontent.com/15820530/143552961-267ee1cf-4c9b-498e-9e9f-9a0ea4de355b.png) ## SQL scripts example And here is an example about sql scripts. Each sql script should have two hint, `name` to specific sql task name , and `upstream` to set task upstream for this task * `start.sql`: If both `name` and `upstream` hint is provided, we just use them to set task name and upstream task, if `upstream` set to root, mean task is the root task in the workflow ```sql -- name: start_auto_dag -- upstream: root insert into table start_auto_dag select 1; ``` * `child1.sql`: When task have upstream task, you could just set the value as `upstream`. And task relation would be create after autodag parser done. ```sql -- name: branch_one -- upstream: start_auto_dag insert into table branch_one select * from start_auto_dag; ``` * `branch_two.sql`: If hint `name` not provide, we would use sql script filename as task name. In this case, we use `barnch_two` as task name, and set `start_auto_dag` as upstream task. ```sql -- upstream: start_auto_dag insert into table branch_two select * from start_auto_dag; ``` * `end.sql`: If task have two upstreams, you could list two task name and using specific delimiter for it, as an example we use `,` as delimiter, and set task `branch_one` and `branch_two` as upstream ```sql -- name: end_auto_dag -- upstream: branch_one, branch_two insert into table end_auto_dag select * from branch_one union all union all select * from branch_two union all ``` * `independence.sql`: If upstream hint not set, we would use `root` as default. So it would become independence task in the workflow ```sql select 'I am the independence of this workflow' ``` After we submit and DS parse, would could get workflow as below ``` -> branch_one -> / \ start_auto_dag -> -> end_auto_dag \ / -> branch_two -> independence ``` ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7016
https://github.com/apache/dolphinscheduler/pull/7214
a826d37e54c45119a380ae65ebb47a749037efd3
4c2f77ee9cbd599edfb38e4bf82755f74e96e7c6
2021-11-26T09:59:33Z
java
2022-01-05T09:55:08Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,004
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClient.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClientTest.java"]
[Bug] [MasterServer] master will still work when it lose zk connection
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Now when master lose zk connection, it will still find commands and handle processInstance, because the condition `ServerNodeManager.MASTER_SIZE` and `slot` is not changed. So it may happen two masters have the same slot, and I found `MasterRegistryClient` addConnectionStateListener when registry: `registryClient.addConnectionStateListener(newState -> { if (newState == ConnectionState.RECONNECTED || newState == ConnectionState.SUSPENDED) { registryClient.persistEphemeral(localNodePath, ""); } }); ` ### What you expected to happen When master lose zk connection, stop processing command until reconnect. ### How to reproduce none ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7004
https://github.com/apache/dolphinscheduler/pull/7045
6e5539478392d6c1f334ae53d01574b5e54e769c
be3bd4c83d30773ce6204bca08d3cd1e6444dea9
2021-11-26T02:54:02Z
java
2021-11-30T03:00:17Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,978
["dolphinscheduler-ui/src/js/conf/home/store/user/actions.js"]
[Bug] [UI] Token delete request 404
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Token delete request 404. ``` xhr.js?b50d:178 DELETE http://localhost:8888/dolphinscheduler/access-token/3?id=3 404 (Not Found) ``` ### What you expected to happen Token delete request is normal ### How to reproduce Delete token ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6978
https://github.com/apache/dolphinscheduler/pull/6979
a0955a078a2ca83f3736caf5f05a325545168114
631a31b6ac6068100f312d7194a6939bc7801bf8
2021-11-24T07:40:46Z
java
2021-11-30T02:00:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,961
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/config/MasterConfig.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/consumer/TaskPriorityQueueConsumer.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/WorkflowExecuteThreadTest.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/consumer/TaskPriorityQueueConsumerTest.java"]
[Improvement][MasterServer] Use threadpool to dispatch instead of single thread
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Now the Master use a single thread `TaskPriorityQueueConsumer` to dispatch task, it will be slowly when Master was busy. So I think it can be improved by threadpool instead of single thread. ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6961
https://github.com/apache/dolphinscheduler/pull/6962
5a04b8d49aa8e30a60a3fdc0cdb3b2f6910aa084
e6fe39ea47f3168201f5d7f8c8a5340d075d2379
2021-11-22T09:25:39Z
java
2021-11-25T04:55:37Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,955
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/ExecutionStatus.java", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/common.js"]
[Bug] [UI] View task status module on project homepage cannot read property'label' of undefined
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened View task status module on project homepage cannot read property'label' of undefined ``` TypeError: Cannot read property 'label' of undefined at eval (taskStatusCount.vue?cc37:86) at arrayMap (lodash.js?2ef0:653) at Function.map (lodash.js?2ef0:9622) at VueComponent._handleTaskStatus (taskStatusCount.vue?cc37:86) at eval (taskStatusCount.vue?cc37:113) ``` ### What you expected to happen The page is displayed normally ### How to reproduce Project homepage view exception ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6955
https://github.com/apache/dolphinscheduler/pull/6956
631a31b6ac6068100f312d7194a6939bc7801bf8
f0630bc9a05cf4e4407e040ad0bec36d486aa173
2021-11-22T05:04:52Z
java
2021-11-30T02:00:54Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,950
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js"]
[Feature][Workflow relationship] The status is currently a number and it should be supported by `i18n`.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description The current status is a number and should be changed to English or Chinese. ![image](https://user-images.githubusercontent.com/19239641/142795372-aa006f07-1ffd-41d4-a017-c2b4bef54af8.png) ### Use case Change the status `0` to offline, and `1` to online. ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6950
https://github.com/apache/dolphinscheduler/pull/6954
199a84aa059234d76f01fc4ed5daf96abcfeb630
da35c17cc07ea7fc2895eda4baf4e84b0c67b2fe
2021-11-22T02:06:46Z
java
2021-11-22T05:47:14Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,941
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/AlertGroupServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/AlertGroupServiceTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/AlertGroupMapper.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/vo/AlertGroupVo.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AlertGroupMapper.xml"]
[Bug] [API] edit alarm group page is abnormal
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened edit alarm group page is abnormal: ``` vue.runtime.esm.js?2b0e:1897 TypeError: Cannot read property 'split' of undefined at VueComponent.created (createWarning.vue?045c:146) at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1863) at callHook (vue.runtime.esm.js?2b0e:4235) at VueComponent.Vue._init (vue.runtime.esm.js?2b0e:5022) at new VueComponent (vue.runtime.esm.js?2b0e:5168) at createComponentInstanceForVnode (vue.runtime.esm.js?2b0e:3304) at init (vue.runtime.esm.js?2b0e:3133) at createComponent (vue.runtime.esm.js?2b0e:6022) at createElm (vue.runtime.esm.js?2b0e:5969) at createChildren (vue.runtime.esm.js?2b0e:6097) ``` ### What you expected to happen The page is displayed normally ### How to reproduce Edit an alarm group on the alarm group form page. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6941
https://github.com/apache/dolphinscheduler/pull/6942
ad33d434987863b4ee7b3f8ed89d7e59734687c0
38b14410ab622685b961cc8fc6728963b8552779
2021-11-21T06:34:50Z
java
2021-11-23T01:28:27Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,930
["dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/exceptions.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/sub_process.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_sub_process.py", "dolphinscheduler-python/src/main/java/org/apache/dolphinscheduler/server/PythonGatewayServer.java"]
[Feature][Python] Add workflow as code task type sub_process
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Add python api task type sub_process. sub task in #6407. we should cover all parameter from UI side and make it suitable for python. ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6930
https://github.com/apache/dolphinscheduler/pull/7022
3304edee47947e0b5a2a9445fe602133efc3d5d7
f480b8adf8f86b7bf1d6727385c8fad8307a452b
2021-11-19T07:09:05Z
java
2021-12-03T02:26:45Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,929
["dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/database.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/procedure.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/sql.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_database.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_procedure.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_sql.py"]
[Feature][Python] Add workflow as code task type procedure
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Add python api task type procedure. sub task in #6407. we should cover all parameter from UI side and make it suitable for python. ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6929
https://github.com/apache/dolphinscheduler/pull/7279
12b46dfaa62f8f6c51ea739e0d31ca934c811994
1948030151173c72c81c45346e37bba6dc35d44b
2021-11-19T07:08:12Z
java
2021-12-13T11:54:24Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,928
["dolphinscheduler-python/pydolphinscheduler/examples/task_switch_example.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/switch.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_switch.py"]
[Feature][Python] Add workflow as code task type switch
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Add python api task type switch. sub task in #6407. we should cover all parameter from UI side and make it suitable for python. ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6928
https://github.com/apache/dolphinscheduler/pull/7531
e23a4848c038c9b04327fd431d43fdf54eb9b689
946a0c7c5768506e7ca92a21e7aed6ad5aa60871
2021-11-19T07:07:07Z
java
2021-12-22T03:46:34Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,927
["dolphinscheduler-python/pydolphinscheduler/examples/task_conditions_example.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/condition.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/dependent.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_condition.py"]
[Feature][Python] Add workflow as code task type conditions
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Add python api task type conditions. sub task in #6407. we should cover all parameter from UI side and make it suitable for python. ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6927
https://github.com/apache/dolphinscheduler/pull/7505
4c49a8b91fbeb26d6a18314b0d67905a9f296859
e23a4848c038c9b04327fd431d43fdf54eb9b689
2021-11-19T07:06:09Z
java
2021-12-22T03:06:45Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,926
["dolphinscheduler-python/pydolphinscheduler/examples/task_dependent_example.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/dependent.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_dependent.py", "dolphinscheduler-python/src/main/java/org/apache/dolphinscheduler/server/PythonGatewayServer.java"]
[Feature][Python] Add workflow as code task type dependent
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Add python api task type dependent. sub task in #6407. we should cover all parameter from UI side and make it suitable for python. ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6926
https://github.com/apache/dolphinscheduler/pull/7405
676a952bcbeba1790b03954915ec352cd920b6d1
6f93ebf3ba66a2e99e56e1844243dfc75d43556c
2021-11-19T07:04:43Z
java
2021-12-16T01:58:50Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,924
["dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/sql.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_sql.py", "dolphinscheduler-python/src/main/java/org/apache/dolphinscheduler/server/PythonGatewayServer.java"]
[Feature][Python] Add workflow as code task type sql
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Add python api task type sql. sub task in #6407. we should cover all parameter from UI side and make it suitable for python. ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6924
https://github.com/apache/dolphinscheduler/pull/6968
abde2d7d28a3b070d0eb47f097d4c6e17a7c4ae1
41e8836c91f41035e4be806a11640f44438e4dc0
2021-11-19T06:59:44Z
java
2021-11-23T08:58:00Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,922
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"]
[Feature][Workflow relationship] The configuration of `i18n` does not fully support English.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description English support is not perfect. ![image](https://user-images.githubusercontent.com/19239641/142577832-73952053-731d-4bf3-90ed-5e22f2e16016.png) ### Use case Improve English support. ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6922
https://github.com/apache/dolphinscheduler/pull/6936
1fdbc3270c010d31485b2dfb79243a2300e58759
024aacacb305c7145e73c5f3d8d1209a88f814d7
2021-11-19T06:49:35Z
java
2021-11-20T14:58:30Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,901
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/index.vue"]
[Feature][Project Process] The vertical scroll bar is removed from the three sub-menus of the process menu in the project.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description The tables in Process definition, Process Instance, and Task Instance all have vertical scroll bars. ![image](https://user-images.githubusercontent.com/19239641/142808869-571c0372-a62d-4c6b-9db3-c9f24030ea1e.png) ### Use case Remove the vertical scroll bars in these three tables. ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6901
https://github.com/apache/dolphinscheduler/pull/6958
38b14410ab622685b961cc8fc6728963b8552779
982030bf3867588317d5f5f056bd8db152d54ddb
2021-11-18T06:45:55Z
java
2021-11-23T02:45:11Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,899
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGrid.vue"]
[Feature][Workflow relationship] When the workflow data of the Workflow relationship is `null`, it will be displayed as `-`.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description At present, when the workflow data is `null`, the front-end page is also displayed as `null`, so it can be judged that when the data is `null`, the page is displayed as `-`. ![image](https://user-images.githubusercontent.com/19239641/142576210-0e62daf2-00a3-41d9-94b1-f6831003d0e0.png) ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6899
https://github.com/apache/dolphinscheduler/pull/6934
024aacacb305c7145e73c5f3d8d1209a88f814d7
d2666d67391d541468bbfa4fe49dcbd8c4fe2300
2021-11-18T06:24:55Z
java
2021-11-20T14:59:18Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,898
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/relatedItems.vue"]
[Feature][Process definition] The `select` component of batch copy and batch move adds search function.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description To facilitate quick selection when there are multiple workflows, a search box is added to search the data of `select`. ### Use case You can quickly locate a workflow through the search form. ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6898
https://github.com/apache/dolphinscheduler/pull/6915
802fc498b533f855a19ceebb6a3cf0e9d6c57fea
eb01f2e6170520c5daa032f85aa782b248ffb7d4
2021-11-18T06:17:33Z
java
2021-11-19T03:17:03Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,896
["dolphinscheduler-ui/src/sass/common/index.scss"]
[Bug] [Task Instance] A new line appears in the name search, making it unavailable.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When the query condition is less than 1370 pixels in the viewable area of the browser, the name search appears to wrap and is not fully displayed. ![image](https://user-images.githubusercontent.com/19239641/142401188-24eb6bac-882d-49bf-9209-ab3f5b065504.png) ### What you expected to happen The height of a `class` named `conditions-box` is not stretched. ### How to reproduce Reduce the width of the visible area of the browser to less than 1370 pixels. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6896
https://github.com/apache/dolphinscheduler/pull/6911
f9a130d73e79e8f4cfd17e077c4bf48137a64b38
1be080237bad025651247bd24dc5ad2b24520f8d
2021-11-18T04:19:52Z
java
2021-11-19T03:46:45Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,889
["dolphinscheduler-ui/src/js/conf/home/router/index.js", "dolphinscheduler-ui/src/js/conf/home/router/module/datasource.js", "dolphinscheduler-ui/src/js/conf/home/router/module/home.js", "dolphinscheduler-ui/src/js/conf/home/router/module/monitor.js", "dolphinscheduler-ui/src/js/conf/home/router/module/projects.js", "dolphinscheduler-ui/src/js/conf/home/router/module/resource.js", "dolphinscheduler-ui/src/js/conf/home/router/module/security.js", "dolphinscheduler-ui/src/js/conf/home/router/module/user.js"]
[Improvement][router] Split the routing module to increase subsequent maintainability.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description At present, all routing configuration files are placed in the `index.js` file, so that the file content is too much, and it is not suitable for search and subsequent maintenance. ### Use case Split routing file ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6889
https://github.com/apache/dolphinscheduler/pull/6892
80dcf9b03ec0c37c01e7323a265dc0728012af52
00813b0a696bcd50d484670cf191efcb8921648f
2021-11-17T10:51:40Z
java
2021-11-19T01:38:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,882
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/EventExecuteService.java"]
[Bug] [Master] process cannot finish and its status is always running.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened branch :2.0 process cannot finish and its status is always running. ![image](https://user-images.githubusercontent.com/29528966/142152624-f312bc37-f42e-432c-b861-8bfe61fa82c8.png) ### What you expected to happen process end normally. ### How to reproduce 1. run a process with a sub process ( only a shel task in it) 2. sometimes ( 1/20) the process status would be always running. ### Anything else _No response_ ### Version 2.0.0-alpha ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6882
https://github.com/apache/dolphinscheduler/pull/6886
f564687a8988c8ccdb2f138b1b994cce9eb914e9
653eae24195957b01d1a911aada020372d1742e6
2021-11-17T07:22:20Z
java
2021-11-17T09:39:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,854
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.xml"]
[Bug] [File Manage] queryResourcePaging : An error occurs when an authorized user accesses a resource
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened There is an error in ResourceMapper.xml (line:66) This will cause authorized users not to read the file list; ### What you expected to happen An unnecessary ”and“ was written logs: Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Error: Method queryTotal execution error of sql : SELECT COUNT(1) FROM ( select d.id, d.alias, d.file_name, d.description, d.user_id, d.type, d.size, d.create_time, d.update_time, d.pid, d.full_name, d.is_directory from t_ds_resources d where d.type=? and d.pid=? and ( and d.id in ( ? , ? ) or d.user_id=? ) order by d.update_time desc ) TOTAL at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39) at com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor.queryTotal(PaginationInterceptor.java:248) at com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor.intercept(PaginationInterceptor.java:202) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) at com.sun.proxy.$Proxy182.prepare(Unknown Source) at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.prepareStatement(MybatisSimpleExecutor.java:94) at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.doQuery(MybatisSimpleExecutor.java:66) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:324) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:136) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) ... 110 common frames omitted ### How to reproduce Use the super/root/admin account to create a folder and file, and then authorize it to ordinary users. When ordinary users view it, there will be no data, and the above error will appear in the log file. ### Anything else _No response_ ### Version 2.0.0-alpha ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6854
https://github.com/apache/dolphinscheduler/pull/6907
f36ca0290770cd0f70a8fd29b17d0daf02d525db
676a952bcbeba1790b03954915ec352cd920b6d1
2021-11-15T08:55:07Z
java
2021-12-15T11:18:00Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,849
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/config/MasterConfig.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterSchedulerService.java", "dolphinscheduler-server/src/main/resources/application-master.yaml", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/process/ProcessServiceTest.java"]
[Improvement][MasterServer] improve master scan and handle commands
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Now the Master scan one command from DB and convert to process instance each time, it's a looply work on single thread, which limits overall speed. So I think it can be changed to fetch more commands each time and handle in parallel. ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6849
https://github.com/apache/dolphinscheduler/pull/6850
1be080237bad025651247bd24dc5ad2b24520f8d
595e4843d02addf9bc4c11a8c556c354109d802f
2021-11-15T02:20:30Z
java
2021-11-19T04:03:49Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,838
["dolphinscheduler-python/pydolphinscheduler/examples/tutorial.py", "dolphinscheduler-python/pydolphinscheduler/requirements_dev.txt", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/core/process_definition.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/utils/date.py", "dolphinscheduler-python/pydolphinscheduler/tests/core/test_process_definition.py", "dolphinscheduler-python/pydolphinscheduler/tests/utils/__init__.py", "dolphinscheduler-python/pydolphinscheduler/tests/utils/test_date.py", "dolphinscheduler-python/src/main/java/org/apache/dolphinscheduler/server/PythonGatewayServer.java"]
[Feature][python] Add parameter schedule to process definition
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Python API `ProcessDefinition` do not support schedule for now, we should add this to it, and set workflow schedule parameter. https://github.com/apache/dolphinscheduler/blob/dev/dolphinscheduler-python/pydolphinscheduler/examples/tutorial.py ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6838
https://github.com/apache/dolphinscheduler/pull/6664
089f73ebe4b6fcdb8c02b9098ebe86a8de183ace
e76cf77040ae558461c54730c27eb0fbe28bc54f
2021-11-13T07:04:12Z
java
2021-11-13T09:21:40Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,829
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskExecuteProcessor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/runner/TaskExecuteThread.java"]
[Bug] [WorkerServer] Too many open files error
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened version: 2.0 ``` [ERROR] 2021-11-12 14:13:35.611 org.apache.dolphinscheduler.common.utils.OSUtils:[175] - /etc/passwd (Too many open files) java.io.FileNotFoundException: /etc/passwd (Too many open files) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at org.apache.dolphinscheduler.common.utils.OSUtils.getUserListFromLinux(OSUtils.java:189) at org.apache.dolphinscheduler.common.utils.OSUtils.getUserList(OSUtils.java:172) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:139) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [ERROR] 2021-11-12 14:13:35.611 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[141] - tenantCode: root does not exist [INFO] 2021-11-12 14:13:35.611 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[232] - develop mode is: false [ERROR] 2021-11-12 14:13:35.611 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[252] - delete exec dir failed : Failed to list contents of /tmp/dolphinscheduler/exec/process/851650632065024/851651851886592_1/3524626/4979296 java.io.IOException: Failed to list contents of /tmp/dolphinscheduler/exec/process/851650632065024/851651851886592_1/3524626/4979296 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1647) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.clearTaskExecPath(TaskExecuteThread.java:249) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:220) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ``` ``` [root@ds8 apache-dolphinscheduler-2.0.1-alpha-SNAPSHOT-bin]# ulimit -n 65535 [root@ds8 apache-dolphinscheduler-2.0.1-alpha-SNAPSHOT-bin]# jps 3767833 Jps 3767487 WorkerServer [root@ds8 apache-dolphinscheduler-2.0.1-alpha-SNAPSHOT-bin]# lsof -p 3767487 | wc -l 66016 ``` When I run a dryRun model by more than 6w+ tasks, I found that worker had many `Too many open files` error. It seems like worker didn't close files, because open files number is continued growth even though tasks are fail and finish. ### What you expected to happen Worker can close file normally. ### How to reproduce Run 6w+ tasks with dryRun Model. ### Anything else _No response_ ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6829
https://github.com/apache/dolphinscheduler/pull/6852
1b6b5268b6051357f7866a280ab6492d37fe67a8
e6239e808b9a508675889fccb7a47dff40e4d172
2021-11-12T06:21:47Z
java
2021-11-21T09:51:56Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,820
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/DataSourceServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProjectServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/UsersServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/DataSourceServiceTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProjectServiceTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ResourcesServiceTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/UsersServiceTest.java"]
[Feature][API] Ordinary users can also share resource data source projects with others
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Ordinary users can also share resource data source projects with others ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6820
https://github.com/apache/dolphinscheduler/pull/7929
0c353d69e29a0b562ebb6938d345fc1b4589b781
82d04f1924692db83461b8c7800f2ab7228825c1
2021-11-11T16:24:04Z
java
2022-01-15T01:08:03Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,809
["dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java"]
[Bug] [dolphinscheduler-task-sql] NullPointerException happened when send alert.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened NullPointerException happened when run sql task. -[2.0.0-release-prepare] ### What you expected to happen Run sql task with alert successful. ### How to reproduce [ERROR] 2021-11-11 14:31:19.462 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[210] - task scheduler failure java.lang.NullPointerException: null at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.sendAlert(TaskExecuteThread.java:225) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:196) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.sendAttachment(SqlTask:280); `private void sendAttachment(int groupId, String title, String content) {` ` setNeedAlert(Boolean.TRUE);` ` TaskAlertInfo taskAlertInfo = new TaskAlertInfo();` ` taskAlertInfo.setAlertGroupId(groupId);` ` taskAlertInfo.setContent(content);` ` taskAlertInfo.setTitle(title);` `}` Forget to setTaskAlertInfo? `private void sendAttachment(int groupId, String title, String content) {` ` setNeedAlert(Boolean.TRUE);` ` TaskAlertInfo taskAlertInfo = new TaskAlertInfo();` ` taskAlertInfo.setAlertGroupId(groupId);` ` taskAlertInfo.setContent(content);` ` taskAlertInfo.setTitle(title);` ` setTaskAlertInfo(taskAlertInfo);` `}` ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6809
https://github.com/apache/dolphinscheduler/pull/7089
2ed3c0c3a76dd6ff631b0e63f6328d32fc1c81b3
463fc76bb7bf83d2826c680cc7531b102a7abe65
2021-11-11T11:52:11Z
java
2021-12-01T06:08:40Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,802
["README.md", "README_zh_CN.md"]
[Bug] [readme] Error link to Docker and k8s in readme
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Error link to Docker and k8s in readme ### What you expected to happen Change the right link in readme ### How to reproduce Error link to Docker and k8s in readme ### Anything else _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6802
https://github.com/apache/dolphinscheduler/pull/6862
d2666d67391d541468bbfa4fe49dcbd8c4fe2300
1b6b5268b6051357f7866a280ab6492d37fe67a8
2021-11-11T09:42:52Z
java
2021-11-21T09:50:19Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,792
["dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/ApiApplicationServer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/log/LoggerServer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/MasterServer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/WorkerServer.java", "dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java"]
[Bug] [alert] NettyRemotingServer bind 50052 fail
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened NettyRemotingServer bind fail bind(..) failed: Address already in use, exit io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Address already in use --dev ### What you expected to happen -- ### How to reproduce -- ### Anything else -- ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6792
https://github.com/apache/dolphinscheduler/pull/6815
da2a04494723a02b03f05056eb5f164eae4ee705
e36d18b58890eb18a64ecc2a5181b37125a070f8
2021-11-11T07:24:58Z
java
2021-11-12T02:51:11Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,772
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/canvas.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/layoutConfigModal.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue", "dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js"]
[Improvement][API] API operation optimization
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description ### Dag API 1. Create offline workflows and schedules 2. Update workflow basic information 3. Update schedule information by process definition code 4. Online or offline workflow and schedule at the same time 5. Delete the workflow and schedule at the same time 6. Online is not allowed for empty workflow ### Task API 1. Specify the online or offline status when creating tasks 2. Online or downstream dependent tasks will not be deleted 3. Task online and offline interface ### Relation API 1. Add task to workflow 2. Remove task from workflow 3. Task moves from A workflow to B workflow 4. Task delete upstream dependency 5. Task add upstream dependency ### Execution API 1. Specify task execution interface ![image](https://user-images.githubusercontent.com/42576980/141075049-faa6c4f8-9a0a-42f3-9924-0aa4f426f6a4.png) ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6772
https://github.com/apache/dolphinscheduler/pull/7102
b3efcdfeba06867e620829638ff27c3069aeac23
173a3856185abc0fa9be16715d2567ebbe054a6f
2021-11-10T08:13:37Z
java
2021-12-01T08:40:11Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,771
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClient.java"]
[Bug] [MasterServer] failover worker interrupt
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened branch: 2.0 When worker down and start again, a lot of process instance and task instance is not run by fault tolerance, but still keep running state. And I found that when Master run failoverWorker, it's interrupted. ``` grep failover logs/dolphinscheduler-master.2021-11-10_14.* [root@ds1 apache-dolphinscheduler-2.0.1-alpha-SNAPSHOT-bin]# grep failover logs/dolphinscheduler-master.2021-11-10_14.* logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.887 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[333] - start master failover ... logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.948 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[337] - failover process list size:0 logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.949 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[281] - start worker[null] failover ... logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.955 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[324] - end worker[null] failover ... logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.955 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[348] - master failover end logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.958 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[281] - start worker[null] failover ... logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.960 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[324] - end worker[null] failover ... logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:49:06.004 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[281] - start worker[172.28.230.24:1234] failover ... logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) ``` I found a return if processInstanceExecMaps doesn't contain `processInstance.getId()`, it should be continue. ### What you expected to happen failover normally. ### How to reproduce run a lot of tasks and restart the worker. ### Anything else _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6771
https://github.com/apache/dolphinscheduler/pull/6801
d168a3cdf7cec9689dc8ae439c4a02ab10922287
5741c758b3521885e4ea11fdcb3c66d275537739
2021-11-10T08:05:17Z
java
2021-11-12T06:19:57Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,750
["dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/core/process_definition.py", "dolphinscheduler-python/pydolphinscheduler/tests/core/test_process_definition.py"]
[Bug] [python] Specific user args not pass to user create function
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened In pydolphinscheduler, when I create process definitions and use specific tenant to it, https://github.com/apache/dolphinscheduler/blob/484153ef761bd2f404a9cbf5a72e8605b5a376eb/dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/core/process_definition.py?_pjax=%23js-repo-pjax-container#L86-L90it would not pass to `create_user` function, and still use default value. I inspect and find out `User` object alway use default value in https://github.com/apache/dolphinscheduler/blob/484153ef761bd2f404a9cbf5a72e8605b5a376eb/dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/core/process_definition.py?_pjax=%23js-repo-pjax-container#L142-L150 ### What you expected to happen parameter I assigned should be user ### How to reproduce run example ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6750
https://github.com/apache/dolphinscheduler/pull/6753
e2d516f27989618461b72aca899205a152a4cfe6
cd8205217a08b54228f8530785f49515ff6ec7f0
2021-11-09T02:48:18Z
java
2021-11-13T08:47:08Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,742
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/SnowFlakeUtils.java"]
[Bug] [Common] SnowFlakeUtils will generate duplicate id due to clock backward
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened The SnowFlakeUtils will generate duplicate id due to clock backward. This may be caused by we use `System.currentTimeMillis()` to get system time, this method is based on system time, will forward or backward. https://stackoverflow.com/questions/2978598/will-system-currenttimemillis-always-return-a-value-previous-calls ### What you expected to happen Generate duplicate Id ### How to reproduce Hard to reproduce :) ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6742
https://github.com/apache/dolphinscheduler/pull/6740
b6824b47419a5abc7ab4279d648417249a74f122
0f94577d2613634b268b56b6dbd445bd5528542c
2021-11-08T12:02:26Z
java
2021-11-08T14:26:17Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,737
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java"]
[Bug] [MasterServer] Event handle twice in two thread pool
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened branch: 2.0 ``` [INFO] 2021-11-08 15:55:48.889 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 865, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.911 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 865, event type: SUCCESS [INFO] 2021-11-08 15:55:48.920 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 866, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.929 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 866, event type: SUCCESS [INFO] 2021-11-08 15:55:48.936 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 867, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.942 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 867, event type: SUCCESS [INFO] 2021-11-08 15:55:48.948 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 868, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.956 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 868, event type: SUCCESS [INFO] 2021-11-08 15:55:48.963 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 868, event type: SUCCESS [INFO] 2021-11-08 15:55:48.966 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 869, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.969 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 869, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.975 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 869, event type: SUCCESS [INFO] 2021-11-08 15:55:48.975 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 869, event type: SUCCESS [INFO] 2021-11-08 15:55:48.982 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 870, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.986 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 870, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.994 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 870, event type: SUCCESS [INFO] 2021-11-08 15:55:49.007 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 870, event type: SUCCESS [INFO] 2021-11-08 15:55:49.009 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 871, event type: RUNNING_EXECUTION ``` from the log, can see that task id 870 has 4 event, 2 RUNNING_EXECUTION and 2 SUCCESS; grep 870 from the log ``` [INFO] 2021-11-08 15:55:48.844 org.apache.dolphinscheduler.server.master.runner.task.CommonTaskProcessor:[120] - task ready to submit: TaskInstance{id=870, name='parallel_01', taskType='SHELL', processInstanceId=741, processInstanceName='null', state=SUBMITTED_SUCCESS, firstSubmitTime=Mon Nov 08 15:55:48 CST 2021, submitTime=Mon Nov 08 15:55:48 CST 2021, startTime=null, endTime=null, host='null', executePath='null', logPath='null', retryTimes=0, alertFlag=NO, processInstance=null, processDefine=null, pid=0, appLink='null', flag=YES, dependency='null', duration=null, maxRetryTimes=0, retryInterval=1, taskInstancePriority=MEDIUM, processInstancePriority=MEDIUM, dependentResult='null', workerGroup='default', environmentCode=-1, environmentConfig='null', executorId=1, executorName='null', delayTime=0, dryRun=0} [INFO] 2021-11-08 15:55:48.856 org.apache.dolphinscheduler.server.master.processor.TaskAckProcessor:[79] - taskAckCommand : TaskExecuteAckCommand{taskInstanceId=870, startTime=Mon Nov 08 15:55:48 CST 2021, host='192.168.31.239:1234', status=1, logPath='/home/csf/javapath/dolphinscheduler/logs/882302276001792_1/741/870.log', executePath='/tmp/dolphinscheduler/exec/process/854201280159744/882302276001792_1/741/870', processInstanceId='741'} [INFO] 2021-11-08 15:55:48.858 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[1163] - remove task from stand by list, id: 870 name:parallel_01 [INFO] 2021-11-08 15:55:48.874 org.apache.dolphinscheduler.server.master.processor.TaskResponseProcessor:[80] - received command : TaskExecuteResponseCommand{taskInstanceId=870, status=7, endTime=Mon Nov 08 15:55:48 CST 2021, processId=6637, appIds=''} [INFO] 2021-11-08 15:55:48.982 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 870, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.986 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 870, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.986 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[370] - work flow 741 task 870 state:SUCCESS [INFO] 2021-11-08 15:55:48.988 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[370] - work flow 741 task 870 state:SUCCESS [INFO] 2021-11-08 15:55:48.994 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 870, event type: SUCCESS [INFO] 2021-11-08 15:55:48.995 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[370] - work flow 741 task 870 state:SUCCESS [INFO] 2021-11-08 15:55:49.007 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 870, event type: SUCCESS [INFO] 2021-11-08 15:55:49.008 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[370] - work flow 741 task 870 state:SUCCESS ``` ### What you expected to happen Each event is processed only once ### How to reproduce Create parallel tasks and reduce the master threads. ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6737
https://github.com/apache/dolphinscheduler/pull/6738
bdea8d6ae4e35d64686d97f606b1e235f9664dbe
b6824b47419a5abc7ab4279d648417249a74f122
2021-11-08T08:11:35Z
java
2021-11-08T08:54:58Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,727
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapMapper.xml"]
[Bug] [master-server] ProcessInstanceMapMapper extra column
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened There is an extra column in the mapper of ProcessInstanceMap ### What you expected to happen delete it ### How to reproduce delete it ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6727
https://github.com/apache/dolphinscheduler/pull/6728
5400abc74fdb16717d22c15f964cad1a6dfd899e
d27c6ea8f0077ec52da2f1bd3411c866643d5afb
2021-11-07T09:03:09Z
java
2021-11-07T10:01:40Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,701
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/WorkerGroupServiceImpl.java"]
[Bug] [API] Query worker group list ,paging error
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When worker group number has been added more than 10,page size is 10,paging is error:there is no second page. ### What you expected to happen Increase worker group number more than 10,paging is correct. ### How to reproduce Increase worker group number more than 10. ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6701
https://github.com/apache/dolphinscheduler/pull/6704
5e923971bfc49f6705b25ed4bbeb214904d3291f
d4d59b0627237e73f6ca1762882938beee596e34
2021-11-05T07:45:27Z
java
2021-11-05T12:23:20Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,694
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HeartBeat.java", "dolphinscheduler-registry-plugin/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistry.java", "dolphinscheduler-registry-plugin/dolphinscheduler-registry-zookeeper/src/test/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistryTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/host/LowerWeightHostManager.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryDataListener.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/ServerNodeManager.java", "dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/register/ListenerManager.java", "dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/register/SubscribeListener.java"]
[Feature][Master] Reduce the refresh resource interval of LowerWeight
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Now the refresh resource interval of LowerWeight is 5s, it means that Master sync worker weight every 5s. When Worker send heartbeat every second, I want that Master can get it more timely, which can make smoother task running. ### Use case Reduce the refresh resource interval of LowerWeight ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6694
https://github.com/apache/dolphinscheduler/pull/6695
5855c936a4a3daafcc12b408a46b8e8470ec34c4
72daba58cd378a347e9657b994bb631c0704fc2a
2021-11-04T10:36:25Z
java
2021-11-05T11:10:36Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,689
["dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/plugin/DolphinPluginManagerConfig.java"]
[Bug] [Standalone Server] DolphinPluginManagerConfig get maven sttings does not check file exists
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened i created a pr #6626 to fix #6625, but if forget to check if `the settings.xml` in the code. I feel very sorry about this~ if `~/.m2/settings.xml` or `${MAVEN_HOME}/conf/settings.xml` does not exists, will cause FileNotFound exception ### What you expected to happen check file exists ### How to reproduce * remove ~/.m2/settings.xml and the start the server ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6689
https://github.com/apache/dolphinscheduler/pull/6691
66fbcae9ddd6c0ca925c24ef01345fc793d85586
71047db39ea97373411a674ab0f3efe647f28a9d
2021-11-04T02:18:15Z
java
2021-11-04T12:17:53Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,684
["repository/dolphinscheduler/dolphinscheduler-ui/.gitignore"]
[Feature][Directory] Remove empty directory
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description I find this directory is not used, right? It might be better to remove this empty directory, if this is needed, we may need to add description. https://github.com/apache/dolphinscheduler/tree/dev/repository/dolphinscheduler/dolphinscheduler-ui ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6684
https://github.com/apache/dolphinscheduler/pull/6685
2e7036529c356b35ed99ea46f7ffefe66ec2a916
cbb623bfa0e44419e6f1e21ea64c86cd33df3560
2021-11-03T14:44:31Z
java
2021-11-04T05:22:01Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,673
[".github/ISSUE_TEMPLATE/bug-report.yml", ".github/ISSUE_TEMPLATE/feature-request.yml", ".github/actions/lable-on-issue", ".github/workflows/issue_robot.yml", ".github/workflows/stale.yml", ".gitmodules", ".licenserc.yaml"]
[Bug] [community] Stale bot will close issue/pr unexpected
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Our stale bot will close our issue/PR unexpected, this situation would make our missing user feedback. Something information for you: * When issue not activity(no comment or labels add) for 14 days will mark as `stale`, and it would close for next 3 days. Issue with label `Waiting for reply`, `new feature`, `DSIP` would not close * But when user create `bug` or `feature` issue and maintainer without answer for 17 days, it will be close to, I think this is not the behavior we want. **Solution:** Maybe we should add labels `Waiting for reply` when use create bug or feature issue. * Another unexpected situation is when maintainer answer user issue at first time, and user add addition information but maintainer would not answer for 17 days is also would be close. **Solution:** I am not sure how to cover this situation, maybe we should see other repo how to handle it. ### What you expected to happen See above ### How to reproduce See above ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6673
https://github.com/apache/dolphinscheduler/pull/6676
a269e3df7612a017dab6b8ff473720b53d96ad0d
5855c936a4a3daafcc12b408a46b8e8470ec34c4
2021-11-03T06:40:00Z
java
2021-11-05T10:35:41Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,660
["dolphinscheduler-registry-plugin/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperConfiguration.java", "dolphinscheduler-service/src/main/resources/registry.properties"]
[Improvement][Server] Change the registry session timeout
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Now the default registry timeout is 1s, which is short for zk, and it will be reset a negotiated timeout by zk server, because `zk.minSessionTimeout = 2 * tickTimeout` and `zk.maxSessionTimeout = 20 * tickTimeout`. I think the default session timeout param should be improved to control by client better, not only for zk. Now the defaule hearbeat interval is 10s, So maybe the registry session timeout should set to 30s. BTW, `Curator.DEFAULT_SESSION_TIMEOUT_MS = 60 * 1000` and `Curator.DEFAULT_CONNECTION_TIMEOUT_MS = 15 * 1000`. ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6660
https://github.com/apache/dolphinscheduler/pull/6663
1165afbdd17cf072c434020376d653b5f411fdd6
1ebab356f3e431237524537a6fedd26590ff24ce
2021-11-02T04:21:49Z
java
2021-11-04T14:31:13Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,657
["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/utils/DagHelper.java"]
[Bug] [Master] Failed to operate workflow node separately
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/42203474/139636648-2b175530-996c-48bb-82ff-46b8a6ea39ba.png) Failed to operate workflow node alone. No new task instance is generated. version: dev There are no problems in the version of 2.0-alpha-release. ### What you expected to happen Operate workflow node separately and generate new task instance. ### How to reproduce Operate workflow node separately. ### Anything else ```java [ERROR] 2021-11-01 15:30:35.452 org.apache.dolphinscheduler.dao.utils.DagHelper:[112] - start node name [a] is not in task node list [[TaskNode{id='null', code=851434614521856, version=1, name='a', desc='', type='SHELL', runFlag='NORMAL', loc='null', maxRetryTimes=0, retryInterval=1, params='{"resourceList":[],"localParams":[],"rawScript":"echo \"a\"","waitStartTimeout":{},"switchResult":{}}', preTasks='[]', preTaskNodeList=null, extras='null', depList=[], dependence='{}', conditionResult='{"successNode":[""],"failedNode":[""]}', taskInstancePriority=MEDIUM, workerGroup='default', environmentCode=-1, timeout='{"enable":false,"strategy":null,"interval":0}', delayTime=0}]] [ERROR] 2021-11-01 15:30:35.452 org.apache.dolphinscheduler.dao.utils.DagHelper:[112] - start node name [a] is not in task node list [[TaskNode{id='null', code=851434614521856, version=1, name='a', desc='', type='SHELL', runFlag='NORMAL', loc='null', maxRetryTimes=0, retryInterval=1, params='{"resourceList":[],"localParams":[],"rawScript":"echo \"a\"","waitStartTimeout":{},"switchResult":{}}', preTasks='[]', preTaskNodeList=null, extras='null', depList=[], dependence='{}', conditionResult='{"successNode":[""],"failedNode":[""]}', taskInstancePriority=MEDIUM, workerGroup='default', environmentCode=-1, timeout='{"enable":false,"strategy":null,"interval":0}', delayTime=0}]] [ERROR] 2021-11-01 15:30:35.453 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[512] - processDag is null [ERROR] 2021-11-01 15:30:35.453 org.apache.dolphinscheduler.dao.utils.DagHelper:[112] - start node name [job_b1] is not in task node list [[TaskNode{id='null', code=851435467538432, version=1, name='job_b1', desc='', type='SHELL', runFlag='NORMAL', loc='null', maxRetryTimes=0, retryInterval=1, params='{"resourceList":[],"localParams":[],"rawScript":"echo \"b1\"","waitStartTimeout":{},"switchResult":{}}', preTasks='[851437597130752]', preTaskNodeList=null, extras='null', depList=[851437597130752], dependence='{}', conditionResult='{"successNode":[""],"failedNode":[""]}', taskInstancePriority=MEDIUM, workerGroup='default', environmentCode=-1, timeout='{"enable":false,"strategy":null,"interval":0}', delayTime=0}, TaskNode{id='null', code=851437597130752, version=2, name='depend_a', desc='', type='DEPENDENT', runFlag='NORMAL', loc='null', maxRetryTimes=0, retryInterval=1, params='{"waitStartTimeout":{"strategy":"FAILED","interval":null,"checkInterval":null,"enable":false},"switchResult":{}}', preTasks='[]', preTaskNodeList=null, extras='null', depList=[], dependence='{"relation":"AND","dependTaskList":[{"relation":"AND","dependItemList":[{"projectCode":851275541217280,"definitionCode":851435217125376,"depTasks":"a","cycle":"day","dateValue":"today"}]}]}', conditionResult='{"successNode":[""],"failedNode":[""]}', taskInstancePriority=MEDIUM, workerGroup='default', environmentCode=-1, timeout='{"enable":false,"strategy":null,"interval":0}', delayTime=0}, TaskNode{id='null', code=851436591874048, version=1, name='job_b2', desc='', type='SHELL', runFlag='NORMAL', loc='null', maxRetryTimes=0, retryInterval=1, params='{"resourceList":[],"localParams":[],"rawScript":"echo \"b2\"","waitStartTimeout":{},"switchResult":{}}', preTasks='[851437597130752]', preTaskNodeList=null, extras='null', depList=[851437597130752], dependence='{}', conditionResult='{"successNode":[""],"failedNode":[""]}', taskInstancePriority=MEDIUM, workerGroup='default', environmentCode=-1, timeout='{"enable":false,"strategy":null,"interval":0}', delayTime=0}]] [ERROR] 2021-11-01 15:30:35.453 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[512] - processDag is null [ERROR] 2021-11-01 15:30:35.453 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[512] - processDag is null [ERROR] 2021-11-01 15:30:35.454 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[195] - handler error: java.lang.NullPointerException: null at org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:301) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:797) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.startProcess(WorkflowExecuteThread.java:464) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:192) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) [ERROR] 2021-11-01 15:30:35.454 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[195] - handler error: java.lang.NullPointerException: null at org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:301) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:797) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.startProcess(WorkflowExecuteThread.java:464) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:192) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) [ERROR] 2021-11-01 15:30:35.454 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[195] - handler error: java.lang.NullPointerException: null at org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:301) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:797) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.startProcess(WorkflowExecuteThread.java:464) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:192) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) ``` ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6657
https://github.com/apache/dolphinscheduler/pull/6717
a728c85a92faff6539daa86defa5206f986d38a9
69f2d3b21bc99006fd1fa4e0f0b970972d26ae2f
2021-11-01T07:33:49Z
java
2021-11-06T11:27:00Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,653
["dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/utils/Host.java"]
[Bug] [Server] Netty client create too many channel and make busy network
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened version: dev When after the stress test, I found the busy network between master and worker, but no any log. And then I dump the network package and found many heartbeat report. ![c5c20ffb4c6220c43924557b0478fd5](https://user-images.githubusercontent.com/11962619/139615061-c16f141f-e8a3-412c-9364-7f3418ccc5a9.png) I try to run the test method, which use netty client to send many commands, and the channel created number is equal to the commands number. When debug, I found that the key of map to manage channels is Host, a Object without override hashcode and equals. ### What you expected to happen Netty client create less channel. ### How to reproduce Run the test method, which use netty client to send many commands. ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6653
https://github.com/apache/dolphinscheduler/pull/6654
3a8b80971ba4b23b8e919ad04e074bd273c40c9a
daca3baf6662b9bcf3de856722ece79aad753773
2021-11-01T02:55:40Z
java
2021-11-01T04:18:39Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,649
["dolphinscheduler-ui/src/js/conf/home/router/index.js", "dolphinscheduler-ui/src/js/conf/home/store/projects/actions.js"]
[Bug] [UI] When entering the project management page through different links, the front-end storage project is not switched
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened branch : dev When I enter the project management interface through different links(different project), the front-end storage project is not switched. ![image](https://user-images.githubusercontent.com/35388422/139579266-045c424c-b5ed-4939-8f16-fdc10a3f9ac6.png) ![image](https://user-images.githubusercontent.com/35388422/139579292-519fd6b1-5e6d-4c22-bc41-3762145007fc.png) ### What you expected to happen Project can be switched normally. ### How to reproduce 1. Open two browser windows 2. Enter different project links for each window ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6649
https://github.com/apache/dolphinscheduler/pull/6650
1144360257cc901c70962971a0777930dcb39e3c
a728c85a92faff6539daa86defa5206f986d38a9
2021-10-31T10:59:38Z
java
2021-11-06T02:12:01Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,641
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/host/LowerWeightHostManager.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/dispatch/host/RefreshResourceTaskTest.java", "pom.xml"]
[Bug] [MasterServer] RefreshResourceTask error by NPE
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When master refresh the worker node, it may occur NPE when hearbeat is null. ``` [ERROR] 2021-10-29 20:21:45.977 org.apache.dolphinscheduler.server.master.dispatch.host.LowerWeightHostManager:[152] - [] RefreshResourceTask error java.lang.NullPointerException: null at org.apache.dolphinscheduler.common.utils.HeartBeat.decodeHeartBeat(HeartBeat.java:228) at org.apache.dolphinscheduler.server.master.dispatch.host.LowerWeightHostManager$RefreshResourceTask.getHostWeight(LowerWeightHostManager.java:157) at org.apache.dolphinscheduler.server.master.dispatch.host.LowerWeightHostManager$RefreshResourceTask.run(LowerWeightHostManager.java:141) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ``` ### What you expected to happen No NPE Excetion. ### How to reproduce Restart the worker server. ### Anything else _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6641
https://github.com/apache/dolphinscheduler/pull/6656
b226253eec219bc0152ed5a3c5939e13385bcedc
73f20b7553565f3d8d1ac2640d8806191fc17666
2021-10-29T12:48:29Z
java
2021-11-07T03:40:54Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,640
["dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/CommandType.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/HostUpdateCommand.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/HostUpdateResponseCommand.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/WorkerServer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/HostUpdateProcessor.java"]
[Bug] [WorkerServer] PROCESS_HOST_UPDATE_REQUST command not support
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Version: 2.0.0-alpha When Master server restart, the worker receive PROCESS_HOST_UPDATE_REQUST command but not support. ### What you expected to happen Worker can handle this command type normally. ### How to reproduce run the task and restart the master server. ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6640
https://github.com/apache/dolphinscheduler/pull/6642
dd6ed36f65d2add3bf8e31cad24ab25f4606c9d9
8850baff07cc5174a57a0560cbeeb1a3368a4dca
2021-10-29T12:27:51Z
java
2021-10-31T13:10:51Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,638
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClient.java"]
[Bug] [MasterServer] task state no change when failover worker
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened version: 2.0-alpha The task state is always running when I stop the worker. I try to debug in failoverWorker and found the judge conditions error. ### What you expected to happen After stop the worker, the task will change state and no always running. ### How to reproduce run a long time task and stop the worker. ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6638
https://github.com/apache/dolphinscheduler/pull/6639
8850baff07cc5174a57a0560cbeeb1a3368a4dca
ae0b18f3a3284357f7533c015086cd65f27caca5
2021-10-29T10:43:07Z
java
2021-10-31T13:12:55Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,625
["dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/plugin/DolphinPluginManagerConfig.java"]
[Bug] [Standalone Server] Standalone server load plugin from fixed maven loacl repository path
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened branch: dev 开发分支 When use standalone server, the DolphinPluginManager looks for plugin dependencies from local maven repository. but the local maven repository is a fixed value in `DolphinPluginManagerConfig.java` who's value is `${user.home}/.m2/repository`. 当使用本地单机开发时,插件加载器会从本地Maven仓库加载插件,但是本地仓库的值是在代码中写死的: `${user.home}/.m2/repository`. ![图片](https://user-images.githubusercontent.com/23203149/139200190-9267993e-6df7-4b5c-a443-4aad86cf5a78.png) In my developement envirionment, I set the maven local repository path (localRepository) to `D:\\repository` in `${user.home}/.m2/settings.xml`. 在我的开发环境中,我在Maven的配置文件`${user.home}/.m2/settings.xml`中设置了本地仓库(localRepository)的地址 ![Local Maven Repository Settings](https://user-images.githubusercontent.com/23203149/139199519-7c7705a3-5d3d-4931-93ce-e2d1affc137f.png) so that the plugin manager could not load plugin correctly 因此,插件加载器无法正确加载插件 ### What you expected to happen * we should load from settings.xml firstly 1. load from `${user.home}/.m2/settings.xml` 2. if `${user.home}/.m2/settings.xml` not exists, load from `${MAVEN_HOME}/conf/settings.xml` * if settings.xml not exists or the node `localRepository` not exists in settings.xml, use default value ### How to reproduce * set local repository into another path in ide * start standalone server ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6625
https://github.com/apache/dolphinscheduler/pull/6626
f5d8356dc310ab942039834ceff6af1cf1f9f83c
61a8726ccc42a2adba8cdc859e3c3271099fdade
2021-10-28T06:34:54Z
java
2021-11-03T10:46:25Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,620
[".github/ISSUE_TEMPLATE/bug-report.yml"]
[Feature][community] Add version selection button for our bug template
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description I find out we do not have version selection bottom in our bug report template. It will save maintainer time to have version selection, unless their have to ask reporter, such as https://github.com/apache/dolphinscheduler/issues/6613#issuecomment-952944539 ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6620
https://github.com/apache/dolphinscheduler/pull/6793
60457284286b06007c06a1efef7f9706ca848320
0f92a1f54118d91c7c01e6618e3c232faf59d476
2021-10-27T13:47:25Z
java
2021-11-13T08:47:42Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,616
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/registry/WorkerRegistryClient.java"]
[Bug] [Worker] Worker fakes death when it stop itself fail.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When I try a stress test, I found that worker fakes death and print nothing to log file. At the same time, worker is not exist in zk node path and Master can't dispatch task because no worker. That's the log before worker stop: ``` [ERROR] 2021-10-15 15:10:57.590 org.apache.dolphinscheduler.server.worker.WorkerServer:[223] - worker server stop exception org.apache.dolphinscheduler.spi.register.RegistryException: zookeeper delete key error at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.delete(ZookeeperRegistry.java:272) at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.remove(ZookeeperRegistry.java:199) at org.apache.dolphinscheduler.service.registry.RegistryCenter.remove(RegistryCenter.java:157) at org.apache.dolphinscheduler.server.worker.registry.WorkerRegistryClient.unRegistry(WorkerRegistryClient.java:128) at org.apache.dolphinscheduler.server.worker.WorkerServer.close(WorkerServer.java:219) at org.apache.dolphinscheduler.server.worker.WorkerServer.stop(WorkerServer.java:229) at org.apache.dolphinscheduler.server.registry.HeartBeatTask.run(HeartBeatTask.java:81) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /dolphinscheduler/nodes/worker/default/172.28.132.15:1234 at org.apache.zookeeper.KeeperException.create(KeeperException.java:102) at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:882) at org.apache.curator.framework.imps.DeleteBuilderImpl$5.call(DeleteBuilderImpl.java:274) at org.apache.curator.framework.imps.DeleteBuilderImpl$5.call(DeleteBuilderImpl.java:268) at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:67) at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:81) at org.apache.curator.framework.imps.DeleteBuilderImpl.pathInForeground(DeleteBuilderImpl.java:265) at org.apache.curator.framework.imps.DeleteBuilderImpl.forPath(DeleteBuilderImpl.java:249) at org.apache.curator.framework.imps.DeleteBuilderImpl.forPath(DeleteBuilderImpl.java:34) at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.delete(ZookeeperRegistry.java:267) ... 13 common frames omitted ``` Maybe set stop single to true after close zk and netty successfully is better. ### What you expected to happen worker can stop itself successfully when it is judged dead server. ### How to reproduce do some stress test with many task running. ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6616
https://github.com/apache/dolphinscheduler/pull/6621
03aaef0fe6548e828144e6e5ac8ceb8bd6b650ad
06e8e24708e2c2a2b9367b9e76a4dc0cec4cdfc6
2021-10-27T10:10:53Z
java
2021-10-29T09:44:06Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,613
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java"]
[Bug] [Master] A bug on task retry mechanism
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened There are process nodes at the same level in the process, a failed error retry "node1_fail_retry" node (the actual task scenario may fail for the first time, and the task runs successfully after retry), and a failed "node2_fail" node; The current phenomenon is that after the "node2_fail" node fails, the process is in the failure state, and the "node1_fail_retry" node will not retry the task (the retry state may be successful) and the subsequent tasks will not run; Because the "node2_fail" node fails and the "errorTaskList" in the "MasterExecThread" is not empty, in the "processFailed()" method, "hasFailedTask()" returns true. When the FailureStrategy is CONTINUE, "activetasknode = 0", "processFailed()" returns false, causing the process instance state to change to failed. ![8](https://user-images.githubusercontent.com/39785282/139018718-881ecc96-010f-4e95-9844-2f75fa8cb4bb.png) ### What you expected to happen I think it is wrong not to retry the process node at the same level if it fails, because the actual task scenario may fail for the first time, run successfully after retrying, and then continue to run the downstream node. ### How to reproduce 1. Create a new process 2. Create a process node relationship as shown in the figure. The node "node1_fail_retry" is set error retry. The node "node2_fail" fails directly. Nodes "node3", "node4" and "node5 "can be created arbitrarily 3. Online process and runprocess ![11](https://user-images.githubusercontent.com/39785282/139022256-6b54c0c7-948c-4319-bf1a-c072754ce912.png) <img width="878" alt="22" src="https://user-images.githubusercontent.com/39785282/139022278-1eae4ae2-d935-429a-b861-3232733f73f1.png"> ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6613
https://github.com/apache/dolphinscheduler/pull/6843
880c1d28ff7f334fd50b2376655f1a884fcb496a
94f6c5c27ee88d5ec6f7f3856b2bc2aebab738e8
2021-10-27T07:45:37Z
java
2021-11-14T17:05:13Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,605
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/PropertyUtils.java", "dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/utils/PropertyUtils.java"]
yarn applications: application_1634958933716_0113 , query status failed
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ### operate when I run a shell for testing mapreduce in ds (fee image below),ds web log shows : yarn status get failed. shell content : `hadoop jar /opt/app/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.9.2.jar pi 10 10` ![360截图17520712172535](https://user-images.githubusercontent.com/20452924/138829616-ce15ed7b-6ad1-46b3-be4d-c45025294689.png) ### ds web log [INFO] 2021-10-26 10:34:28.745 - [taskAppId=TASK-1-6-89]:[115] - create dir success /exec/process/1/1/6/89 [INFO] 2021-10-26 10:34:28.754 - [taskAppId=TASK-1-6-89]:[88] - shell task params {"rawScript":"hadoop jar /opt/app/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.9.2.jar pi 10 10","localParams":[],"resourceList":[]} [INFO] 2021-10-26 10:34:28.758 - [taskAppId=TASK-1-6-89]:[154] - raw script : hadoop jar /opt/app/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.9.2.jar pi 10 10 [INFO] 2021-10-26 10:34:28.759 - [taskAppId=TASK-1-6-89]:[155] - task execute path : /exec/process/1/1/6/89 [INFO] 2021-10-26 10:34:28.760 - [taskAppId=TASK-1-6-89]:[87] - tenantCode user:root, task dir:1_6_89 [INFO] 2021-10-26 10:34:28.760 - [taskAppId=TASK-1-6-89]:[92] - create command file:/exec/process/1/1/6/89/1_6_89.command [INFO] 2021-10-26 10:34:28.760 - [taskAppId=TASK-1-6-89]:[111] - command : #!/bin/sh BASEDIR=$(cd `dirname $0`; pwd) cd $BASEDIR source /opt/app/dolphinscheduler/conf/env/dolphinscheduler_env.sh /exec/process/1/1/6/89/1_6_89_node.sh [INFO] 2021-10-26 10:34:28.764 - [taskAppId=TASK-1-6-89]:[330] - task run command: sudo -u root sh /exec/process/1/1/6/89/1_6_89.command [INFO] 2021-10-26 10:34:28.773 - [taskAppId=TASK-1-6-89]:[211] - process start, process id is: 19627 [INFO] 2021-10-26 10:34:29.774 - [taskAppId=TASK-1-6-89]:[138] - -> SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/opt/app/hadoop-2.9.2/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/app/tez/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] Number of Maps = 10 Samples per Map = 10 [INFO] 2021-10-26 10:34:31.775 - [taskAppId=TASK-1-6-89]:[138] - -> Wrote input for Map #0 Wrote input for Map #1 Wrote input for Map #2 Wrote input for Map #3 Wrote input for Map #4 Wrote input for Map #5 Wrote input for Map #6 Wrote input for Map #7 Wrote input for Map #8 Wrote input for Map #9 Starting Job 21/10/26 10:34:31 INFO client.RMProxy: Connecting to ResourceManager at hadoop47/192.168.80.47:8032 [INFO] 2021-10-26 10:34:32.776 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:34:32 INFO input.FileInputFormat: Total input files to process : 10 21/10/26 10:34:32 INFO mapreduce.JobSubmitter: number of splits:10 21/10/26 10:34:32 INFO Configuration.deprecation: yarn.resourcemanager.system-metrics-publisher.enabled is deprecated. Instead, use yarn.system-metrics-publisher.enabled 21/10/26 10:34:32 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1634958933716_0113 21/10/26 10:34:32 INFO impl.YarnClientImpl: Submitted application application_1634958933716_0113 21/10/26 10:34:32 INFO mapreduce.Job: The url to track the job: http://hadoop47:8088/proxy/application_1634958933716_0113/ 21/10/26 10:34:32 INFO mapreduce.Job: Running job: job_1634958933716_0113 [INFO] 2021-10-26 10:34:40.785 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:34:39 INFO mapreduce.Job: Job job_1634958933716_0113 running in uber mode : false 21/10/26 10:34:39 INFO mapreduce.Job: map 0% reduce 0% [INFO] 2021-10-26 10:34:56.789 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:34:56 INFO mapreduce.Job: map 30% reduce 0% [INFO] 2021-10-26 10:34:57.790 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:34:57 INFO mapreduce.Job: map 100% reduce 0% [INFO] 2021-10-26 10:35:02.715 - [taskAppId=TASK-1-6-89]:[445] - find app id: application_1634958933716_0113 [INFO] 2021-10-26 10:35:02.715 - [taskAppId=TASK-1-6-89]:[402] - check yarn application status, appId:application_1634958933716_0113 [ERROR] 2021-10-26 10:35:02.720 - [taskAppId=TASK-1-6-89]:[418] - yarn applications: application_1634958933716_0113 , query status failed, exception:{} java.lang.NullPointerException: null at org.apache.dolphinscheduler.common.utils.HadoopUtils.getApplicationStatus(HadoopUtils.java:423) at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.isSuccessOfYarnState(AbstractCommandExecutor.java:404) at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.run(AbstractCommandExecutor.java:230) at org.apache.dolphinscheduler.server.worker.task.shell.ShellTask.handle(ShellTask.java:101) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:139) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [INFO] 2021-10-26 10:35:02.720 - [taskAppId=TASK-1-6-89]:[238] - process has exited, execute path:/exec/process/1/1/6/89, processId:19627 ,exitStatusCode:-1 ,processWaitForStatus:true ,processExitValue:0 [INFO] 2021-10-26 10:35:02.791 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:35:02 INFO mapreduce.Job: map 100% reduce 100% 21/10/26 10:35:02 INFO mapreduce.Job: Job job_1634958933716_0113 completed successfully 21/10/26 10:35:02 INFO mapreduce.Job: Counters: 49 File System Counters FILE: Number of bytes read=226 FILE: Number of bytes written=2205654 FILE: Number of read operations=0 FILE: Number of large read operations=0 FILE: Number of write operations=0 HDFS: Number of bytes read=2630 HDFS: Number of bytes written=215 HDFS: Number of read operations=43 HDFS: Number of large read operations=0 HDFS: Number of write operations=3 Job Counters Launched map tasks=10 Launched reduce tasks=1 Data-local map tasks=10 Total time spent by all maps in occupied slots (ms)=149819 Total time spent by all reduces in occupied slots (ms)=3113 Total time spent by all map tasks (ms)=149819 Total time spent by all reduce tasks (ms)=3113 Total vcore-milliseconds taken by all map tasks=149819 Total vcore-milliseconds taken by all reduce tasks=3113 Total megabyte-milliseconds taken by all map tasks=153414656 Total megabyte-milliseconds taken by all reduce tasks=3187712 Map-Reduce Framework Map input records=10 Map output records=20 Map output bytes=180 Map output materialized bytes=280 Input split bytes=1450 Combine input records=0 Combine output records=0 Reduce input groups=2 Reduce shuffle bytes=280 Reduce input records=20 Reduce output records=0 Spilled Records=40 Shuffled Maps =10 Failed Shuffles=0 Merged Map outputs=10 GC time elapsed (ms)=6825 CPU time spent (ms)=4980 Physical memory (bytes) snapshot=3529900032 Virtual memory (bytes) snapshot=22377988096 Total committed heap usage (bytes)=2413297664 Shuffle Errors BAD_ID=0 CONNECTION=0 IO_ERROR=0 WRONG_LENGTH=0 WRONG_MAP=0 WRONG_REDUCE=0 File Input Format Counters Bytes Read=1180 File Output Format Counters Bytes Written=97 Job Finished in 30.695 seconds Estimated value of Pi is 3.20000000000000000000 ### worker debug log [DEBUG] 2021-10-26 10:34:56.708 org.apache.zookeeper.ClientCnxn:[846] - Reading reply sessionid:0x20015bfe8a400c9, packet:: clientPath:/dolphinscheduler/nodes/worker/default/192.168.80.49:1234 serverPath:/dolphinscheduler/nodes/worker/default/192.168.80.49:1234 finished:false header:: 2933,4 replyHeader:: 2933,17180717039,0 request:: '/dolphinscheduler/nodes/worker/default/192.168.80.49:1234,T response:: #302e332c302e39312c302e35392c312e33372c382e302c302e332c323032312d31302d32362030393a32373a30362c323032312d31302d32362031303a33343a35362c302c34303937,s{17180707701,17180717039,1635211626683,1635215696700,407,0,0,144139102061854920,73,0,17180707701} [DEBUG] 2021-10-26 10:34:56.708 org.apache.dolphinscheduler.service.zk.ZookeeperCachedOperator:[62] - zookeeperListener:org.apache.dolphinscheduler.server.master.registry.ServerNodeManager$WorkerGroupNodeListener triggered [DEBUG] 2021-10-26 10:34:56.709 org.apache.curator.framework.recipes.cache.TreeCache:[396] - processResult: CuratorEventImpl{type=GET_DATA, resultCode=0, path='/dolphinscheduler/nodes/worker/default/192.168.80.49:1234', name='null', children=null, context=null, stat=17180707701,17180717039,1635211626683,1635215696700,407,0,0,144139102061854920,73,0,17180707701 , data=[48, 46, 51, 44, 48, 46, 57, 49, 44, 48, 46, 53, 57, 44, 49, 46, 51, 55, 44, 56, 46, 48, 44, 48, 46, 51, 44, 50, 48, 50, 49, 45, 49, 48, 45, 50, 54, 32, 48, 57, 58, 50, 55, 58, 48, 54, 44, 50, 48, 50, 49, 45, 49, 48, 45, 50, 54, 32, 49, 48, 58, 51, 52, 58, 53, 54, 44, 48, 44, 52, 48, 57, 55], watchedEvent=null, aclList=null, opResults=null} [DEBUG] 2021-10-26 10:34:56.709 org.apache.curator.framework.recipes.cache.TreeCache:[857] - publishEvent: TreeCacheEvent{type=NODE_UPDATED, data=ChildData{path='/dolphinscheduler/nodes/worker/default/192.168.80.49:1234', stat=17180707701,17180717039,1635211626683,1635215696700,407,0,0,144139102061854920,73,0,17180707701 , data=[48, 46, 51, 44, 48, 46, 57, 49, 44, 48, 46, 53, 57, 44, 49, 46, 51, 55, 44, 56, 46, 48, 44, 48, 46, 51, 44, 50, 48, 50, 49, 45, 49, 48, 45, 50, 54, 32, 48, 57, 58, 50, 55, 58, 48, 54, 44, 50, 48, 50, 49, 45, 49, 48, 45, 50, 54, 32, 49, 48, 58, 51, 52, 58, 53, 54, 44, 48, 44, 52, 48, 57, 55]}} [INFO] 2021-10-26 10:34:56.789 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:34:56 INFO mapreduce.Job: map 30% reduce 0% [INFO] 2021-10-26 10:34:57.790 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:34:57 INFO mapreduce.Job: map 100% reduce 0% [DEBUG] 2021-10-26 10:34:58.313 org.apache.zookeeper.ClientCnxn:[745] - Got ping response for sessionid: 0x30015c0a38d009d after 0ms [INFO] 2021-10-26 10:35:02.715 - [taskAppId=TASK-1-6-89]:[445] - find app id: application_1634958933716_0113 [INFO] 2021-10-26 10:35:02.715 - [taskAppId=TASK-1-6-89]:[402] - check yarn application status, appId:application_1634958933716_0113 [DEBUG] 2021-10-26 10:35:02.715 org.apache.dolphinscheduler.common.utils.HadoopUtils:[211] - yarn application url:http://hadoop47:%s/ws/v1/cluster/apps/%s, applicationId:application_1634958933716_0113 [ERROR] 2021-10-26 10:35:02.720 org.apache.dolphinscheduler.common.utils.HttpUtils:[73] - Connect to hadoop47:80 [hadoop47/192.168.80.47] failed: Connection refused (Connection refused) org.apache.http.conn.HttpHostConnectException: Connect to hadoop47:80 [hadoop47/192.168.80.47] failed: Connection refused (Connection refused) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107) at org.apache.dolphinscheduler.common.utils.HttpUtils.get(HttpUtils.java:60) at org.apache.dolphinscheduler.common.utils.HadoopUtils.getApplicationStatus(HadoopUtils.java:420) at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.isSuccessOfYarnState(AbstractCommandExecutor.java:404) at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.run(AbstractCommandExecutor.java:230) at org.apache.dolphinscheduler.server.worker.task.shell.ShellTask.handle(ShellTask.java:101) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:139) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) at java.net.Socket.connect(Socket.java:606) at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134) ... 20 common frames omitted [ERROR] 2021-10-26 10:35:02.720 - [taskAppId=TASK-1-6-89]:[418] - yarn applications: application_1634958933716_0113 , query status failed, exception:{} java.lang.NullPointerException: null at org.apache.dolphinscheduler.common.utils.HadoopUtils.getApplicationStatus(HadoopUtils.java:423) at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.isSuccessOfYarnState(AbstractCommandExecutor.java:404) at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.run(AbstractCommandExecutor.java:230) at org.apache.dolphinscheduler.server.worker.task.shell.ShellTask.handle(ShellTask.java:101) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:139) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [INFO] 2021-10-26 10:35:02.720 - [taskAppId=TASK-1-6-89]:[238] - process has exited, execute path:/exec/process/1/1/6/89, processId:19627 ,exitStatusCode:-1 ,processWaitForStatus:true ,processExitValue:0 [INFO] 2021-10-26 10:35:02.720 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[147] - task instance id : 89,task final status : FAILURE [INFO] 2021-10-26 10:35:02.721 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[185] - develop mode is: false [INFO] 2021-10-26 10:35:02.721 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[203] - exec local path: /exec/process/1/1/6/89 cleared. [INFO] 2021-10-26 10:35:02.791 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:35:02 INFO mapreduce.Job: map 100% reduce 100% 21/10/26 10:35:02 INFO mapreduce.Job: Job job_1634958933716_0113 completed successfully 21/10/26 10:35:02 INFO mapreduce.Job: Counters: 49 File System Counters FILE: Number of bytes read=226 FILE: Number of bytes written=2205654 FILE: Number of read operations=0 FILE: Number of large read operations=0 FILE: Number of write operations=0 HDFS: Number of bytes read=2630 HDFS: Number of bytes written=215 HDFS: Number of read operations=43 HDFS: Number of large read operations=0 HDFS: Number of write operations=3 Job Counters Launched map tasks=10 Launched reduce tasks=1 Data-local map tasks=10 Total time spent by all maps in occupied slots (ms)=149819 Total time spent by all reduces in occupied slots (ms)=3113 Total time spent by all map tasks (ms)=149819 Total time spent by all reduce tasks (ms)=3113 Total vcore-milliseconds taken by all map tasks=149819 Total vcore-milliseconds taken by all reduce tasks=3113 Total megabyte-milliseconds taken by all map tasks=153414656 Total megabyte-milliseconds taken by all reduce tasks=3187712 Map-Reduce Framework Map input records=10 Map output records=20 Map output bytes=180 Map output materialized bytes=280 Input split bytes=1450 Combine input records=0 Combine output records=0 Reduce input groups=2 Reduce shuffle bytes=280 Reduce input records=20 Reduce output records=0 Spilled Records=40 Shuffled Maps =10 Failed Shuffles=0 Merged Map outputs=10 GC time elapsed (ms)=6825 CPU time spent (ms)=4980 Physical memory (bytes) snapshot=3529900032 Virtual memory (bytes) snapshot=22377988096 Total committed heap usage (bytes)=2413297664 Shuffle Errors BAD_ID=0 CONNECTION=0 IO_ERROR=0 WRONG_LENGTH=0 WRONG_MAP=0 WRONG_REDUCE=0 File Input Format Counters Bytes Read=1180 File Output Format Counters Bytes Written=97 Job Finished in 30.695 seconds Estimated value of Pi is 3.20000000000000000000 ### What you expected to happen Yarn application_1634958933716_0113 status can always be get; ![360截图16380508205068](https://user-images.githubusercontent.com/20452924/138833771-460534f6-a830-44d1-86aa-5970217eb712.png) ### How to reproduce Server: KunPeng OS centos7 DS release:1.3.9 Hadoop version :2.9.2 Yarn Ha: False conf/common.properties # resourcemanager port, the default value is 8088 if not specified resource.manager.httpaddress.port= # if resourcemanager HA is enabled, please set the HA IPs; if resourcemanager is single, keep this value empty yarn.resourcemanager.ha.rm.ids= # if resourcemanager HA is enabled or not use resourcemanager, please keep the default value; If resourcemanager is single, you only need to replace ds1 to actual resourcemanager hostname yarn.application.status.address=http://hadoop47:%s/ws/v1/cluster/apps/%s ### Anything else some times fail ; high probability of this error ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6605
https://github.com/apache/dolphinscheduler/pull/6661
00813b0a696bcd50d484670cf191efcb8921648f
802fc498b533f855a19ceebb6a3cf0e9d6c57fea
2021-10-26T08:09:42Z
java
2021-11-19T02:58:17Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,600
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/referenceFromTask.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/index.vue", "dolphinscheduler-ui/src/js/conf/home/router/index.js", "dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js", "dolphinscheduler-ui/src/js/module/components/conditions/conditions.vue", "dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/menu.js", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"]
[Feature][API+UI] edit DAG as list page
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description there would be a high resource occupancy when one DAG contains too many tasks. Using the list page to edit DAG could solve this problem ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6600
https://github.com/apache/dolphinscheduler/pull/6762
94f6c5c27ee88d5ec6f7f3856b2bc2aebab738e8
36c19748a6da24f23f59db7d08d61004e6dcbac5
2021-10-25T13:21:06Z
java
2021-11-15T05:54:28Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,597
["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"]
[Feature][Install] Upgrade dolphinscheduler version 1. X to version 2.0
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description we want upgrade dolphinscheduler from version 1.x to 2.0 1. some db table structure changes. 2. some definition data need to be translated ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6597
https://github.com/apache/dolphinscheduler/pull/6858
44b24cd3df8a42f0809beb019baacd072ef800f7
1160b53940c8cc4457b1604514c5c6ba1a13b153
2021-10-25T08:59:23Z
java
2021-11-15T12:27:19Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,593
["sql/dolphinscheduler_postgre.sql"]
[Bug] [DAO] t_ds_error_command miss `message` in pgsql
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened insert into t_ds_error_command error because `message` field is not exist. ### What you expected to happen insert into t_ds_error_command successfully. ### How to reproduce run command fail and it will move to error command. ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6593
https://github.com/apache/dolphinscheduler/pull/6594
e15668097a2f73fd137b8adbe79f4150886c59f9
adf49e6a5f102094007fff245824f6885990cff8
2021-10-22T10:50:49Z
java
2021-10-25T01:30:55Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,591
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java"]
[Bug] [API] import process definition error
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ``` 2021-10-22 14:28:39.421 ERROR 27304 --- [qtp407976995-47] o.a.d.a.exceptions.ApiExceptionHandler : import process definition error java.lang.NullPointerException: null at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl.checkAndImport(ProcessDefinitionServiceImpl.java:895) ~[dolphinscheduler-api-2.0.0-alpha.jar:2.0.0-alpha] at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl.importProcessDefinition(ProcessDefinitionServiceImpl.java:827) ~[dolphinscheduler-api-2.0.0-alpha.jar:2.0.0-alpha] ``` ### What you expected to happen import process definition success. ### How to reproduce import process definition whit the json file you output from ds. ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6591
https://github.com/apache/dolphinscheduler/pull/6592
adf49e6a5f102094007fff245824f6885990cff8
0d26724455316da665c0c8501b19531ada663779
2021-10-22T10:27:25Z
java
2021-10-26T09:35:06Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,582
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/task/ConditionTaskProcessor.java"]
[Bug] [Master] condition task fail when log show it's result is success
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened the condition task log show: `the conditions task depend result : SUCCESS`, but task state is failed. ### What you expected to happen condition task state is right. ### How to reproduce use condition task in your dag. ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6582
https://github.com/apache/dolphinscheduler/pull/6583
9b1984c2449538e5f0e547297762fdafc5e0211c
b642e9ca546d8ea21bbd9f193ff6ff9729037f75
2021-10-21T10:59:46Z
java
2021-10-21T11:27:13Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,572
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/dto/DagDataSchedule.java"]
[Bug] [API] import processDefinition report json parse error
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened [ERROR] 2021-10-20 20:40:03.391 org.apache.dolphinscheduler.common.utils.JSONUtils:[167] - parse list exception! com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.apache.dolphinscheduler.api.dto.DagDataSchedule` (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator) at [Source: (String)"[{"processDefinition":{"id":73,"code":818174268579840,"name":"hello-shell-2","version":1,"releaseState":"OFFLINE","projectCode":724559144984576,"description":"","globalParams":"[]","globalParamList":[],"globalParamMap":{},"createTime":"2021-10-16 23:44:57","updateTime":"2021-10-16 23:44:57","flag":"YES","userId":1,"userName":null,"projectName":null,"locations":"[{\"taskCode\":818173332135936,\"x\":202,\"y\":376}]","scheduleReleaseState":null,"timeout":0,"tenantId":-1,"tenantCode":null,"modifyBy""[truncated 1139 chars]; line: 1, column: 3] (through reference chain: java.util.ArrayList[0]) at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:67) at com.fasterxml.jackson.databind.DeserializationContext.reportBadDefinition(DeserializationContext.java:1592) ### What you expected to happen It can be import successfully ### How to reproduce Export a processDefinition and then import it ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6572
https://github.com/apache/dolphinscheduler/pull/6573
251255009a857656abf0fe7776b5ae4d68eb4cf7
095e2e206a8d428a0048baa38704a3de3a1e037b
2021-10-20T13:33:36Z
java
2021-10-20T15:45:38Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,566
["dolphinscheduler-ui/src/js/module/components/fileUpdate/definitionUpdate.vue"]
[Bug] [UI] import process definition url error
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened import process definition url error ![image](https://user-images.githubusercontent.com/87303815/138070966-89ca2768-095d-4745-8dc0-a52f36183a90.png) ### What you expected to happen Import succeeded ### How to reproduce ![image](https://user-images.githubusercontent.com/87303815/138071084-1246a7dd-449e-4f15-8fd9-48897cff0275.png) ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6566
https://github.com/apache/dolphinscheduler/pull/6567
5dfb0163c2095905aa0969a9c856e61812db729b
fa102afad0609b623aa60f1f2452f0007f71e431
2021-10-20T09:50:59Z
java
2021-10-20T10:58:23Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,563
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/switch.vue"]
[Bug] [API] Switch node cannot get branch flow
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened 1. switch node cannot get the branch flows. 2. save the switch node, but the conditions donot save. ![image](https://user-images.githubusercontent.com/29528966/138046176-bf27bcc4-0bc5-4080-9341-e802dfc6e9ff.png) ### What you expected to happen switch node can get the branch flows. ### How to reproduce create a switch node, add conditions, branch flow. save switch node. ### Anything else _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6563
https://github.com/apache/dolphinscheduler/pull/6565
09657d8576cd04d7008f78c295c872f7b4a9c5c3
5dfb0163c2095905aa0969a9c856e61812db729b
2021-10-20T07:21:54Z
java
2021-10-20T08:55:38Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,543
["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/EventExecuteService.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/queue/PeerTaskInstancePriorityQueue.java"]
[Bug] [Master] process instance state is always running when failure task exists
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened process instance state is always running when failure task exists. the failure task setting: retry times: 1, retry interval: 1 minute ### What you expected to happen the process instance state is failed when failed task exists. ### How to reproduce process instance state is always running when failure task exists. the failure task setting: retry times: 1, retry interval: 1 minute ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6543
https://github.com/apache/dolphinscheduler/pull/6547
ba4cb9d22ad02ba4927fd23ea811c82639261e69
52a550b6aefa5652f17b7bbc9e056a83efa23c8a
2021-10-15T08:39:19Z
java
2021-10-15T10:04:04Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,537
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/runner/TaskExecuteThread.java"]
[Bug] [Task] task log using error
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/16631152/137439540-4594a679-f489-4b76-bab6-da562e8035bd.png) ### What you expected to happen Business logs should not be handed over to task-logger ### How to reproduce no ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6537
https://github.com/apache/dolphinscheduler/pull/6538
52a550b6aefa5652f17b7bbc9e056a83efa23c8a
de61d65af2fff9f129a3f3c4889328e104f7d2ad
2021-10-15T06:01:08Z
java
2021-10-15T12:27:24Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,529
["dolphinscheduler-task-plugin/dolphinscheduler-task-python/src/main/java/org/apache/dolphinscheduler/plugin/task/python/PythonCommandExecutor.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-python/src/main/java/org/apache/dolphinscheduler/plugin/task/python/PythonTask.java"]
[Bug] [Task] Failed to get environment variables when I used the python task.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened I didn't get environment variables that is set in the file 'dolphinscheduler_env.sh" when I was running a python task. The Python script is as follows: ![image](https://user-images.githubusercontent.com/4928204/137266244-5b054db2-6658-4f09-beaf-40121ab281c4.png) But the result was not what I want. The detail information is as follows: ``` 2021-10-14 14:43:15.919 INFO 86302 --- [-Execute-Thread] o.a.d.p.t.python.PythonCommandExecutor : tenantCode :calvin, task dir:/tmp/dolphinscheduler/exec/process/723800319311872/806053553881088_2/36/50 2021-10-14 14:43:15.919 INFO 86302 --- [-Execute-Thread] o.a.d.p.t.python.PythonCommandExecutor : generate command file:/tmp/dolphinscheduler/exec/process/723800319311872/806053553881088_2/36/50/py_36_50.command 2021-10-14 14:43:15.919 INFO 86302 --- [-Execute-Thread] o.a.d.p.t.python.PythonCommandExecutor : #-*- encoding=utf8 -*- import os import sys print("Python version:%s\n" %(sys.version)) print("HADOOP_HOME=%s\n" %(os.getenv('HADOOP_HOME'))) print("HADOOP_CONF_DIR=%s\n" %(os.getenv('HADOOP_CONF_DIR'))) print("SPARK_HOME1=%s\n" %(os.getenv('SPARK_HOME1'))) print("SPARK_HOME2=%s\n" %(os.getenv('SPARK_HOME2'))) print("PYTHON_HOME=%s\n" %(os.getenv('PYTHON_HOME'))) print("JAVA_HOME=%s\n" %(os.getenv('JAVA_HOME'))) print("HIVE_HOME=%s\n" %(os.getenv('HIVE_HOME'))) print("FLINK_HOME=%s\n" %(os.getenv('FLINK_HOME'))) print("JAVA_HOME=%s\n" %(os.getenv('JAVA_HOME'))) print("DATAX_HOME=%s\n" %(os.getenv('DATAX_HOME'))) print("PATH=%s\n" %(os.getenv('PATH'))) 2021-10-14 14:43:15.926 INFO 86302 --- [-Execute-Thread] [taskAppId=TASK-806053553881088_2-36-50] : task run command: sudo -u calvin python /tmp/dolphinscheduler/exec/process/723800319311872/806053553881088_2/36/50/py_36_50.command 2021-10-14 14:43:15.930 INFO 86302 --- [-Execute-Thread] [taskAppId=TASK-806053553881088_2-36-50] : process start, process id is: 86802 2021-10-14 14:43:16.297 INFO 86302 --- [-Execute-Thread] [taskAppId=TASK-806053553881088_2-36-50] : process has exited, execute path:/tmp/dolphinscheduler/exec/process/723800319311872/806053553881088_2/36/50, processId:86802 ,exitStatusCode:0 ,processWaitForStatus:true ,processExitValue:0 2021-10-14 14:43:16.298 INFO 86302 --- [-Execute-Thread] o.a.d.s.worker.runner.TaskExecuteThread : task instance id : 50,task final status : SUCCESS 2021-10-14 14:43:16.298 INFO 86302 --- [-Execute-Thread] o.a.d.s.worker.runner.TaskExecuteThread : develop mode is: false 2021-10-14 14:43:16.301 INFO 86302 --- [-Execute-Thread] o.a.d.s.worker.runner.TaskExecuteThread : exec local path: /tmp/dolphinscheduler/exec/process/723800319311872/806053553881088_2/36/50 cleared. 2021-10-14 14:43:16.931 INFO 86302 --- [skLogInfo-36_50] [taskAppId=TASK-806053553881088_2-36-50] : -> welcome to use bigdata scheduling system... Python version:2.7.16 (default, Jun 18 2021, 03:23:53) [GCC Apple LLVM 12.0.5 (clang-1205.0.19.59.6) [+internal-os, ptrauth-isa=deploy HADOOP_HOME=None HADOOP_CONF_DIR=None SPARK_HOME1=None SPARK_HOME2=None PYTHON_HOME=None JAVA_HOME=None HIVE_HOME=None FLINK_HOME=None JAVA_HOME=None DATAX_HOME=None PATH=/usr/local/Cellar/pyenv/1.2.16/libexec:/usr/local/Cellar/pyenv/1.2.16/libexec:/usr/local/opt/nvm/versions/node/v12.4.0/bin:/usr/local/Cellar/pyenv-virtualenv/1.1.3/shims:/Users/calvin/.pyenv/shims:/usr/local/bin:/usr/local/cuda/bin:/Users/calvin/opt/hadoop-2.6.5/bin:/Users/calvin/redis-4.0.8/src:/Users/calvin/btrace/bin:/Library/java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/bin:/usr/local/opt/maven3/bin:/Users/calvin/phantomjs-2.1.1/bin:/Users/calvin/sysdir/apache-flume-1.7.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/opt/apache-tinkerpop-gremlin-console-3.4.3/bin:/usr/local/Cellar/postgresql@10/10.11/bin:/usr/local/sbin:/opt/gradle/gradle-7.2/bin:/opt/javacc-javacc-7.0.10/scripts 2021-10-14 14:43:16.931 INFO 86302 --- [skLogInfo-36_50] [taskAppId=TASK-806053553881088_2-36-50] : FINALIZE_SESSION ``` ### What you expected to happen I expect that I can get environment variables in the python script. ### How to reproduce 1. First you can create a python task and set the script content as follows: ``` import os import sys print("Python version:%s\n" %(sys.version)) print("HADOOP_HOME=%s\n" %(os.getenv('HADOOP_HOME'))) print("HADOOP_CONF_DIR=%s\n" %(os.getenv('HADOOP_CONF_DIR'))) print("SPARK_HOME1=%s\n" %(os.getenv('SPARK_HOME1'))) print("SPARK_HOME2=%s\n" %(os.getenv('SPARK_HOME2'))) print("PYTHON_HOME=%s\n" %(os.getenv('PYTHON_HOME'))) print("JAVA_HOME=%s\n" %(os.getenv('JAVA_HOME'))) print("HIVE_HOME=%s\n" %(os.getenv('HIVE_HOME'))) print("FLINK_HOME=%s\n" %(os.getenv('FLINK_HOME'))) print("JAVA_HOME=%s\n" %(os.getenv('JAVA_HOME'))) print("DATAX_HOME=%s\n" %(os.getenv('DATAX_HOME'))) print("PATH=%s\n" %(os.getenv('PATH'))) ``` 2. And then You save it and run this task manually. 3. Finally you will see the result without environment variables in the 'dolphinscheduler_env.sh'; ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6529
https://github.com/apache/dolphinscheduler/pull/6531
4d0869fcc085f7b4d8af2182bb8b16b70ff6482c
8200bc14526364fa1908b1df82befc984b0419aa
2021-10-14T07:01:47Z
java
2021-10-18T09:33:16Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,523
["dolphinscheduler-ui/src/js/conf/home/store/security/actions.js"]
[Bug] [API] Failed to authorize resource
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Failed to authorize resource ### What you expected to happen Failed to authorize resource ### How to reproduce authorize resource report 'authorize-resource-tree' failed ### Anything else _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6523
https://github.com/apache/dolphinscheduler/pull/6524
50f1766903f27ce0960e133b30cf394187e8c5c1
8606cbd493eba950d3e5b95d8c8f891e669a48e8
2021-10-13T15:33:27Z
java
2021-10-13T16:31:23Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,514
["dolphinscheduler-task-plugin/dolphinscheduler-task-api/pom.xml", "pom.xml"]
[Bug] [Task] Task load class fail
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/16631152/136983008-88168ba2-8c03-40ee-a246-b7dae3bfd4fc.png) ### What you expected to happen normal run ### How to reproduce run ShellCommandExecutor and When Use Commons-Lang Class ### Anything else no ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6514
https://github.com/apache/dolphinscheduler/pull/6513
a80fca70f7f325aad8eda2fdc1fe64b2a7d2f04f
bddf3e6f2c811c3ae6623bb588414173f0132c57
2021-10-12T15:16:03Z
java
2021-10-13T02:30:49Z