Coder-Gorson commented on issue #1491:
URL: 
https://github.com/apache/incubator-seatunnel/issues/1491#issuecomment-1068785099


   > > thanks for reply, but I was already used seatunnel 2.1.0 version run the 
same demo. it's throw anothor error... it seems like that the shell 
start-seatunnel-sql.sh want to find PLUGINS_DIR (seatunnel/lib? may be),but no 
such file or directory , like that: `sh start-seatunnel-sql.sh -c 
../config/flinksqldemo.conf find: ‘/data/seatunnel/dev/seatunnel/lib’: 
没有那个文件或目录 Could not get job jar and dependencies from JAR file: JAR file does 
not exist: --config
   > > Use the help option (-h or --help) to get help on the command. `
   > 
   > seems like dislocation in script parameter , you can rerun with `bash -x 
start-seatunnel-sql.sh -c ../config/flinksqldemo.conf` and paste the log here 
for help.
   
![pic](https://user-images.githubusercontent.com/59015291/158530584-5ab00fba-1359-4fff-b7f1-77785727f876.png)
   
   Seatunnel directory screenshots is in attachment
   
   `+ [[ -c ../config/flinksqldemo.conf = *--help ]]
   + [[ -c ../config/flinksqldemo.conf = *-h ]]
   + [[ 2 -le 1 ]]
   + PARAMS=
   + ((  2  ))
   + case "$1" in
   + CONFIG_FILE=../config/flinksqldemo.conf
   + is_exist ../config/flinksqldemo.conf
   + '[' -z ../config/flinksqldemo.conf ']'
   + shift 2
   + ((  0  ))
   + '[' -z ../config/flinksqldemo.conf ']'
   + eval set -- ''
   ++ set --
   +++ dirname ./bin/start-seatunnel-sql.sh
   ++ cd ./bin
   ++ pwd
   + BIN_DIR=/data/seatunnel/dev/seatunnel/bin
   ++ dirname /data/seatunnel/dev/seatunnel/bin
   + APP_DIR=/data/seatunnel/dev/seatunnel
   + CONF_DIR=/data/seatunnel/dev/seatunnel/config
   + PLUGINS_DIR=/data/seatunnel/dev/seatunnel/lib
   + DEFAULT_CONFIG=/data/seatunnel/dev/seatunnel/config/application.conf
   + CONFIG_FILE=../config/flinksqldemo.conf
   ++ find /data/seatunnel/dev/seatunnel/lib -name 'seatunnel-core-sql*.jar'
   find: ‘/data/seatunnel/dev/seatunnel/lib’: 没有那个文件或目录
   + assemblyJarName=
   + source /data/seatunnel/dev/seatunnel/config/seatunnel-env.sh
   ++ SPARK_HOME=/opt/spark
   ++ FLINK_HOME=/data/seatunnel/dev/flink-1.13.0
   ++ export SEATUNNEL_PRINT_ASCII_LOGO=true
   ++ SEATUNNEL_PRINT_ASCII_LOGO=true
   ++ string_trim ''
   ++ echo
   ++ awk '{$1=$1;print}'
   + export JVM_ARGS=
   + JVM_ARGS=
   + exec /data/seatunnel/dev/flink-1.13.0/bin/flink run -c 
org.apache.seatunnel.core.sql.SeatunnelSql --config ../config/flinksqldemo.conf
   Could not get job jar and dependencies from JAR file: JAR file does not 
exist: --config
   
   Use the help option (-h or --help) to get help on the command.
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to