You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "suntectec (via GitHub)" <gi...@apache.org> on 2025/06/29 14:05:58 UTC
[I] [Bug] [plugins] install-plugin.sh failed within container caused by absence of /opt/seatunnel/mvnw: not found [seatunnel]
suntectec opened a new issue, #9522:
URL: https://github.com/apache/seatunnel/issues/9522
### 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
Specify config/plugin_config and install-plugin.sh, failed within docker container caused by absence of /opt/seatunnel/mvnw: not found
### SeaTunnel Version
2.3.11
### SeaTunnel Config
_No response_
### Running Command
```shell
sh bin/install-plugin.sh
```
### Error Exception
```log
bin/install-plugin.sh: 48: /opt/seatunnel/mvnw: not found
```
### Zeta or Flink or Spark Version
_No response_
### Java or Scala Version
11
### Screenshots

### 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] [Bug] [plugins] image: apache/seatunnel install-plugin.sh failed within docker container caused by absence of /opt/seatunnel/mvnw: not found [seatunnel]
Posted by "suntectec (via GitHub)" <gi...@apache.org>.
suntectec commented on issue #9522:
URL: https://github.com/apache/seatunnel/issues/9522#issuecomment-3031522987
The issue happens due to config/plugin_config generation way.
If IntelliJ IDEA generates the plugin_config on Windows then mounted it to Docker Container, because the different character set of File Gen by Windows and by Linux, there will get different result of while read line.
E.g.:
while read line; do
first_char=$(echo "$line" | cut -c 1)
if [ "$first_char" != "-" ] && [ "$first_char" != "#" ] && [ ! -z $first_char ]
then
echo "install connector : $line"XXYY
echo "install connector : $line ; $line"
echo "install connector : $version ; $version"
#${SEATUNNEL_HOME}/mvnw dependency:get -Dtransitive=false -DgroupId=org.apache.seatunnel -Dversion=${version} -Ddest=${SEATUNNEL_HOME}/connectors -DartifactId="$line"
fi
done < ${SEATUNNEL_HOME}/config/plugin_config
Result of config/plugin_config Generated By Windows:
XXYYall connector : connector-paimon
; connector-paimon connector-paimon
install connector : 2.3.11 ; 2.3.11

Result of config/plugin_config Generated By Linux:
install connector : connector-paimonXXYY
install connector : connector-paimon ; connector-paimon
install connector : 2.3.11 ; 2.3.11

--
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] [Bug] [plugins] image: apache/seatunnel install-plugin.sh failed within docker container caused by absence of /opt/seatunnel/mvnw: not found [seatunnel]
Posted by "suntectec (via GitHub)" <gi...@apache.org>.
suntectec closed issue #9522: [Bug] [plugins] image: apache/seatunnel install-plugin.sh failed within docker container caused by absence of /opt/seatunnel/mvnw: not found
URL: https://github.com/apache/seatunnel/issues/9522
--
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] [Bug] [plugins] image: apache/seatunnel install-plugin.sh failed within docker container caused by absence of /opt/seatunnel/mvnw: not found [seatunnel]
Posted by "suntectec (via GitHub)" <gi...@apache.org>.
suntectec commented on issue #9522:
URL: https://github.com/apache/seatunnel/issues/9522#issuecomment-3031539749
If plugins connectors BUILD FAILURE, u may need to read this https://github.com/apache/seatunnel/issues/9521
--
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