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

[jira] [Assigned] (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 ]

Yang Wang reassigned FLINK-25762:
---------------------------------

    Assignee: Tamir Sagi

> 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
>         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)