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/01/26 09:41:07 UTC

[GitHub] [dolphinscheduler] SbloodyS commented on a change in pull request #8205: [Bug-8204][WorkerServer] fix host update processor init

SbloodyS commented on a change in pull request #8205:
URL: https://github.com/apache/dolphinscheduler/pull/8205#discussion_r792459299



##########
File path: dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/processor/HostUpdateProcessor.java
##########
@@ -45,17 +45,17 @@
     /**
      * task callback service
      */
-    private final TaskCallbackService taskCallbackService;
-
-    public HostUpdateProcessor() {
-        this.taskCallbackService = SpringApplicationContext.getBean(TaskCallbackService.class);
-    }
+    private TaskCallbackService taskCallbackService;

Review comment:
       I just tested it on my Linux server.```@Autowired``` can't solve this problem. The error message in the log remains the same.




-- 
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