You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/01/22 14:52:00 UTC
[jira] [Updated] (FLINK-25762) Native k8s- User defined system properties get overriden when cluster is created
[ https://issues.apache.org/jira/browse/FLINK-25762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-25762:
-----------------------------------
Labels: Flink flink-k8s native-kuber pull-request-available (was: Flink flink-k8s native-kuber)
> Native k8s- User defined system properties get overriden when cluster is created
> ---------------------------------------------------------------------------------
>
> Key: FLINK-25762
> URL: https://issues.apache.org/jira/browse/FLINK-25762
> Project: Flink
> Issue Type: Bug
> Affects Versions: 1.13.0, 1.14.0
> Reporter: Tamir Sagi
> Priority: Major
> Labels: Flink, flink-k8s, native-kuber, pull-request-available
> Fix For: 1.14.4
>
> Attachments: log.png, stacktrace.png
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Running Flink 1.14.2 in native k8s mode, it seems like it ignores system property -Dlog4j.configurationFile and falls back to /opt/flink/conf/log4j-console.properties.
> That happens due to the order of exec command provided in flink-console.sh file.
> https://github.com/apache/flink/blob/release-1.14.2/flink-dist/src/main/flink-bin/bin/flink-console.sh#L114
> exec "$JAVA_RUN" $JVM_ARGS ${FLINK_ENV_JAVA_OPTS} "${log_setting[@]}" -classpath "`manglePathList "$FLINK_TM_CLASSPATH:$INTERNAL_HADOOP_CLASSPATHS"`" ${CLASS_TO_RUN} "${ARGS[@]}"
> Apart from logging, All user defined properties(FLINK_ENV_JAVA_OPTS) might get overriden by other args.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)