miracletiger opened a new issue #6994:
URL: https://github.com/apache/dolphinscheduler/issues/6994


   ### 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
   
   docker-swarm_dolphinscheduler-worker_1 start error
      apache/dolphinscheduler:2.0.0                     "/usr/bin/tini -- /r…"  
 About an hour ago   Up About an hour (unhealthy)   1234/tcp, 5678/tcp, 
12345/tcp, 50051-50052/tcp                                                      
                                                                 
docker-swarm_dolphinscheduler-worker_1
   
   [INFO] 2021-11-25 15:00:05.075 com.alibaba.druid.pool.DruidDataSource:[985] 
- {dataSource-1} inited
    _ _   |_  _ _|_. ___ _ |    _ 
   | | |\/|_)(_| | |_\  |_)||_|_\ 
        /               |         
                           3.2.0 
   [WARN] 2021-11-25 15:00:06.274 
org.springframework.context.annotation.AnnotationConfigApplicationContext:[558] 
- Exception encountered during context initialization - cancelling refresh 
attempt: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'workerServer': Invocation of init method failed; 
nested exception is 
org.apache.dolphinscheduler.spi.exception.PluginNotFoundException: Task Plugin 
Not Found,Please Check Config File
   [INFO] 2021-11-25 15:00:06.279 
org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener:[136]
 - 
   
   Error starting ApplicationContext. To display the conditions report re-run 
your application with 'debug' enabled.
   [ERROR] 2021-11-25 15:00:06.282 
org.springframework.boot.SpringApplication:[823] - Application run failed
   org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'workerServer': Invocation of init method failed; nested exception is 
org.apache.dolphinscheduler.spi.exception.PluginNotFoundException: Task Plugin 
Not Found,Please Check Config File
           at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:413)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1761)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:514)
           at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:321)
           at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
           at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:319)
           at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
           at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:866)
           at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
           at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
           at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
           at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
           at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
           at 
org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140)
           at 
org.apache.dolphinscheduler.server.worker.WorkerServer.main(WorkerServer.java:122)
   Caused by: 
org.apache.dolphinscheduler.spi.exception.PluginNotFoundException: Task Plugin 
Not Found,Please Check Config File
           at 
org.apache.dolphinscheduler.server.worker.WorkerServer.initTaskPlugin(WorkerServer.java:193)
           at 
org.apache.dolphinscheduler.server.worker.WorkerServer.run(WorkerServer.java:134)
           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.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)
           at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307)
           at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
           ... 16 common frames omitted
   Exception in thread "Worker-Server" 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'workerServer': Invocation of init method failed; nested exception is 
org.apache.dolphinscheduler.spi.exception.PluginNotFoundException: Task Plugin 
Not Found,Please Check Config File
           at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:413)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1761)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:514)
           at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:321)
           at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
           at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:319)
           at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
           at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:866)
           at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
           at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
           at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
           at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
           at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
           at 
org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140)
           at 
org.apache.dolphinscheduler.server.worker.WorkerServer.main(WorkerServer.java:122)
   Caused by: 
org.apache.dolphinscheduler.spi.exception.PluginNotFoundException: Task Plugin 
Not Found,Please Check Config File
           at 
org.apache.dolphinscheduler.server.worker.WorkerServer.initTaskPlugin(WorkerServer.java:193)
           at 
org.apache.dolphinscheduler.server.worker.WorkerServer.run(WorkerServer.java:134)
           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.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)
           at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307)
           at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
           ... 16 more
   
   ### What you expected to happen
   
   run well
   
   ### How to reproduce
   
   git clone  -b=2.0.0   https://github.com/apache/dolphinscheduler.git
   cd /data/app/dolphinscheduler/docker/docker-swarm
   docker tag 
dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler:2.0.0-SNAPSHOT  
apache/dolphinscheduler:2.0.0
   docker pull dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler:latest
   docker-compose up -d
   
   ### 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)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to