You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/03/30 09:02:20 UTC

[GitHub] [dolphinscheduler] huagetai opened a new issue #9283: [Feature][worker] make workers completely independent of the database

huagetai opened a new issue #9283:
URL: https://github.com/apache/dolphinscheduler/issues/9283


   ### 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
   
   IMO, the worker server is independent of the database.
   ATM is dependent.
   Besides TaskPluginManager, are there any other functions that depend on the database?
   If the specific task is not dependent, the changes will not be too much.
   
   
   
   ### Use case
   
   make workers completely independent of the database
   
   ### 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)
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] caishunfeng commented on issue #9283: [Feature][worker] make workers completely independent of the database

Posted by GitBox <gi...@apache.org>.
caishunfeng commented on issue #9283:
URL: https://github.com/apache/dolphinscheduler/issues/9283#issuecomment-1082869925


   @zhuangchong can you take a look and give some suggestion?


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] zhuangchong commented on issue #9283: [Feature][worker] make workers completely independent of the database

Posted by GitBox <gi...@apache.org>.
zhuangchong commented on issue #9283:
URL: https://github.com/apache/dolphinscheduler/issues/9283#issuecomment-1082899467


   @huagetai 
   Currently the worker server is completely independent of the database. Maybe I didn't understand what you said. Would you like to express your design plan and ideas?


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #9283: [Feature][worker] make workers completely independent of the database

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #9283:
URL: https://github.com/apache/dolphinscheduler/issues/9283#issuecomment-1082818686


   Hi:
   * Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] huagetai commented on issue #9283: [Feature][worker] make workers completely independent of the database

Posted by GitBox <gi...@apache.org>.
huagetai commented on issue #9283:
URL: https://github.com/apache/dolphinscheduler/issues/9283#issuecomment-1082916537


   @zhuangchong 
   
   ATM:
   ```java
   public class TaskExecuteThread implements Runnable, Delayed {
       ...
        @Override
         public void run() {
              ...
              TaskChannel taskChannel = taskPluginManager.getTaskChannelMap().get(taskExecutionContext.getTaskType());
              ...
         }
   }
   
   @Component
   public class TaskPluginManager {
       ....
        private final PluginDao pluginDao;
        ....
   }
   
   ```
   
   In addition, due to the dependence on the dolphinscheduler-service package, spring will automatically inject the datasource
   
   <img width="1529" alt="截屏2022-03-30 下午6 32 32" src="https://user-images.githubusercontent.com/1137341/160812071-c6a893dd-2eb3-42cd-9c84-7d11b6556aaa.png">
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org