Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.13.0, 1.14.0, 1.15.0
-
None
Description
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.
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
Attachments
Attachments
Issue Links
- links to