Skip to content

Commit c9fb804

Browse files
committed
Optimize install script
1 parent b0a7852 commit c9fb804

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

assembly/bin/dssinstall.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ SERVER_IP=""
1313
SERVER_HOME=""
1414

1515
local_host="`hostname --fqdn`"
16-
LOCAL_IP=$(hostname -I)
17-
LOCAL_IP=${LOCAL_IP// /}
16+
LOCAL_IP=$(hostname -I | sed 's/^\([0-9.]\+\) .*/\1/')
1817

1918
#To be compatible with MacOS and Linux
2019
txt=""

conf/dss-server.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ wds.linkis.server.mybatis.BasePackage=com.webank.wedatasphere.dss.framework.work
2020
####project
2121
wds.dss.appconn.checker.development.ignore.list=orchestrator-framework,workflow,sendemail,sparketl
2222
wds.dss.appconn.checker.project.ignore.list=
23-
#????appconn?????
23+
## filter appconn
2424
wds.dss.appconn.disabled=
2525
***REMOVED***
2626

@@ -56,5 +56,4 @@ spring.spring.main.allow-bean-definition-overriding=true
5656

5757
wds.linkis.flow.job.creator.v1=nodeexecution
5858

59-
#[??]linkis??runType??????interceptor???
6059
wds.linkis.codeType.runType.relation=sql=>sql|hql|jdbc|hive|psql|fql|tsql,python=>python|py|pyspark,java=>java,scala=>scala,shell=>sh|shell

dss-appconn/appconns/dss-sparketl-appconn/src/main/java/com/webank/wedatasphere/dss/appconn/sparketl/execution/SparkEtlRefExecutionOperation.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package com.webank.wedatasphere.dss.appconn.sparketl.execution;
1818

1919
import com.google.gson.Gson;
20-
import com.webank.wedatasphere.dss.appconn.sparketl.SparkEtlAppConn;
2120
import com.webank.wedatasphere.dss.appconn.sparketl.constant.SparkEtlTaskStatusEnum;
2221
import com.webank.wedatasphere.dss.appconn.sparketl.utils.HttpUtils;
2322
import com.webank.wedatasphere.dss.standard.app.development.listener.common.RefExecutionState;

0 commit comments

Comments
 (0)