Yao-MR commented on issue #6641:
URL: 
https://github.com/apache/dolphinscheduler/issues/6641#issuecomment-956004098


   > > @caishunfeng can you help check whether we find the root cause and fix 
elegently ?
   > > have already give a PR
   > 
   > Well done. May be it should update the heartbeat info when the client 
registry at first time. What do you think?
   
   the LowerWeightHostManager in master will load the worknode and worknode 
group from zk when
   
   the master start, and the detail worknodeinfo will update in a sepearte 
thread in the later,
   
   so this is two solution
   
   1. as you say, we should get all the info including the worknode and 
worknodeinfo when the client registry at first time, and also start a seperte 
thread to update the worknodeinfo in a sepearte thread
   2. keep now logic, and just think this scene is no problem, and we will 
assign the task to later connected and give detail info worknode, but should 
elegently fix this npe,
   
   


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