suntectec commented on issue #9521:
URL: https://github.com/apache/seatunnel/issues/9521#issuecomment-3031531961
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. bin/install-plugin.sh:
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]