-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Hotfix][Core][Flink] SeaTunnel flink engine support application mode on yarn #7762
Conversation
Please try again ci |
a1e6549
to
85c66f8
Compare
85c66f8
to
64dcf32
Compare
root@hadoop-master1:/mnt/apache-seatunnel-2.3.8-SNAPSHOT# ./bin/start-seatunnel-flink-15-connector-v2.sh --config ./config/mysql/mysql2hive2_partitioned.conf --target yarn-application -e run-application --name st-test The program finished with the following exception: java.lang.IllegalArgumentException: Directories or non-archive files are included. |
Check if runtime.tar.gz is generated normally in the ST directory |
if [ ! -f "${APP_DIR}/runtime.tar.gz" ];then
directories=("connectors" "lib" "plugins")
existing_dirs=()
for dir in "${directories[@]}"; do
if [ -d "$dir" ]; then
existing_dirs+=("$dir")
fi
done
if [ ${#existing_dirs[@]} -eq 0 ]; then
echo "[connectors,lib,plugins] not existed, skip generate runtime.tar.gz"
else
tar -zcvf runtime.tar.gz "${existing_dirs[@]}"
fi
fi |
2024-10-10 10:27:26,914 ERROR org.apache.seatunnel.core.starter.SeaTunnel [] - Fatal Error, 2024-10-10 10:27:26,914 ERROR org.apache.seatunnel.core.starter.SeaTunnel [] - Please submit bug report in https://github.com/apache/seatunnel/issues 2024-10-10 10:27:26,914 ERROR org.apache.seatunnel.core.starter.SeaTunnel [] - Reason:ErrorCode:[COMMON-22], ErrorDescription:[SeaTunnel read file 'config/mysql/mysql2hive2_partitioned.conf' failed, because it not existed.] 2024-10-10 10:27:26,914 ERROR org.apache.seatunnel.core.starter.SeaTunnel [] - Exception StackTrace:org.apache.seatunnel.common.exception.SeaTunnelRuntimeException: ErrorCode:[COMMON-22], ErrorDescription:[SeaTunnel read file 'config/mysql/mysql2hive2_partitioned.conf' failed, because it not existed.] 2024-10-10 10:27:26,914 ERROR org.apache.seatunnel.core.starter.SeaTunnel [] -
|
Did you use my branch again to generate full volume packages? |
|
Thanks for the reminder. |
waiting for your reply! |
Looking forward to your reply |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update the doc to share the way of how to submit job to yarn?
Flink's document submission process is not working well. I plan to rewrite it and complete it in the next PR. Do you think it's okay? |
Sure, we should complete it before next release. Add a test case for yarn would be better. |
...ink-starter/seatunnel-flink-13-starter/src/main/bin/start-seatunnel-flink-13-connector-v2.sh
Show resolved
Hide resolved
|
In my environment, the dev branch + patch is now passing the tests. Thanks to the support from @TyrantLucifer . |
Purpose of this pull request
SeaTunnel flink engine support application mode on yarn
Does this PR introduce any user-facing change?
No
How was this patch tested?
Verify whether the Flink on Yarn application mode can be submitted normally
Check list
New License Guide
release-note
.