You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by lg...@apache.org on 2020/04/24 08:51:25 UTC

[incubator-dolphinscheduler] branch dev updated: #2499 buf fix (#2518)

This is an automated email from the ASF dual-hosted git repository.

lgcareer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new db7c0cb  #2499 buf fix (#2518)
db7c0cb is described below

commit db7c0cbd8c98cfce369531b236b7ab53fb3b5a48
Author: qiaozhanwei <qi...@outlook.com>
AuthorDate: Fri Apr 24 16:51:16 2020 +0800

    #2499 buf fix (#2518)
    
    * dispatch task fail will set task status failed
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,task status statistics and process status statistics bug fix (#2357)
    2,worker group bug fix
    
    * 1,task status statistics and process status statistics bug fix (#2357)
    2,worker group bug fix
    
    * 1,task status statistics and process status statistics bug fix (#2357)
    2,worker group bug fix
    
    * 1,task status statistics and process status statistics bug fix (#2357)
    2,worker group bug fix
    
    * send mail error, #2466 bug fix
    
    * send mail error, #2466 bug fix
    
    * send mail error, #2466 bug fix
    
    * send mail error, #2466 bug fix
    
    * #2486 bug fix
    
    * host and workergroup compatible
    
    * EnterpriseWeChatUtils modify
    
    * EnterpriseWeChatUtils modify
    
    * EnterpriseWeChatUtils modify
    
    * #2499 bug fix
    
    * add comment
    
    * revert comment
    
    * revert comment
    
    * #2499 buf fix
    
    Co-authored-by: qiaozhanwei <qi...@analysys.com.cn>
---
 .../main/java/org/apache/dolphinscheduler/server/zk/ZKMasterClient.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/zk/ZKMasterClient.java b/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/zk/ZKMasterClient.java
index e923157..69aecee 100644
--- a/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/zk/ZKMasterClient.java
+++ b/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/zk/ZKMasterClient.java
@@ -155,7 +155,7 @@ public class ZKMasterClient extends AbstractZKClient {
 	 * @throws Exception	exception
 	 */
 	private void failoverServerWhenDown(String serverHost, ZKNodeType zkNodeType) throws Exception {
-		if(StringUtils.isEmpty(serverHost)){
+		if(StringUtils.isEmpty(serverHost) || serverHost.startsWith(OSUtils.getHost())){
 			return ;
 		}
 		switch (zkNodeType){