You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "rxbyes (via GitHub)" <gi...@apache.org> on 2025/09/18 09:26:10 UTC

[I] Source code compilation of apache-satunnel-web-1.0.3-SNAPSHOT execution startup script exception [seatunnel]

rxbyes opened a new issue, #9874:
URL: https://github.com/apache/seatunnel/issues/9874

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   Source code compilation of apache-satunnel-web-1.0.3-SNAPSHOT execution startup script exception
   
   ### SeaTunnel Version
   
   2.3.12
   
   ### SeaTunnel Config
   
   ```conf
   #!/bin/sh
   
   #
   # Licensed to the Apache Software Foundation (ASF) under one or more
   # contributor license agreements.  See the NOTICE file distributed with
   # this work for additional information regarding copyright ownership.
   # The ASF licenses this file to You under the Apache License, Version 2.0
   # (the "License"); you may not use this file except in compliance with
   # the License.  You may obtain a copy of the License at
   #
   #    http://www.apache.org/licenses/LICENSE-2.0
   #
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
   #
   
   set -
   # usage: seatunnel-backend-daemon.sh <start|stop|status>
   
   WORKDIR=$(cd "$(dirname "$0")" || exit; pwd)
   
   # check
   check() {
     # check whether the SEATUNNEL_HOME exists or not.
     if [ "${SEATUNNEL_HOME}" ];then
     	echo "Load connectors from ${SEATUNNEL_HOME}"
     else
     	echo "SEATUNNEL_HOME is not be set. Please check it."
     	exit 1
     fi
   }
   
   # start
   start() {
     echo "starting seatunnel-web..."
   
     check
   
     LOGDIR=${WORKDIR}/../logs
     # Create the log directory if it does not exist
     if [ ! -d "$LOGDIR" ]; then
       mkdir -p "$LOGDIR"
     fi
     JAVA_OPTS="${JAVA_OPTS} -server -Xms1g -Xmx1g -Xmn512m -XX:+PrintGCDetails -Xloggc:${LOGDIR}/gc.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof"
     SPRING_OPTS="${SPRING_OPTS} -Dspring.config.name=application.yml -Dspring.config.location=classpath:application.yml"
     JAVA_OPTS="${JAVA_OPTS} -Dseatunnel-web.logs.path=${LOGDIR}"
     # check env JAVA_HOME
     if [ -z "$JAVA_HOME" ]; then
       echo "JAVA_HOME is not set"
       exit 1
     fi
   
     echo "$WORKDIR"
     CLASSPATH="$WORKDIR/../conf:$WORKDIR/../libs/*:$WORKDIR/../datasource/*"
     if [ -d "$WORKDIR/../ranger-seatunnel-plugin" ]; then
     CLASSPATH="$CLASSPATH:$WORKDIR/../ranger-seatunnel-plugin/lib/*.jar"
     CLASSPATH="$CLASSPATH:$WORKDIR/../ranger-seatunnel-plugin/lib/ranger-seatunnel-plugin-impl/*"
     fi
   
     nohup $JAVA_HOME/bin/java $JAVA_OPTS \
     -cp "$CLASSPATH" $SPRING_OPTS \
     org.apache.seatunnel.app.SeatunnelApplication >> "${LOGDIR}/seatunnel.out" 2>&1 &
     echo "seatunnel-web started"
   }
   # stop
   stop() {
     echo "stopping seatunnel-web..."
     pid=$(jcmd | grep -i 'org.apache.seatunnel.app.SeatunnelApplication' | grep -v grep | awk '{print $1}')
     if [ -n "$pid" ]; then
       kill -15 $pid
       echo "seatunnel-web stopped"
     else
       echo "seatunnel-web is not running"
     fi
   }
   
   #status
   status() {
     pid=$(jcmd | grep -i 'org.apache.seatunnel.app.SeatunnelApplication' | grep -v grep | awk '{print $1}')
     if [ -n "$pid" ]; then
       echo "seatunnel-web is running"
     else
       echo "seatunnel-web is not running"
     fi
   }
   
   # main
   case "$1" in
   "start")
     start
     ;;
   "stop")
     stop
     ;;
   "status")
     status
     ;;
   *)
     echo "Usage: seatunnel-daemon.sh {start|stop|status}"
     exit 1
   esac
   ```
   
   ### Running Command
   
   ```shell
   sh bin/seatunnel-backend-daemon.sh start
   ```
   
   ### Error Exception
   
   ```log
   : not foundel-backend-daemon.sh: 2: 
   : not foundel-backend-daemon.sh: 19: 
   bin/seatunnel-backend-daemon.sh: 20: set: Illegal option -
   ```
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscribe@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Source code compilation of apache-satunnel-web-1.0.3-SNAPSHOT execution startup script exception [seatunnel]

Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #9874:
URL: https://github.com/apache/seatunnel/issues/9874#issuecomment-4300856866

   Good question. These two are related to the UI area, but they are not the same project boundary.
   
   `seatunnel-engine/seatunnel-engine-ui` is the Web UI that lives inside the main `apache/seatunnel` repository. It is tied to the Zeta Engine REST API and is mainly used for engine-side job / worker / master monitoring and management. It is served by the SeaTunnel Engine HTTP service when the engine HTTP API is enabled.
   
   `apache/seatunnel-web` is a separate project. Historically it provides a broader visual job management / scheduling / canvas-style experience, and the main SeaTunnel repository only references it as a separate project. A startup-script issue in `apache-seatunnel-web-1.0.3-SNAPSHOT` should therefore be tracked in `apache/seatunnel-web`, not in this main engine repository.
   
   For compatibility with the latest SeaTunnel version, I would not assume that an old `apache-seatunnel-web-1.0.3-SNAPSHOT` build fully supports the latest SeaTunnel runtime unless the `seatunnel-web` project documents or tests that combination. If your goal is latest Zeta Engine runtime monitoring, please use the built-in engine Web UI in this repository. If your goal is the separate visual job management product, please continue the compatibility/startup discussion in `apache/seatunnel-web` with the exact branch, commit, JDK, Node, Maven versions, and startup logs.
   
   So for this issue in `apache/seatunnel`, the remaining startup exception is outside this repository's code boundary.
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Source code compilation of apache-satunnel-web-1.0.3-SNAPSHOT execution startup script exception [seatunnel]

