[
https://issues.apache.org/jira/browse/FLINK-34725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17828187#comment-17828187
]
Junrui Li edited comment on FLINK-34725 at 3/19/24 5:58 AM:
------------------------------------------------------------
Thanks [~lincoln.86xy] for reporting this issue.
This issue occurs because the `config-parser-utils.sh` script is attempting to
retrieve the Java Home setting specified by the user in `config.yaml` but fails
to find the file due to an empty parameter being passed (see the code
[[here]|https://github.com/apache/flink/blob/dd382894b4da5b2d153913c92b6679fbd877b18b/flink-dist/src/main/flink-bin/bin/config-parser-utils.sh#L28]).
This script is intended for use with flink-docker only, and primarily affects
the reading of the Java Home configuration specified by the user. As a result,
the system-wide JAVA_HOME setting is always used.
I will prepare a PR to address this issue
was (Author: JIRAUSER293716):
Thanks [~lincoln.86xy] for reporting this issue.
This issue occurs because the `config-parser-utils.sh` script is attempting to
retrieve the Java Home setting specified by the user in `config.yaml` but fails
to find the file due to an empty parameter being passed (see the code
[[here]|https://github.com/apache/flink/blob/dd382894b4da5b2d153913c92b6679fbd877b18b/flink-dist/src/main/flink-bin/bin/config-parser-utils.sh#L28]).
This script is intended for use with flink-docker only and primarily affects
the reading of the Java Home configuration specified by the user.
I will prepare a PR to address this issue
> Dockerfiles for release publishing has incorrect config.yaml path
> -----------------------------------------------------------------
>
> Key: FLINK-34725
> URL: https://issues.apache.org/jira/browse/FLINK-34725
> Project: Flink
> Issue Type: Bug
> Components: flink-docker
> Affects Versions: 1.19.0
> Reporter: lincoln lee
> Assignee: Junrui Li
> Priority: Major
> Fix For: 1.20.0, 1.19.1
>
>
> An issue found when do docker image publishing, unexpected error msg:
> {code:java}
> sed: can't read /config.yaml: No such file or directory{code}
>
> also found in flink-docker/master daily Publish SNAPSHOTs action:
> [https://github.com/apache/flink-docker/actions/runs/8210534289/job/22458150514#step:8:588]
> [https://github.com/apache/flink-docker/actions/runs/8210534289/job/22458150322#step:8:549]
>
> This related to changes by https://issues.apache.org/jira/browse/FLINK-34205
--
This message was sent by Atlassian Jira
(v8.20.10#820010)