Muhammad created FLINK-38785:
--------------------------------

             Summary: Quotes removal doesn't remove them properly
                 Key: FLINK-38785
                 URL: https://issues.apache.org/jira/browse/FLINK-38785
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Configuration
    Affects Versions: 1.20.3
            Reporter: Muhammad


When loading Flink configuration, the quotes aren't trimmed properly [in the 
script.|https://github.com/apache/flink/blob/01e3a6d78d58843d7e67d94bfcbcc45337677d74/flink-dist/src/main/flink-bin/bin/config.sh#L304-L307]
 Consider the following configuration is set in the initial Flink configuration 
file.
{code:java}
env.java.opts.taskmanager: "-XX:+UnlockExperimentalVMOptions -XX:+UseZGC" {code}
 

 

As [the 
config.sh|https://github.com/apache/flink/blob/01e3a6d78d58843d7e67d94bfcbcc45337677d74/flink-dist/src/main/flink-bin/bin/config.sh#L304-L307]
 strictly looks at the *^"* & *"$* regex for the removal of the quotes, this 
would result in only removal of ending quotes.
{code:java}
 "-XX:+UnlockExperimentalVMOptions -XX:+UseZGC{code}
 

This is also true for all, job_manager env configs as well.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to