Posted by "chenbihao (via GitHub)" <gi...@apache.org>.
chenbihao commented on issue #9874:
URL: https://github.com/apache/seatunnel/issues/9874#issuecomment-4295631497

   > Thanks for following up.
   > 
   > I rechecked the repository boundary here. The main `apache/seatunnel` repo does not contain the SeaTunnel Web source code; it only references the separate `apache/seatunnel-web` project. So there is no `dev`-branch PR in this repo that would directly fix an `apache-seatunnel-web-1.0.3-SNAPSHOT` startup-script problem.
   > 
   > From the current GitHub state, `apache/seatunnel-web` still exists and is not archived. But if the original startup exception is still the real blocker, we still need the exact error output from the `seatunnel-web` side before we can judge whether this is an environment issue, a build issue, or a real bug.
   > 
   > If you still want help on the startup problem, please share these details in `apache/seatunnel-web`:
   > 
   > 1. the exact script command you ran
   > 2. the complete error stack / console output
   > 3. the `seatunnel-web` branch or commit you built
   > 4. your JDK / Node / Maven versions
   > 
   > If the main question is only whether SeaTunnel Web is still maintained: the project repo is still there, but the debugging thread for this startup exception should be continued in `apache/seatunnel-web`, because this repo is not where that code lives.
   > 
   > Thanks again for checking in on it. If you post the web-side details, we can continue from there.
   
   我有个疑问,seatunnel-engine/seatunnel-engine-ui 跟 https://github.com/apache/seatunnel-web 的关系是?
   I have a question, what is the relationship between seatunnel-engine/seatunnel-engine-ui and https://github.com/apache/seatunnel-web?    
   
   apache/seatunnel-web 似乎停留在了apache-seatunnel-web-1.0.3-SNAPSHOT这个版本,这个版本支持最新的seatunnel吗
   apache/seatunnel-web seems to be stuck in the apache-seatunnel-web-1.0.3-SNAPSHOT version, does this version support the latest seatunnel?


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Source code compilation of apache-satunnel-web-1.0.3-SNAPSHOT execution startup script exception [seatunnel]

Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #9874:
URL: https://github.com/apache/seatunnel/issues/9874#issuecomment-4301220178

   One clarification to avoid misunderstanding my previous reply:
   
   For current SeaTunnel usage, `apache/seatunnel-web` should not be treated as the actively maintained or recommended path for the latest SeaTunnel runtime. In particular, I would not recommend relying on the old `apache-seatunnel-web-1.0.3-SNAPSHOT` package for compatibility with recent SeaTunnel versions.
   
   For now, the recommended and most reliable way is to use the SeaTunnel command line directly, for example `seatunnel.sh` / `seatunnel.cmd` with job configuration files. That path is maintained together with the main SeaTunnel runtime and is the safest choice for production job submission and troubleshooting.
   
   `seatunnel-engine/seatunnel-engine-ui` is different: it is the lightweight UI inside this main repository and is mainly tied to the Zeta Engine REST API for runtime monitoring / management. It is not the same as the separate `apache/seatunnel-web` project.
   
   So for this issue, please use the command-line workflow directly instead of the old `seatunnel-web` package. If you hit a CLI startup or job execution problem, please open/update an issue with the CLI command, SeaTunnel version, config, and full logs.
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Source code compilation of apache-satunnel-web-1.0.3-SNAPSHOT execution startup script exception [seatunnel]

Posted by "addls (via GitHub)" <gi...@apache.org>.
addls commented on issue #9874:
URL: https://github.com/apache/seatunnel/issues/9874#issuecomment-4229513474

   seatunnel-web项目未来还更新吗? @zhangshenghang 


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Source code compilation of apache-satunnel-web-1.0.3-SNAPSHOT execution startup script exception [seatunnel]

Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #9874:
URL: https://github.com/apache/seatunnel/issues/9874#issuecomment-4234059257

   Thanks for following up.
   
   I rechecked the repository boundary here. The main `apache/seatunnel` repo does not contain the SeaTunnel Web source code; it only references the separate `apache/seatunnel-web` project. So there is no `dev`-branch PR in this repo that would directly fix an `apache-seatunnel-web-1.0.3-SNAPSHOT` startup-script problem.
   
   From the current GitHub state, `apache/seatunnel-web` still exists and is not archived. But if the original startup exception is still the real blocker, we still need the exact error output from the `seatunnel-web` side before we can judge whether this is an environment issue, a build issue, or a real bug.
   
   If you still want help on the startup problem, please share these details in `apache/seatunnel-web`:
   1. the exact script command you ran
   2. the complete error stack / console output
   3. the `seatunnel-web` branch or commit you built
   4. your JDK / Node / Maven versions
   
   If the main question is only whether SeaTunnel Web is still maintained: the project repo is still there, but the debugging thread for this startup exception should be continued in `apache/seatunnel-web`, because this repo is not where that code lives.
   
   Thanks again for checking in on it. If you post the web-side details, we can continue from there.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org