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

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


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

commit 37b6559fedac5078b2ea5c29ffc34e36b2b029bb
Author: Alex Wu <wuqq...@gmail.com>
AuthorDate: Wed Aug 23 23:28:57 2023 +0800

    [FLINK-32909][dist]fix the bug of Pass arguments to jobmanager.sh failed
---
 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