You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by pe...@apache.org on 2022/02/07 12:16:03 UTC

[incubator-linkis] branch dev-1.1.0-datasource updated: #1257 (#1369)

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

peacewong pushed a commit to branch dev-1.1.0-datasource
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git


The following commit(s) were added to refs/heads/dev-1.1.0-datasource by this push:
     new 93d2c66  #1257 (#1369)
93d2c66 is described below

commit 93d2c6692967e3efda942e4ddf3474e909f9f1e3
Author: dddyszy <91...@qq.com>
AuthorDate: Mon Feb 7 20:15:58 2022 +0800

    #1257 (#1369)
    
    fix the first upload of the resource failed
---
 assembly-combined-package/assembly-combined/conf/linkis.properties | 4 ++++
 assembly-combined-package/bin/install.sh                           | 1 +
 2 files changed, 5 insertions(+)

diff --git a/assembly-combined-package/assembly-combined/conf/linkis.properties b/assembly-combined-package/assembly-combined/conf/linkis.properties
index 465161f..6098fc2 100644
--- a/assembly-combined-package/assembly-combined/conf/linkis.properties
+++ b/assembly-combined-package/assembly-combined/conf/linkis.properties
@@ -33,6 +33,10 @@ wds.linkis.mysql.is.encrypt=false
 ##file path
 wds.linkis.filesystem.root.path=file:///tmp/linkis/
 wds.linkis.filesystem.hdfs.root.path=hdfs:///tmp/linkis/
+##bml path:default use hdfs
+wds.linkis.bml.is.hdfs=true
+wds.linkis.bml.hdfs.prefix=/apps-data
+#wds.linkis.bml.local.prefix=/data/dss/bml
 ##engine Version
 #wds.linkis.spark.engine.version=
 #wds.linkis.hive.engine.version=
diff --git a/assembly-combined-package/bin/install.sh b/assembly-combined-package/bin/install.sh
index e0f127e..c369f43 100644
--- a/assembly-combined-package/bin/install.sh
+++ b/assembly-combined-package/bin/install.sh
@@ -322,6 +322,7 @@ sed -i ${txt}  "s#wds.linkis.home.*#wds.linkis.home=$LINKIS_HOME#g" $common_conf
 sed -i ${txt}  "s#wds.linkis.filesystem.root.path.*#wds.linkis.filesystem.root.path=$WORKSPACE_USER_ROOT_PATH#g" $common_conf
 sed -i ${txt}  "s#wds.linkis.filesystem.hdfs.root.path.*#wds.linkis.filesystem.hdfs.root.path=$HDFS_USER_ROOT_PATH#g" $common_conf
 
+sed -i ${txt}  "s#wds.linkis.bml.hdfs.prefix.*#wds.linkis.bml.hdfs.prefix=$HDFS_USER_ROOT_PATH#g" $common_conf
 
 ##gateway
 gateway_conf=$LINKIS_HOME/conf/linkis-mg-gateway.properties

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org