[
https://issues.apache.org/jira/browse/FLINK-25122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-25122:
-----------------------------------
Labels: pull-request-available stale-major (was: pull-request-available)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issues has been marked as
Major but is unassigned and neither itself nor its Sub-Tasks have been updated
for 60 days. I have gone ahead and added a "stale-major" to the issue". If this
ticket is a Major, please either assign yourself or give an update. Afterwards,
please remove the label or in 7 days the issue will be deprioritized.
> flink-dist/src/main/flink-bin/bin/flink does not expand variable for
> FLINK_ENV_JAVA_OPTS
> ----------------------------------------------------------------------------------------
>
> Key: FLINK-25122
> URL: https://issues.apache.org/jira/browse/FLINK-25122
> Project: Flink
> Issue Type: Bug
> Components: Command Line Client
> Affects Versions: 1.14.0, 1.12.5
> Reporter: L Z
> Priority: Major
> Labels: pull-request-available, stale-major
>
> According to the suggestion on
> [https://nightlies.apache.org/flink/flink-docs-master/docs/ops/debugging/application_profiling/]
> or
> [https://nightlies.apache.org/flink/flink-docs-release-1.12/ops/debugging/application_profiling.html]
>
> after adding
> {code:yaml}
> env.java.opts: "-Xloggc:${FLINK_LOG_PREFIX}.gc.log <...omitted chars...>"
> {code}
> to flink-conf.yaml.
> flink CLI `./bin/flink run <omitted opts>` fails with
> {code:bash}
> Invalid file name for use with -Xloggc: Filename can only contain the
> characters [A-Z][a-z][0-9]-_.%[p|t] but it has been
> ${FLINK_LOG_PREFIX}.gc.log Note %p or %t can only be used once Error: Could
> not create the Java Virtual Machine. Error: A fatal exception has occurred.
> Program will exit.{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)