This is an automated email from the ASF dual-hosted git repository.

mapohl pushed a commit to branch release-1.18
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.18 by this push:
     new c4093b80643 [FLINK-32909][dist]fix the bug of Pass arguments to 
jobmanager.sh failed (#23278)
c4093b80643 is described below

commit c4093b80643a641c16a943486ce21a88e6f91cd0
Author: wuqqq <wuqq...@gmail.com>
AuthorDate: Fri Sep 1 17:17:27 2023 +0800

    [FLINK-32909][dist]fix the bug of Pass arguments to jobmanager.sh failed 
(#23278)
---
 flink-dist/src/main/flink-bin/bin/jobmanager.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-dist/src/main/flink-bin/bin/jobmanager.sh 
b/flink-dist/src/main/flink-bin/bin/jobmanager.sh
index e087462649d..bc08a1956c5 100755
--- a/flink-dist/src/main/flink-bin/bin/jobmanager.sh
+++ b/flink-dist/src/main/flink-bin/bin/jobmanager.sh
@@ -51,7 +51,7 @@ ENTRYPOINT=standalonesession
 if [[ $STARTSTOP == "start" ]] || [[ $STARTSTOP == "start-foreground" ]]; then
     # Add JobManager-specific JVM options
     export FLINK_ENV_JAVA_OPTS="${FLINK_ENV_JAVA_OPTS} 
${FLINK_ENV_JAVA_OPTS_JM}"
-    parseJmArgsAndExportLogs "${ARGS[@]}"
+    parseJmArgsAndExportLogs "${args[@]}"
 
     args=("--configDir" "${FLINK_CONF_DIR}" "--executionMode" "cluster" 
"${args[@]}")
     if [ ! -z $HOST ]; then

Reply via email to