You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Flink Jira Bot (Jira)" <ji...@apache.org> on 2022/03/01 10:39:00 UTC

[jira] [Updated] (FLINK-25762) Native k8s- User defined system properties get overriden when cluster is deployed

     [ https://issues.apache.org/jira/browse/FLINK-25762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Flink Jira Bot updated FLINK-25762:
-----------------------------------
    Labels: Flink flink-k8s kubernetes native-k8s native-kubernetes pull-request-available stale-assigned  (was: Flink flink-k8s kubernetes native-k8s native-kubernetes 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 issue is assigned but has not received an update in 30 days, so it has been labeled "stale-assigned".
If you are still working on the issue, please remove the label and add a comment updating the community on your progress.  If this issue is waiting on feedback, please consider this a reminder to the committer/reviewer. Flink is a very active project, and so we appreciate your patience.
If you are no longer working on the issue, please unassign yourself so someone else may work on it.


> Native k8s- User defined system properties get overriden when cluster is deployed 
> ----------------------------------------------------------------------------------
>
>                 Key: FLINK-25762
>                 URL: https://issues.apache.org/jira/browse/FLINK-25762
>             Project: Flink
>          Issue Type: Bug
>          Components: Deployment / Kubernetes
>    Affects Versions: 1.13.0, 1.14.0
>            Reporter: Tamir Sagi
>            Assignee: Tamir Sagi
>            Priority: Major
>              Labels: Flink, flink-k8s, kubernetes, native-k8s, native-kubernetes, pull-request-available, stale-assigned
>         Attachments: log.png, stacktrace.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Running Flink 1.14.2 in native k8s mode, User defined system properties get ignores. i.e,  -Dlog4j.configurationFile, it 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.
> Discussion
> https://lists.apache.org/thread/b24g1nd00q5pln5h9w2mh1s3ocxwb61b



--
This message was sent by Atlassian Jira
(v8.20.1#820001)