Skip to content

Commit

Permalink
update JDBC check hint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaowenkai111 authored and casionone committed Oct 25, 2023
1 parent 5b9a688 commit ab84ee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linkis-dist/bin/checkAdd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ source ${workDir}/deploy-config/db.sh
function print_usage(){
echo "Usage: checkAdd [EngineName]"
echo " EngineName : The Engine name that you want to check"
echo " Engine list as bellow: JDBC Flink openLooKeng Presto Sqoop Elasticsearch Impala Trino Seatunnel"
echo " Engine list as bellow: JDBC Flink openLooKeng Presto Sqoop Elasticsearch Impala Trino Seatunnel"
}

if [ $# -gt 1 ]; then
Expand All @@ -49,7 +49,7 @@ function checkJDBC(){
fi

if [ -z "${MYSQL_CONNECT_JAVA_PATH}" ] || [ ! -f ${MYSQL_CONNECT_JAVA_PATH} ];then
echo "openLooKeng connector ${MYSQL_CONNECT_JAVA_PATH} is not exist,Pls check parameters in ${LinkisParDir} "
echo "MySQL connector ${MYSQL_CONNECT_JAVA_PATH} is not exist,Pls check parameters in ${LinkisParDir} "
exit 2
fi

Expand Down

0 comments on commit ab84ee3

Please sign in to comment.