From 502b253a9c8eafdfb843adca2f71bdb110679225 Mon Sep 17 00:00:00 2001 From: liaowenlu <119066663@qq.com> Date: Wed, 4 Sep 2024 14:19:32 +0800 Subject: [PATCH] =?UTF-8?q?dss-server=E4=B8=8D=E8=AE=BA=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=98=AF=E7=AE=A1=E7=90=86=E8=8A=82=E7=82=B9=E9=83=BD=E5=AF=B9?= =?UTF-8?q?appconn=E8=BF=9B=E8=A1=8C=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../framework/appconn/restful/AppConnManagerRestfulApi.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dss-framework/dss-appconn-framework/src/main/java/com/webank/wedatasphere/dss/framework/appconn/restful/AppConnManagerRestfulApi.java b/dss-framework/dss-appconn-framework/src/main/java/com/webank/wedatasphere/dss/framework/appconn/restful/AppConnManagerRestfulApi.java index 043c37985..8645687c3 100644 --- a/dss-framework/dss-appconn-framework/src/main/java/com/webank/wedatasphere/dss/framework/appconn/restful/AppConnManagerRestfulApi.java +++ b/dss-framework/dss-appconn-framework/src/main/java/com/webank/wedatasphere/dss/framework/appconn/restful/AppConnManagerRestfulApi.java @@ -25,10 +25,8 @@ import com.webank.wedatasphere.dss.appconn.manager.utils.AppConnManagerUtils; import com.webank.wedatasphere.dss.common.exception.DSSRuntimeException; import com.webank.wedatasphere.dss.common.utils.DSSExceptionUtils; -import com.webank.wedatasphere.dss.framework.appconn.conf.AppConnConf; import com.webank.wedatasphere.dss.framework.appconn.service.AppConnQualityChecker; import com.webank.wedatasphere.dss.framework.appconn.service.AppConnResourceUploadService; -import com.webank.wedatasphere.dss.sender.service.conf.DSSSenderServiceConf; import org.apache.commons.lang.exception.ExceptionUtils; import org.apache.linkis.common.utils.Utils; import org.apache.linkis.server.Message; @@ -65,6 +63,8 @@ public class AppConnManagerRestfulApi { @PostConstruct public void init() throws InterruptedException { + AppConnManager.getAppConnManager(); + //仅dss-server-dev的其中一个服务需要作为appconn-manager节点上传appconn包,其他服务都是client端 if (AppConnManagerCoreConf.IS_APPCONN_MANAGER.getValue()) { LOGGER.info("First, try to load all AppConn...");