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 2021/11/06 05:48:20 UTC

[GitHub] [dolphinscheduler] Yao-MR commented on a change in pull request #6656: [Fix-#6641]fix npe when the LowerWeightHostManager can not get the workNodeInfo

Yao-MR commented on a change in pull request #6656:
URL: https://github.com/apache/dolphinscheduler/pull/6656#discussion_r744080283



##########
File path: dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/host/LowerWeightHostManager.java
##########
@@ -154,6 +155,11 @@ public void run() {
         }
 
         public HostWeight getHostWeight(String addr, String workerGroup, String heartBeatInfo) {
+            if (StringUtils.isEmpty(heartBeatInfo)) {

Review comment:
       @kezhenxu94 actually yes, and this pr is for relove this issue 
   [Bug] [MasterServer] RefreshResourceTask error by NPE #6641
   
   and i will open an new issue for optimize and improve the rubustness of the interface
   and pull a sepearte request,
   




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