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

casion pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/linkis.git

commit 85e582d74485cb043937e4a7bca93cc36bcbc7b2
Author: 赵文恺 <[email protected]>
AuthorDate: Tue Aug 29 10:42:07 2023 +0800

    Update install.sh - check addtional engines
---
 linkis-dist/bin/install.sh | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/linkis-dist/bin/install.sh b/linkis-dist/bin/install.sh
index 9702e1e00..be9e0e3c6 100644
--- a/linkis-dist/bin/install.sh
+++ b/linkis-dist/bin/install.sh
@@ -78,6 +78,26 @@ else
   done
 fi
 
+echo "======= Step 2.5: Check additional engines=========="
+## check additional engines 
+
+export EngineList="TRINO ES FLINK"
+
+ echo "Additional engines list for check:" $EngineList
+ read -p "[Please input your choice]:"  idx
+
+if [[ ${EngineList} =~ (^|[[:space:]])"${idx}"($|[[:space:]]) ]]; then
+
+    export ENABLE_${idx}=true
+
+else
+    echo "输入名称不在列表中"
+    exit
+fi
+
+sh ${workDir}/bin/checkAdd.sh
+
+isSuccess "check additional engines succesful!"
 
 ########################  init LINKIS related env  
################################
 if [ "$LINKIS_HOME" = "" ]
@@ -575,4 +595,4 @@ sudo chmod -R 777 $LINKIS_HOME/sbin/*
 echo -e "\n"
 
 echo -e "${GREEN}Congratulations!${NC} You have installed Linkis 
$LINKIS_VERSION successfully, please use sh 
$LINKIS_HOME/sbin/linkis-start-all.sh to start it!"
-echo -e "Your default account/password is 
${GREEN}[$deployUser/$deployPwd]${NC}, you can find in 
$LINKIS_HOME/conf/linkis-mg-gateway.properties"
\ No newline at end of file
+echo -e "Your default account/password is 
${GREEN}[$deployUser/$deployPwd]${NC}, you can find in 
$LINKIS_HOME/conf/linkis-mg-gateway.properties"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to